You need to sign in to do that
Don't have an account?
Nhormand FF Fernando
Custom button not working in Communities
Hi.
I have this custom button that works fine in regular UI but not in communities. How do I make this work in communities.
{!URLFOR( $Action.FAE_Account_Allocation__c.New , null, [saveURL=FAE_Tracker_Entry__c.Id, retURL=FAE_Tracker_Entry__c.Id, CF00Nc0000001INF4_lkid=FAE_Tracker_Entry__c.Id , CF00Nc0000001INF4=FAE_Tracker_Entry__c.Name])}
Appreciate the help.
I have this custom button that works fine in regular UI but not in communities. How do I make this work in communities.
{!URLFOR( $Action.FAE_Account_Allocation__c.New , null, [saveURL=FAE_Tracker_Entry__c.Id, retURL=FAE_Tracker_Entry__c.Id, CF00Nc0000001INF4_lkid=FAE_Tracker_Entry__c.Id , CF00Nc0000001INF4=FAE_Tracker_Entry__c.Name])}
Appreciate the help.
Regular SF: https://naX.salesforce.com/000000000000000
Communities: https://naX.salesforce.com/communityname/000000000000000
When you bring links (or Apex pagereferences) into the world, the normal relative ('\whatever') URL approach will not work in Communities. You need to use the {!Site.Prefix} VF variable to get the /communityname to pop into the VF URL. The same {!Site.Prefix} variable works in "normal" Salesforce as it comes back null and doesn't add anything to the URL.
Can you please give some example URL for community.
I have used {!Site.Prefix} into my URL but still is not working. So please see the below URL is correct or not.
if not correct then Please suggest.
{!Site.Prefix}/communityname/apex/Address?accId={!Account.Id }&retURL=%2F{!Account.Id}
Can you please give some example URL for community.
I have used {!Site.Prefix} into my URL but still is not working. So please see the below URL is correct or not.
if not correct then Please suggest.
{!Site.Prefix}/communityname/apex/Address?accId={!Account.Id }&retURL=%2F{!Account.Id}