Execute a PostgreSQL Database query and display in Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 06:27 AM
I have an external database PostgreSQL and I need to fetch the data (select query, say) and display them in Service Portal.
I have the widget created with sample html, but not sure ServiceNow supports external DB queries in Server Script. Any leads or directions for doing this will be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 06:29 AM
You can use JDBC probe
http://www.john-james-andersen.com/blog/service-now/using-the-servicenow-jdbcprobe.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2018 06:40 AM
For READ operation, we can create JDBC type data source.
Previous post is valid for UPDATE and INSERT operations