UI Builder - Data Resource Not Rendering In Preview

JessicaB4134500
Tera Contributor

I'm trying to bind a data resource to an element in UI Builder. It's visible when viewing in the UI Builder window, but once I click "preview" or "open URL path", the data disappears. Right now I'm just working in a Personal Developer Instance.

 

Here is my Glide Record Query - for the `case`

Screenshot 2024-04-20 at 6.38.22 PM.png

 

Here is the composite look up to get the `consumer` fields

Screenshot 2024-04-20 at 6.42.56 PM.png

 

Here I'm binding the resource to the heading component. You can see it rendering in this view.

Screenshot 2024-04-20 at 6.38.41 PM.png

 

Here is the preview and it's missing.

Screenshot 2024-04-20 at 6.38.52 PM.png

I'm also trying to access the data from a client script and it is returning undefined. Any help would be appreciated!

 

4 REPLIES 4

ValentinG
Tera Contributor

I'm having the same issue.

If I bind a stylized text to "@data.context.table", for example, it is visualized everywhere, but if I try to bind it to the Data Resource - I see it in the UI Builder window, but not in the Preview or Show in URL screens.

@ValentinG I ended up getting this to work when starting from scratch instead of using an existing template. I'm not sure why it matters though. If you don't need a template hopefully that will work for you too!

Thank you @JessicaB4134500 . Starting from a blank page and not a template seems to be working. Still wonder why the template breaks the Data Resource.

TemporaryUserNO
Tera Contributor

I'm also experiencing a similar issue. Context-variables not being available, data resource usages not being listed correctly or mapping issues when using templates. Using the CSM Record template. Anyone have any luck?