escript - I want to refresh a view in siebel on a button click -
i using siebel v 8.0.
i refresh view when button in applet clicked.
when button clicked, need code in browser script can refresh view.
i have tried
1. this.buscomp().invokemethod("refreshrecord"); 2. this.buscomp().invokemethod("refreshbuscomp"); 3. theapplication().invokemethod("refreshbuscomp"); 4. theapplication().getservice("fins teller ui navigation").invokemethod ("refreshcurrentapplet", theapplication(). newpropertyset(), theapplication().newpropertyset());
but none of them worked. need entire view refreshed instead of current applet.please help. .
while using bs:fins teller ui navigation, try passing parameter "refresh all" true.
var svcui = theapplication().getservice("fins teller ui navigation"); var psin = theapplication().newpropertyset(); var psout = theapplication().newpropertyset(); psin.setproperty("refresh all","y"); svcui.invokemethod("refreshcurrentapplet",psin,psout);
if still not work you, can try javascript refresh view, assuming app in high interactivity. use window.location.reload() in javascript refresh entire view.
Comments
Post a Comment