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
smitha vikramsmitha vikram 

Update rich text area contact from opportunity

I havea requirement where  I have to update a contacts custom rich text area when a picklist value changes in Opportunity.
The trick is when the picklist changes on Opp, there are three values from opportunity for ex A,B & C should be concatenated and updated as hyperlink in the custom field on contact.

The hyperlink should redirect to the orignal Opp record.
Also the rich text field should become null once field A on contact is not equal to null.

Also the opp has look up to contact. So for a new Opp should be its own line, whilst an update should over write the existing link.

ANY HELP is much appreciated.
Daniel GrabowskiDaniel Grabowski
This could be done pretty easily with flow.  Also, If the only use for this rich text field is to store a link, i'd recommend using the URL field type.