Can scoped script includes be extended to other scoped apps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2017 01:36 PM
Can a script include in scoped app B extend a script include in scoped app A?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2018 11:39 PM
This is what I have tried and able to successfully extend the script include configured in global scope from scoped app
1) Make script include in global scope as "Accessible from all scope"
2) Configure a script include in scoped all, and make sure to provide the namespace prefix while extending the scirpt include in other scope
eg.
var myScopedSI = Class.create();
myScopedSI.prototype = Object.extendsObject(global.ScriptIncludeInGlobalScope, {
Once done, I was able to extend script include in global scope from other scope.
Same principal must get followed between non scope inheritance via extension then.