Pull a record from Remote table and add field values to a custom widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 12:09 AM
Hi,
Idea is to leverage on Remote Tables.
I am trying to fetch weather related data from an opensource API and create a record in remote table.
I am able to populate the remote table with weather details based on session user's location.
I want to pull this details into custom widget.
The server script in custom widget is not able to fetch glide record from remote table.
Same GlideRecord script is able to fetch data from other tables but fails for Remote Tables.
Any suggestions?
Regards,
Afsar Sheikh
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 02:09 AM
Hi,
Can you please share what you have done?
Also share the configuration of your table.
Also check if below decimations is helpful.
Also would like to understand why you are using remote table? instead you can store same information in any custom table and use it on portal.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 03:34 AM
Hi
I appreciate your interest for looking into this.
I am just leveraging remote tables use case as per docs.
I am trying to to fetch real-time weather data and adding it to the Remote table which is fine.
I am trying to fetch this data in widget server side script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2022 07:45 AM
I found a great content on "Remote Tables" by
But still my issue not resolved.
I tried querying the remote table using background script, it returns 0 rows.
but there exists a row.
Any suggestion guys?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2022 12:07 AM
I also observed that Glide Query returns record from Remote tables defined in global scope but it returns 0 records from custom scope.