Getting Started with AngularJS in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2014 06:24 AM
At the K14 conference I heard of a few customers starting to use AngularJS within ServiceNow, so I started doing some reading on Angular. Are there any good articles, tips/tricks for getting started with AngularJS in ServiceNow?
Thanks
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2014 12:41 PM
Rick,
Yes, you would construct the query in the URL.
i.e. - ?JSONv2&sysparm_query=active=true
or to be more specific
?JSONv2&sysparm_getRecords&sysparm_query=active=true
In your example the request call will still work in the since that it will bring back the list of users. However it will bring all the users and not just the active ones. So you must include the "sysparm_query=" to filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2014 09:48 AM
Rick,
How is the quest implementing AngularJS in ServiceNow? Were any of the articles that I suggested helpful?
I have a little more free time on my hands and was thinking about writing an article with a basic implementation of AngularJS in ServiceNow. Any interest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2014 01:47 PM
I would definitely be interested in any guidance you may offer and assist with writing your article (QA and such…). I've looked briefly at some of the links you provide, but we're slammed with trying to implement a lot of orchestration workflows. Thanks for reaching out to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2014 08:15 PM
Okay. I'll get started writing it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2014 01:00 PM
Hey all - I put together a utility that you may find useful as you dig into AngularJS in ServiceNow. Because an Angular app can hit a lot of places in ServiceNow (UI Scripts, Script Includes, UI Pages, etc), it can get a bit unwieldy to piece everything together and then to package it all up. The Share linked below helps out with that. It can be a bit finicky (particularly, you may need to check that the includes are added to your base UI page in the correct order), but it saves me loads of time. Hope you find it useful!
Accelerator for Web Apps on Share