Next experience/UI builder scripting docs

andresanche
Giga Guru

I am using UI builder where I put an Iframe in a new tab for my case record view in the CSM workspace. That part works. My goal is to auto populate the form that will pop up in the iframe using values from the case record. I have successfully attached a "client script" or whatever they are called in next experience/ui builder that logs a message to the console when the iframe loads. 

I then sought information around how to get data from the form. I saw a lot of answers saying to use g_form.GetValue which doesn't work in the ui builder script. I then was just going to try and use document but that is also not available. 

I see there is a data resource called record which seems to have what I want, but cant find any docs on how to access a data resource through a script only the OOB event handlers.

0 REPLIES 0