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
Louis Tran 16Louis Tran 16 

Validation Rule by Stage for Docusign Custom URL button

Hi there, How can I set the validation rule by Opportunity to use DocuSign URL Custom Button? I'm in the Lighting version. Here is URL code:
IF ({!Opportunity.StageName} ="Demo",
{!URLFOR(IF($Site.prefix == '/s','/apex/dfsle__sending', $Site.Prefix +'/apex/dfsle__sending'), null, [sId = Opportunity.Id, sendingExperience = 'null', isEmbedded = false, templateId = 'a2D4Q00000ZpiHQUAZ', recordId = Opportunity.Id, title = 'Send GRP Reservation Confirmation'])}
, "Can not use this")
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Louis,

Can you confirm what is the issue you are facing by using this? Are you getting any error can you highlight it so it would be easy to identify the issue and answer.

Thanks,
 
Louis Tran 16Louis Tran 16
Hi Sai, Correct I got the issue when running that