UI Action Showing Invalid Insert

Rushikesh Gorde
Tera Contributor

We have a custom table created in scoped application and we have to create UI Action in Global scope. We have enabled Allow UI actions and can read access on the table.  When we try to insert new UI Action on a custom table in a Global scope, we are getting an error as Invalid Insert with below message:

 

"Invalid Table' selected on the Ul Action record. The 'XYZ table is in application 'ABC', but the current application is Global The "Table' field can only select 'ABC' tables with read and action access enabled.

 

Where XYZ is a table and ABC is a application.

 

Thank you...!!

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

The table may be in Scoped Administration. The Out of box Insert UI action should work. 

If you are building a new UI action, why not create in the same scope?


Please mark this response as correct or helpful if it assisted you with your question.

We are creating UI Action on click of it we get a model open configured in UI Page which has comment box to close that Model we are using. destroy() which is not working in scoped application. Want same functionality like Cancel change button but in scoped app on click of reject button comments should be mandatory and added in additional comments.

In the table record of XYZ, can you also check if you have Can Create and Can update is checked?

SanjivMeher_0-1702584667753.png

 


Please mark this response as correct or helpful if it assisted you with your question.

So your UI Action is to pop open a UI Page in a GlideModal window, correct?  But the "destroy()" function is not working when trying to save the contents of that popup?

 

It should work.  Can you share a bit of what you have now in the UI Page?  That's where the real problem lies.  The UI Action should be in the same scope as the table.