How do I style Super Clone Pro for Lightning Experience (LEX)
February 7, 2018

How do I add a Super Clone button for a community or partner portal site?

The custom button can be created with the global variable $Site.Prefix. This will return the path of the current community.

/* Super Clone */
{!URLFOR($Site.Prefix + '/apex/dh_superclone__superclone', null, [rid=MyObject__c.Id, cfg="MyConfig")}

/* Super Clone Pro */
{!URLFOR($Site.Prefix + '/apex/lcrm_scp__scpclone', null, [rid=MyObject__c.Id, cfg="MyConfig")}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
Read more