+ Start a Discussion

Is it possible to pass a value to a field that is not on a page layout?

Hi all,


I wrote an s-control that makes a GET call to an external server, gets the response back, parses it and it stores parts of the response into the DB. Once I parse the response from the server, I populate a custom field with the parsed response. Currently, I do this by passing the field value via query string but the field must be present on the layout for this to work. Is there a way to hide the field from the layout and still be able to pass the field value via query string client-side?


Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
I know it's not ideal, but I decided to pre-create the record first and then open that record in edit mode. This way, the fields will get populated and we don't have to add them to the page layout.