UI Builder - Data Resource Not Rendering In Preview
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2024 04:48 PM
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`
Here is the composite look up to get the `consumer` fields
Here I'm binding the resource to the heading component. You can see it rendering in this view.
Here is the preview and it's missing.
I'm also trying to access the data from a client script and it is returning undefined. Any help would be appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 01:11 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 09:12 AM
@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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 12:34 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2024 03:13 AM
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?