How can i call REST API (3rd party) from my UI page in client script or Jelly script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 12:23 AM
Actually I have a dialogue window (pop up) and have a drop down in that window. I want to update this combo-box (drop down) with the data coming from REST API.
Please help me to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 03:31 AM
Hi Rushit,
No I am not using Angular JS.. But to use Jquery should i include anything particular inside my UI page script ?
I have one more question - it will be great if you guys can answer - How can i use GlideAjax inside Jelly script in UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 03:33 AM
What i mean .. Can i use this code inside my Jelly script UI page
<g2:evaluate>
var ga = new GlideAjax('CoursesImport');
ga.addParam('sysparm_name','coursesimport');
ga.getXML(CoursesImportParse);
function CoursesImportParse(response) {
var answer = response.responseXML.documentElement.getAttribute("answer");
alert(answer);
}
</g2:evaluate>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 11:59 PM
Hi Randeep,
Did you get the answer of above question?