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.

How to redirect directly?

Arthur Sanchez
Giga Guru

Guys, how do I create a module and when the user clicks on the module, he is immediately redirected to a form? I want to make a module where, regardless of view rule, list layout or role.

 

When someone accesses the module it will automatically redirect directly to the form I create, how do I do this? Has as?

If possible, explain how to do this configuration, I'm doing everything via Studio, so this is my application creation tool
8 REPLIES 8

Bert_c1
Kilo Patron

Include '%26sysparm_view%3Dadvanced' in the URL. this is from viewing a sys_dictionary record and selecting a different view. In this case, I selected "Advanced".

 

The complete url follows:

 

https://dev110606.service-now.com/nav_to.do?uri=%2Fsys_dictionary.do%3Fsys_id%3De002106197600210cd57fca6f053afce%26sysparm_view%3Dadvanced%26sysparm_domain%3Dnull%26sysparm_domain_scope%3Dnull%26sysparm_record_row%3D4%26sysparm_record_rows%3D160978%26sysparm_record_list%3DORDERBYelement%26sysparm_nostack%3Dyes 

 

Dude, I didn't understand how you created the structure of this url, can you explain to me what it's doing? I don't know where the ulr points to the table or the form

Arthur, 

 

I think this video may be helpful for you. 

https://www.youtube.com/watch?v=pd8bKDST9g4

Worse than not, my challenge is to be able to directly redirect a user to a form as soon as he clicks on the module so he can fill out the form, regardless of view rule or list layout.

 

I think the way is to use the URL and arguments as link type, the problem is, I don't know how to build the argument.