- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2018 04:55 AM
Hi I'm new to Service Portal and try some things by my registred dev instance. Things like Angular providers, etc. But recently I review a widget code that using a script include, so that I ask my self, when using script includes instead of a angular provider from type service?
Can anyone explain the best practice?
Or which considerations are to be focused on?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2018 07:36 AM
One major difference is that the angular providers are used for client side angular code, and script includes are server side SN code. You could be using both angular providers and script includes in some sort of Widget > Angular Provider > Scripted REST API > Script Include.
If you're looking for some best practices, here are a few helpful links:
https://github.com/platform-experience/serviceportal-best-practice

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2018 07:36 AM
One major difference is that the angular providers are used for client side angular code, and script includes are server side SN code. You could be using both angular providers and script includes in some sort of Widget > Angular Provider > Scripted REST API > Script Include.
If you're looking for some best practices, here are a few helpful links:
https://github.com/platform-experience/serviceportal-best-practice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2018 07:45 AM
Thank you so much Brad for the quick answer. This is exactly what I already assumes but was not sure 😉
Greetings from munich.