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
MasterdouglasMasterdouglas 

Field Formula

I am trying to add a Custom Field of URL type.  Using the Formula editor, I am building a URL.  I can't seem to figure out how to access a query string parameter.  In APEX, this will work: {$CurrentPage.parameters.exampleParm}

 

Is there an equivalent for this using the Formula Editor for a field? 

 

I added a column to the Search results native page and this is where this field will go.

 

Any help would be greatly appreciated.

 

-Doug

 

Best Answer chosen by Admin (Salesforce Developers) 
jhurstjhurst

Doug,

 

A formula can only access field on the record the formula is on.  So if you were creating the field on an Account, you can access any of the Account fields, but you cannot access data not on the record (like the URL of the browser).  

 

Hope this helps

Jay