You need to sign in to do that
Don't have an account?
Egui
URLFOR formula to prefill record fields goes to recordtype selection instead of record creation
Hi,
I've created an UrlFor formula called by a button to prefill some field when creating a new record :
On one org I have the following formula :
{!URLFOR($Action.ALS_Ligne_de_facture__c.New, null, [ "p3" = "012Q00000008vJ1", "retURL" = Opportunity.Id, "saveURL" = Opportunity.Id, "save"=1 ], true)}
Which is leading directly to the record creation screen with the recordtype preselected :
And on another org, I have the following formula :
{!URLFOR($Action.DA_Depense__c.New, null, [ "p3" = "012W00000004QKj", "retURL" = DA__c.Id, "saveURL" = DA__c.Id, "save" = 1 ], true)}
Which is exctaly the same to me (except for the objects) and is leading to the recordtype selection screen :
Any idea why the second formula does not have the same behavior than the first one ?
They both are on sandbox org with summer '13.
Thanks for the help.
Do you have the default record type for the object set in the first org but not the second org?
Yes they are on both org for the user profile I'm using.