The requirement is to extend the Campaign page with a custom picklist field that shows data (select options) stored in a 3rd party system (accessible trough a rest endpoint).
I know there is the possibility to include a custom visualforce page in the page layout. But there are some limitations like the inlined visualforce page can't be used in the edit mode of the standard page. This is a bit cumbersome and will also end up in an unfamiliar editing experience for the user.
What is the best/natural way to accomplish this?
Here are some (maybe strange) thoughts/hacks that i can image to get this working:
- Only override the getter method for the picklist options value from the standard controller (combination of controller extension + apex:detail page)?
- Add some custom java script that override the options in html?
This is the first time i use visualforce, so any recommendations and pointers to right direction are really welcome.