Jump to content

Recommended Posts

Posted

We have a lot of Collaborative Portal pages and in a banner, a single filter created with HTML Composer in AppStudio.

Using 9.2 - I'm trying to replace the filter component with one created in Designer. Trying to get a submit button in Designer that can refresh portal pages and pass the parameters.

I've created button with an Interaction, added a JavaScript function refreshReports()

Then in the JavaScript tab I've added some script, but I may be missing something.

image.png.fc6299d33e98e0eb165f52b6d76c1093.png

function refreshReports(){ var name = this.window.name; parent.BipIframeInterface.setAllAmpersValues(name, IbComposer_getAllAmpersValues()); parent.BipIframeInterface.refresh(parent.BipIframeInterface.REFRESH_ALL_BUT_SELF , name);}
Posted

At some point HTML Composer got the built-in feature to send filter parameters to all pages of a Collaborative Portal by just checking a box. The JavaScript code you are trying to use looks like what was done before that built-in feature was implemented. I don't know that if it would be expected to work in Designer. In case it might work, did you verify that the code in your refreshReports() actually gets run by putting an alert() in it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...