I am implementing a redirect action from a table component that will take the user to the recordtype selection page in order to create a new object with standard SFDC UI. I have constructed the below Url and it works fine. Question: Is there any mergefield syntax that I can use to avoid hardcoding the SObject Id in the Url, otherwise this adds a cumbersome manual step during migration to replace the Id based on the target org. (Note, this is not an Id of a given record, but an Id of the SObject itself) /setup/ui/recordtypeselect.jsp?ent=01IG0000001s8EL&retURL=%2F{{Model.KeyPrefix}}%2Fo &save_new_url=%2F{{Model.KeyPrefix}}%2Fe%3FretURL=%2F{{Model.KeyPrefix}}%2Fo Decoded Url: /setup/ui/recordtypeselect.jsp?ent=01IG0000001s8EL&retURL=/{{Model.KeyPrefix}}/o &save_new_url=/{{Model.KeyPrefix}}/e?retURL=/{{Model.KeyPrefix}}/o Thanks in advance. 
Question
Mergefield syntax to dynamically populate SObject Id (recordtype selection page redirect)
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.