function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OneNewbieOneNewbie 

Calling a custom object page layout from an scontrol

Not sure if this is possible but if it is please let me know.
 
I created a few custom objects with page layouts. I will like to instead of using a custom tab per custom object page layout (due to the 25 custom tab limitation), to write an scontrol to call each page layout depending on what the user needs. User will see a selection (page 1, page 2, page 3...) and then select. I can do this with scontrols by calling another scontrol from an scontrol. But how can I call a custom object page from a scontrol that is not attached to a custom tab?
 
Thanks in advance.
 
TCAdminTCAdmin

OneNewbie,

 

You can use a custom link URL that will open a new edit page of a custom object.  You can create it by using /<object id>/e?  If you would like to open up a new case then you can use a link as /500/e?  If you have a record type and want them to go to a specific record type then you would have to add RecordType=<record type id> behind the ? in the URL.