Hi Everyone, I have a custom field on the Item rec...
# general
v
Hi Everyone, I have a custom field on the Item record that is set to Inline HTML and is read-only (so I am not storing any value in it). I want to display a value in this field dynamically — this value will come from another record after the Item record is loaded. My question is: 👉 Is there any way to show this value in the Inline HTML field in View Mode of the Item record using scripting (User Event, Client Script, or any other approach)? I’ve tried to find a way, but so far I haven’t been able to make the field display a dynamic value when the Item record is simply opened in View Mode. Any guidance or suggestions would be really helpful.
c
You can’t update Inline HTML in pure View Mode with a UE, as it’s rendered before the script runs. Easiest workaround: use a Client Script on pageInit to grab the value via lookup and inject it into the field’s HTML element with DOM manipulation.