As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
Hi, I have a problem with HTML that is opened from the save parameter reports that have too long URL.
At first, I thought this problem was caused by too many number of parameters but it's not.
The original HTML is 1setup_allocation1.htm that contains many parameters. I tested it by selecting and inputiing parameters and then used the 'save selection' feature to save these set of selected parameters.
For the save selection report name 320.fex, everything is ok. We can open it and found the URL is
But when we just changed CREDIT_LIMIT_T from 3333333 to 33333333 and then saved selection again as 321.fex. When we tried to open it, we got the blank page with 'Error on page' at the buttom left of browser. The URL of this case is only
The URL length should be 2084 characters with each parameter value but it have only as above.
I also tried to select the more values for multiselect listbox it also generated the same error.
For testing you can create simple procedure like
-TYPE A is &A -TYPE B is &B -TYPE C is &C -TYPE D is &D -TYPE E is &E.(OR('A')).
and html,with save selection button to run it on MRE. Then give these parameters with the very long values or select many values for the multiselection and save selection. When open these save selection report it should generate URL that is longer than 2083 but it error as I told you
Who can suggest what I can do for solving it? SurachetThis message has been edited. Last edited by: Kerry,
For FrankDutch your question about &CARD_TYPE=0&CARD_TYPE=3562&CARD_TYPE=4079&CARD_TYPE=4090 &CARD-TYPE=4629&CARD_TYPE=4924&CARD_TYPE=5105&CARD_TYPE=5178 &CARD_TYPE=5221&CARD_TYPE=5256&CARD_TYPE=5275&CARD_TYPE=8577
those are the parameter values for multiselection list box.
Shortening parameter names is the way that I think to do but if URL is still limited on 2083 for IE, it can touch this limitation in some case because this HTML page contains many multiselect listbox that user can select mamy values for them.
You did not tell us how this html page is being created. Usually an html page with data on it that has to be sent to the server has one or more forms on it to collect and group the data and send it to the server. The default way of doing this is by using the method GET for the form. This will produce a URL that contains all selected data that is in the form. The other method is POST, which will collect teh data and send it over to the server in a message. The url will in that case only contain the part before the ?. This way of dealing with data also has a limit on size but that limit is very much higher than the url length. I have not touched that limit yet. It may be wise to investigate if you can use this POST method in your environment.
Hope this helps.
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Originally posted by Francis Mariani: But will the Save Parameters functionality work with a form with method post?
I would expect the layer that looks for those special input variables and triggers the Saved Parameters process to fire up only after the variables passed (whether via Get or Post) are parsed and copied by the client -- rather than operating directly on the URL string. But it's anyone's guess, until you try it out.
I just pointed out how to try GamP's suggestion. Ball is in Surachet's court.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005