Scoped Apps Limitations - are there any known no-goes?

Tom Sienkiewicz
Mega Sage

Hi All,

From my company's expereince as well as multiple discussions in the community, I know that there are many limitations to using those. On the other hand, the scoped API is constantly being expanded.

So I was wondering if there could be an easy way to say 'let's do a scoped app' or 'nah, better stick to global'? Like a list of issues/requirements - if you get many of those, you should steer away from scope? Have you run into any brickwalls when building a scoped app? I mean, not only a scoped app that should be published on store, but ANY type of scoped app...

From our experience I would list difficulties when working with (some might be outdated though):

  • Attachments (specifically, attachment api and operations on attachment table)
  • Import sets (similarly, issues with extending, operating on import sets)
  • Scheduled jobs (SNCTriggerSynchronizer.executeNow() function not being accessible from scope - big problem to e.g. automatically process excel files being uploaded)
  • Using core script includes

EDIT: Also we find the release process quite difficult to be honest. Once we move the app to production as an update set, there is no way to perform maintenance or do fixes and continue developing other areas at the same time, as fixes can only be promoted to production as new release of application (which would then also have all the unfinished new stuff). So either only move to production once at the end of the project (there goes agile approach), or do further development as another app (not good either). Maybe anyone has a good solution to those issues as well?

5 REPLIES 5

Hi Aakash, thanks for pointing out the threads.



I am interested to look at this more from a requirements/functionalities perspective - as in "are there things that simply cannot be done with scoped apis"? I realize this is a very vague question as there might be many workarounds but just curious if there have been any real show-stoppers for people so far. We had to abort moving one project to scoped app as a critical functionality was not working in scoped environment (related to attachments and import sets).


Hi Tomasz,



I will surely let you know if i come across some blogs or threads.