How to Use SNC.PasswordResetUtil.generateUniqueUserToken in Scoped

rubesh_u
Tera Contributor

I am currently working on a Scoped Application. How to use the 

SNC.PasswordResetUtil.generateUniqueUserToken in my scoped application. It says "SNC" not found. I just want to create that user token. How to achieve this in Scoped Application ?
2 ACCEPTED SOLUTIONS

Chaitanya ILCR
Kilo Patron

Hi @rubesh_u ,

 

you can have the code in a global script include with access from all application scopes and call that script include method in your scoped application

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

@rubesh_u 

Even if it's store app you can always supply global scope update set after customer installs/buys that app.

I have followed similar steps earlier and it's completely fine.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@rubesh_u 

Even if it's store app you can always supply global scope update set after customer installs/buys that app.

I have followed similar steps earlier and it's completely fine.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

How do we supply those global update sets ?