Open a specific view on click of New button from related list

sayalisheth
Tera Contributor

Hi

I am a starting to learn SN and am trying to solve for the following requirement - When the user clicks on the New button on the related list within my form, it should open a specific view if the Type field is set to a particular value. I think I have to use script to do this, but not sure where to write the script and what the code would be.

 

Thanks!

4 REPLIES 4

Jaspal Singh
Mega Patron
Mega Patron

Hi Sayali,

Thread already has a solution. Also, Yes, your understanding is correct. You need to script it.

Thanks! I am a bit unsure where to place that script that's provided in the other thread... is the script going to be on a UI Policy that's written on the table that's the related list? or is it on the view rule for the table which is listed in the related list?

Hi Sayali,

It is onLoad() client script.

Thanks for marking comments helpful. If you got, what was expected please close the thread by marking appropriate answer correct.