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
ADughmanADughman 

Polymorphic foreign key with custom fields

Is there a way to create a custom field for a polymorphic key?  Is there a way to create a lookup field with more than one object type to it?

MrTheTylerMrTheTyler

Hello,

 

  Not that I've seen using standard functionality.  You could accomplish this using a visualforce page and apex code which works on a text field that holds the string version of record IDs.

 

 

Kind Regards,

 

Tyler Hudson
Contact Us - We Can Help!

Salesforce Superheroes
------------------------------
help@salesforcesuperheroes.com
www.salesforcesuperheroes.com
1-888-407-9578 x123