Related Link on Change Request redirecting to hiperlink

New user1212
Tera Contributor

Hi,
I want to create a related link on the Change Request form which, when clicked, will redirect to another page, but I don't know how to do it.
I created UI Action but I don't know how to make it redirect me to another page.

Newuser1212_1-1718813445045.png

 

 

 

2 ACCEPTED SOLUTIONS

Hi @New user1212 ,

 

Check the field named Client to true and in onClick field define redirectRecord()

 

The final script will be as below:

function redirectRecord(){
url = "<your_URL_here>";
g_navigation.openPopup(url);
}

Remove the line: 

 

action.setRedirectURL(current);

 

 

Please try the above.

 

Please Mark My Response as Correct/Helpful based on Impact

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

View solution in original post

I have updated the above, please check

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

View solution in original post

5 REPLIES 5

SN_Learn
Kilo Patron
Kilo Patron

Hi @New user1212 ,

 

Pleas try the below:

url = "https://www.google.com";
g_navigation.openPopup(url);

 

action.setRedirectURL(current);

 

Please Mark My Response as Correct/Helpful based on Impact

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

doesn't work, it returns me to the view of all change requests

Newuser1212_0-1718814150995.png

 

Hi @New user1212 ,

 

Check the field named Client to true and in onClick field define redirectRecord()

 

The final script will be as below:

function redirectRecord(){
url = "<your_URL_here>";
g_navigation.openPopup(url);
}

Remove the line: 

 

action.setRedirectURL(current);

 

 

Please try the above.

 

Please Mark My Response as Correct/Helpful based on Impact

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

now no link doesn't redirect anywhere at all