April 10, 2015, 04:23 AM
Tony Aquote:
IbComposer_
Did you not look in the documentation (
here) and then try IbComposer_populateDynamicCtrl?
T
April 10, 2015, 09:41 AM
GavinLTexasStingray, you don't want to reload the whole page, but what about reloading the report itself. I'm assuming you have a button or something to click refresh? On click, use the following JavaScript.
var graphDisplay = document.getElementById ( "graphObjectIdHere" );
graphDisplay.src = '/ibi_apps/views.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS%253A%252FWFC%252FRepository%252FMyFolder&BIP_item=MyReportToRefresh.fex';
This will reload the that report even if it's not attached to the button.
April 13, 2015, 09:29 AM
BarrySHi TexasStingray
Have a hidden control and chain it to the two controls. In the properties and Settings for the chained properties (Setting in App Studio) set the action to "populate, show" and type in _FOC_NULL for the Selected Values...
Set the Selected Value to _FOC_NULL...
Then anytime you want to reset the 2nd and 3rd control just use the following JavaScript:
IbComposer_setCurrentSelection('hidden_control_name', '_FOC_NULL', true);
Hope I did not leave anything out but that should work. If it does not work then open a case and ask for Barry..
Thanks Barry