Speaking of suitelets, is it possible to add a par...
# suitescript
v
Speaking of suitelets, is it possible to add a parameter in the URL of a suitelet so that when I click submit the URL of the post of the suitelet has a parameter that can be used?
s
Hi Victor, yes Suitelets generally support URL querystring parameters.
v
Hey Shawn, so I guess my confusion is on adding those paramters to the submit portion. For example if the suitlete starts out with a url of
<http://mysuite.com/cool|mysuite.com/cool>
then on submit the new URL would be
<http://mysuite.com/cool?param1=T|mysuite.com/cool?param1=T>
s
If you're doing a "UI" suitelet (which I rarely do) then yes try adding that to the querystring to see if it comes through as params. If not, you can use a hidden field on your form to achieve a similar result
v
ok, I see. Thanks Shawn!
👍 1