I'm gathering requirements for "Custom Content Editor Screens" and am familiar with at least two ways to extend component form fields.
Custom URLs. To extend the component view we can use Custom URLs along with
/WebUI/Core/Controls/Popup/PopupInit.js
in the pop-up to get and set fields into the component.Field Builder. There are a few examples on the field builder directly in the component view :
- Edit value from pop-up on StackOverflow
- A validate fields example
- Readonly and hidden fields post
Using either of the above approaches, authors would set a value in a pop-up, then a save or update button would update the value into a component field. I see how this would also work for "non-standard" SDL Tridion field controls such as a slider (e.g. jQuery UI example slider).
But do we have an (ideally supported) approach on how to add/change CME field controls in the component form view (inline), without needing a pop-up?
Update: Examples
- Instead of just a number box, display the box and a "slider" next to it inline. Author drags the slider and the number box updates in real-time.
- Show an image cropping or X/Y selection interface within the form view. Author clicks in a box and fields for X and Y get updated.
- Display nested keywords as multiple drop-downs ("a dynamic selection" of sorts)