- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 05:25 AM
Within Configurable Workspace, do List components support Remote Tables?
Here is what I've tried:
1.) When I add my remote table to the List component's 'Table' property, the configuration panel does recognize the remote table's schema since it automatically adds the correct columns to the List component. However, no data records ever appear.
2.) So I tried this next - I created a Data Resource (Global > Look Up Records), and entered my remote table in the Data Resource's 'Table' property. In the data resource's right-hand 'live view' window, I see my external records just fine (in JSON). However, when I hook this data resource up to my List component by setting the 'Table' property to @Data.mydatasource.results, my external records do appear in the List component, but it appears as one long JSON string, and prefaced with: "Exception encountered processing path: /GlideListLayout_Query/getListLayout - Invalid table name"
Am I missing some configuration steps, or are Remote Tables not supported in List components?
Note: As a workaround, I have been able to create a different Data Resource using an EVAM Definition for my Remote Table, and then I use this in a Data Set component instead, using 'List' instead of 'Grid' as the default view.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 12:25 PM
I got this error too and it's related to a missing sys_id (a colleague of mine pointed this out) - the Native UI is able to manage rending without a sys_id but in Workspace, it is required. In my remote table definition, i use gs.generateGUID().toString() to generate a unique ID for each row and this resolved my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 05:17 AM
This fixed the issue for me! Thank you @Rebecca3. maybe @hdadmin11 could mark this one as the right answers