Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Redirect url after click add in file attachment field

Lucas19
Tera Expert

Hi community, I’m having a url redirection issue after clicking the "OK" button when inserting an attachment. 

Lucas19_0-1713294372459.png

servicenow redirects me to the sys_attachment table instead of redirecting me to the current record. 
Does anyone know why this happens and how can I correct?

1 ACCEPTED SOLUTION

The problem was solved by creating a DELETE ACL, using the main record table as a table_name in the ACL conditions running in the sys_attachment table.

View solution in original post

7 REPLIES 7

James Chun
Kilo Patron

Hi @Lucas19,

 

How did you get to that page in the screenshot?

Lucas19_0-1713352512013.png

clicking on the "Add" icon of an attachment type field.
It takes me to a page that has a home link: xxxxxservice-now.com/now/Nav/ui/classic/params/target/file_attachment.do...

@James Chun  this screenshot was useful?

Thanks @Lucas19,

 

What table is that?

And can you confirm if it experiences the same behaviour in other tables that have an attachment type field?

 

Cheers