You need to sign in to do that
Don't have an account?
cmort
Access to HTTP Request in s-control object
I have a number of custom parameters which I need to get passed into an s-control where I will operate on them in javascript. This must be done via a form POST. Is there any means to get a handle on the http request parameters? Something like:
var parameters = '{!HTTP_Reqeuest_Parameters}';
Where parameters would be a map of the form params?
Thanks for any tips on this ( or any other means of getting at data that only the server has access to )
- cmort
var parameters = '{!HTTP_Reqeuest_Parameters}';
Where parameters would be a map of the form params?
Thanks for any tips on this ( or any other means of getting at data that only the server has access to )
- cmort
Perhaps you could persist the data in an object/field from the first page and retrieve in the second via the AJAX toolkit?
What I have noticed is that if the scontrol is invoked as a web tab, then any parameters that you put on the url are removed. This is not the case when the scontrol is invoked as a web link. Why? Don't know.
Is it possible to pass a user-defined parameter user_specified_type thru custom links to the same scontrol? We can have several custom links, if needed, one for each specific type.
Thanks
Hitesh
It appears that the scontrol URL is re-contstructed when launched and my paramater was not included.
if anyone has a way to do this, it would be handy.
possible workaround:
you may want to consider putting this (type) into a custom field on the user object, then you can easily access the value inside your scontrol using a {!User_mycustom} merge field.
Hitesh
in your scontrol,start by popup a picklist , then proceed after user has selected.
sorry i can't think of another way just now.