Custom Polymorphic Lookup Field Functionality

  • 3
  • Idea
  • Updated 2 years ago
  • (Edited)
A way to replicate standard polymorphic lookup field functionality as it appears to the user.



Please visit https://github.com/mBlazonry/mBlazonrySupport  for installation instructions, 
updated instructions, new versions of this and other snippets! :D
Photo of mB Remi Gelinas

mB Remi Gelinas

  • 374 Points 250 badge 2x thumb

Posted 2 years ago

  • 3
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Thanks for sharing your work with the community, Remi!
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,802 Points 2k badge 2x thumb
Very. very useful. Have a use-case for this in mind already! ;) Thanks.
Photo of mB Remi Gelinas

mB Remi Gelinas

  • 374 Points 250 badge 2x thumb
Note: This method can only be used on new records at this time, use separate template fields to display lookup values :c It can be used for existing records, but it must be used in a popup and the dummy field updated with its value beforehand. The issue with this is that it registers a change to the model that the user has not made.