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

Rich text field problem

Hi Friends, I have standard rich text field on the custom object and in this field we have text as well as some hyperlink. When customer clicks on the hyperlink it opens another window.I need to pass parameters to this window in the form of query string.However,I am not able to do that. Can somebody help or show how this can be accomplished? Any pointers in this direction will be great. Thanks, Trick


You can achieve this using VFP, APEX coding, for this.

Create VFP with below code

<apex:page action="{!URLFOR('/a01900000040Bqv')}"/>

 here Replace the ID and Add parameters as you required.


in the Rich Text Filed Give like this(By insert link option)

 Here "redirectvfp" is the VFP name you are created.


If this is not sufficient for your requirementt then in that Page: Action method (which will be called while the page loading itself), call a controller method.
In that controller method construct the URL as you required and Redirect the controller to that newly constructed URL.
It will take few seconds more time to load compared to direct link but defiantly work’s for you.