We have a visualforce page that is used to create records based on a custom object. (Eventually we want to rewrite this in skuid, but until then…)
In standard salesforce, the New button is overridden by the visualforce page.
I’m trying to create a link from a Skuid account detail page to create a new record for this object.
The link as it appears when called from standard Salesforce (parameter variables in bold):
/apex/techDataReq?CF00Nj000000981G8= TEST+ACCOUNT &CF00Nj000000981G8_lkid= 001j000000WFP8W &scontrolCaching=1&retURL=%2F 001j000000WFP8W &sfdc.override=1
Here’s the URL I’ve built using merge fields in Skuid:
/apex/techDataReq?CF00Nj000000981G8={{#urlEncode}} {{Account_Name__c}} {{/urlEncode}}&CF00Nj000000981G8_lkid= {{Account__c}} &scontrolCaching=1&retURL=%2F {{Account__c}} &sfdc.override=1
However, when I click the link from the Skuid page, none of the merge fields show up in the URL:
/apex/techDataReq?CF00Nj000000981G8=&CF00Nj000000981G8_lkid=&scontrolCaching=1&retURL=%2F&sfdc.override=1
Any help is much appreciated.