Send with DocuSign button on custom object in Salesforce Lightning

I have a java script custom button in Salesforce Classic called “Send with Salesforce”. The code is:

{!REQUIRESCRIPT(“/apex/dsfs__DocuSign_JavaScript”)}
DocuSign_CreateEnvelope();

The button is on the media campaign object.

How can I edit this button to use URLFOR so that it will work in Lightning?

Hi Melissa, we were wondering if you are trying to use Skuid for this? You didn’t mention any Skuid specific settings, page type (V1/V2), or Skuid version number. Please provide more information :slight_smile: thanks!