function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC_DeveloperSFDC_Developer 

How to pass value to a field which is not added to page layout using URL hack

I want to pass some value to a field that is not added to standard pagelayout using URL

As of now if that field is added to page layout then only I'm able to pass it else I'm not.

Thanks
William TranWilliam Tran
You can pass any field in the URL, like ?anyfield = anyvalue.

What you do with that is depending on the page.

thx
 
SFDC_DeveloperSFDC_Developer
if that field is not present in page then I can not assign value to that field.
Arun Deepan LJArun Deepan LJ
Hi, 

you can do a trick. Add that filed in the page and make rendered attribute to "False"

<apex:inputField value="{!someField}" rendered= "false" />

Hope this will solve your issue