The CreatorCon Call for Content is officially open! Get started here.

UI Action Button is not creating a record.

YashM
Tera Contributor

Hello Community,

 

I have UI Action button in which i wrote a script to create record in my custom table, But after clicking it is showing some cross scope previlage restriction.

 

Could you pls help me on this.

 

 

2 ACCEPTED SOLUTIONS

Samaksh Wani
Giga Sage

Hello @YashM 

 

You might be creating the record of some different application scope from your scope, Thats the reason of restriction, You need to allow the UI Action from Restricted Caller Access, after the latest update of code.

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

 

 

View solution in original post

Hello @YashM 

 

Navigate > All > System Applications > Application Restricted Caller Access.

 

Into the records filter out,

 

  • Using the target scope - the application scope in which you are creating record.
  • Source Type :- UI Action.

after you got the record, update the status allowed from restricted.

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

 

View solution in original post

7 REPLIES 7

Hello @YashM 

 

Navigate > All > System Applications > Application Restricted Caller Access.

 

Into the records filter out,

 

  • Using the target scope - the application scope in which you are creating record.
  • Source Type :- UI Action.

after you got the record, update the status allowed from restricted.

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

 

Thanks @Samaksh Wani for giving me the explanation of error and resolution.

 

 

 

P1otr
Tera Contributor

Can you share the code you have together with the exact error message with some extra context? Thanks.