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
Ben Merton 17Ben Merton 17 

Custom button to open Child record type related list using NAME not ID

I refer to this question where I have asked a question at the end but think it's best to post separately.

https://developer.salesforce.com/forums/?id=906F00000008jRMIAY

I am creating an app to be used in a managed package, so I won't be able to use the record type id to control the creation of a custom related list button that forces the creation of a specific record type from a related list.

Is there any way to do this by matching the record type text NAME with the child record type NAME?  If the same record type names are used in the parent and the child, can one refer to the parent to drive opening the same child record type?