Passing Parameters through the URL

theiser
Tera Expert

I have successfully been able to create a UI Action that creates a URL with specific parameters that I pass to a catalog item and then will be rerouted to the item. The catalog item opens with no issues and is then populated with the specific parameters. I am using a   catalog client script — onLoad in order to read and parse the URL and to set fields in the form.

 

My issue. This only works in the backend of the system. The front end, where a user would be redirected, does not populate the form. Any clues as to why.

12 REPLIES 12

When you send the variables over URL do you have issues if the text is too long? I am sending from the description in the call table to a multi line text when a call is moved to a request. If the description is over about 321 characters no variables get passed...


I used this code to resolve my issue.



In the business rule


gs.getSession().putClientData('call_description', current.description);



In the client script


g_form.setValue('description', g_user.getClientData('call_description'));



Removed the description from my url and kept the rest.


Glad to hear you were able to resolve it. Thanks for providing the solution. I will definitely keep that in mind if or when I run into a character limit as you did.