Focal Point
SOLVED: IbComposer_setGlobalDefaultVariableValue

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8317099486

December 21, 2016, 09:34 PM
BM
SOLVED: IbComposer_setGlobalDefaultVariableValue
HI,
Has anyone used the option "IbComposer_setGlobalDefaultVariableValue".
I see it as one of the selection under Javascript tab in HTML composer.
Bu I cannot seem to find any usage documentation.

Thanks

This message has been edited. Last edited by: BM,


WebFOCUS 8202M
December 22, 2016, 07:55 AM
Squatch
I can't find anything, either... my guess would be something like:

IbComposer_setGlobalDefaultVariableValue('global_variable_name', 'value');



App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
December 28, 2016, 02:47 PM
<Emily McAllister>
Hello,

I did some research on this on my end, and the only information I could find was internal. It looks like this function was initially created to solve a specific issue one customer was having with WebQuery. Their reports were prompting for missing variables even when these variables were not needed.

In this case, this is how it was used:

 IbComposer_setGlobalDefaultVariableValue(" ");


So it looks like there's only one variable input which effects the default value of form entries.

Since this was made for a specific customer, that's probably why it slipped past the documentation team. I've let them know about it and hopefully it will be added to the next update.

Thanks for pointing this out!

Emily McAllister
Focal Point Moderator
January 04, 2017, 09:27 AM
BM
Smiler


WebFOCUS 8202M