The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Field auto population is not working for snc_external users

Aruna Sree Yela
Tera Guru

Hi,

 

There are 2 fields Factory Name and Factory ID. Factory ID should be auto filled with the ID of Factory selected under Factory Name. To fulfil this, I created Glide Ajax. It is working good for snc_internal users, but not for snc_external users.


As snc_internal user:

ArunaSreeYela_0-1704794281414.png

 

As snc_external user:

 

ArunaSreeYela_1-1704794403170.png

 

Preview record is also working and displaying the fields(for both users).

ArunaSreeYela_2-1704800783075.png

 

 

Provided Read access on the Factory Table over table level and fields level. Even though its not populating the value, its returning null.

 

Can anyone please help me on this issue.


Thanks
Aruna

 

2 ACCEPTED SOLUTIONS

Hi @Aruna Sree Yela 

Can you please create an ACL with roles snc_internal and snc_external as mentioned in the screenshot. Name would be your script include name.

SaurabhGupta_0-1704806576693.png

 


Thanks and Regards,

Saurabh Gupta

View solution in original post

Try and create an ACL to allow snc_external to be able to execute that script include. this should solve your issue

ACL should look like below

AnuragTripathi_0-1704807259053.png

 

-Anurag

View solution in original post

8 REPLIES 8

@Anurag Tripathi , @Utpal Dutta , @Saurabh Gupta  

Many Thanks for the quick responses!!

 

There is no ACL under the Script Include

 

ArunaSreeYela_0-1704806177786.png


@Utpal Dutta , I tried the other way, even though I can't able to sort it.

 

ArunaSreeYela_1-1704806294407.png

 

Thanks

 



 

Hi @Aruna Sree Yela 

Can you please create an ACL with roles snc_internal and snc_external as mentioned in the screenshot. Name would be your script include name.

SaurabhGupta_0-1704806576693.png

 


Thanks and Regards,

Saurabh Gupta

Try and create an ACL to allow snc_external to be able to execute that script include. this should solve your issue

ACL should look like below

AnuragTripathi_0-1704807259053.png

 

-Anurag

Ankur Bawiskar
Tera Patron
Tera Patron

@Aruna Sree Yela 

Client callable script include cannot be directly called by snc_external role

in your client callable script include add the isPublic function along with your existing functions

isPublic: function(){
return true;
},

check this link

Privacy on client-callable script includes (instance security hardening) 

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