- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi Community,
We have new integration requirement, need to fetch the ADO PBI data to ServiceNow
created script include and Ui page, but script include code not executing. so any suggestion?
UI Page code
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I used your suggestion and looks like it does need to be adjusted in ShrinivasprN code. I tweaked my UI Page and script include to try and replicate what was provided and was able to get:
Adjusted UI Page:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
just now i changed this code like this
i am getting below response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
thank you so much it is working now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
Sorry for the delay but just got on to start day. Glad to hear that it is working. Nice job! Best way to have fun with the platform is when something is almost working and then find that last piece to get it finalized!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
could you please help me to configure for descriptor field as well in script include and in UI page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Like this?
In my UI page I added the following. Just put them in the logic places in your ui page:
var descriptor = 'N/A';
if (data.fields.createdByDescriptor) {
descriptor = data.fields.createdByDescriptor;
}
tableHtml = tableHtml + '<tr><th>Descriptor</th><td>' + descriptor + '</td></tr>';
Then in script include I added in the logical spot.