The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

access to api refused

c_neytergen
Mega Contributor

Dear All,

I have build application for my customer and added button about copying existing record but when i click button , am getting below error

could you please help me to solve it?

find_real_file.png

20 REPLIES 20

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Cuneyt,



Please check for application access setting for the table. More info here.


http://wiki.servicenow.com/index.php?title=Application_Access_Settings#gsc.tab=0


Chuck Tomasi
ServiceNow Employee
ServiceNow Employee

Can you share the script with us?


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Also please share your script here.


c_neytergen
Mega Contributor

here is my script


********


var newrecord = new GlideRecord('_APP01 Acıbadem Sigorta MÄ°M Email Ä°ÅŸleme');  


newrecord.initialize();  


newrecord.from = current.from;  


newrecord.istek = current.istek;  


newrecord.istek_kategorisi = current.istek_kategorisi;



// Add additional fields you want to copy or set here.  



newrecord.insert();  


gs.addInfoMessage(current.number + ' Change Request copied to ' + newrecord.number);