Scott Zak 3 Posted April 14, 2021 Share Posted April 14, 2021 With WebFocus 8207, Im running into a problem where parameters Im selecting using portal controls are not getting passed to the underlying procedure when the submit button is clicked. The underlying code runs with default parameters. The problems were introduced when I used the portal designer to duplicate a working page in my development environment to test some changes. After duplicating the page, both the source and the copy fail to pass selected parameters. Deleting the copy didnt fix the issue on the source. When I compare the control configurations to a working version in production they look identical to me. I havent worked very much with the portal features. Can anyone give me some hints on where I should be looking Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted April 15, 2021 Share Posted April 15, 2021 There is an Info switch that shows what parameters are to be passed to what procedures while in the Page designer. If the parameter is not in the list for a procedure, then it may be advisable to re-add the fex. Link to comment Share on other sites More sharing options...
Brian Baird Posted April 15, 2021 Share Posted April 15, 2021 Hi Scott, this sounds similar to an issue I faced. Can you confirm that if you click the refresh button on the portal after the portal controls have loaded, does the portal content update to display the correct filters You could place a fex file on the poral page with the attached code. This will give you a list of parameter values. Link to comment Share on other sites More sharing options...
Scott Zak 3 Posted April 15, 2021 Author Share Posted April 15, 2021 Thanks for responding. Im not using the newest tool. Im looking at Portal Designer and Page Designer from the WFC in the browser. This icon is not showing there. Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted April 15, 2021 Share Posted April 15, 2021 May help to take a screenshot and upload it. Also do you know what version of 8207 you have Link to comment Share on other sites More sharing options...
Scott Zak 3 Posted April 15, 2021 Author Share Posted April 15, 2021 Hi Brian, Thanks for responding. Portal is loading correct values in controls. These values are loaded from fexes. Once the portals are run, the control selections are ignored. I used your snippet to print out paramaters profile parameters were available, but selections from the page were not. Just disappeared/were not passed. Im editing the HTML page in AppStudio using the htmlcanvas tool. Link to comment Share on other sites More sharing options...
Scott Zak 3 Posted April 15, 2021 Author Share Posted April 15, 2021 That didnt take long. So once it was clear that parameters werent being passed, I checked into the parameter settings and found that they were no longer being applied to the procedures at runtime all the checkboxes had become unchecked. This must have occurred at some point while cloning the portal pages. I think Im on my way. Thank you Brian and Waz for helping me kick loose the rocks. Scott Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now