How to redirect to URL from UI Page

Deepthi13
Tera Expert

Hi respected,

How to redirect to URL from UI Page and UI page is being called by UI action.  please find below screen shot I am not getting link but the message is getting displayed. Please find the UI page and Ui action. Please help on the same

UI ACTION:

function showUpgradeDialog() {
var gDialog = new GlideDialogWindow('hp_upgrade_dialog');
gDialog.setTitle(new GwtMessage().getMessage('hp_upgrade_dialog_title'));
gDialog.setWidth(500);
gDialog.render();
}

 

UI PAGE:

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div style="padding:4px;">
${gs.getMessage('hp_upgrade_dialog_1')}
<p>${gs.getMessage('hp_upgrade_dialog_2')} <a href = 'https://www.google.com'></a></p>

</div>
</j:jelly>

 

find_real_file.png

5 REPLIES 5

Hi ankur,

I have done opening the link but the link is opening in same page instead I need to open in new tab. please find below code and help me on the same.

I have removed processing script.

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<h1>Open Source Announcement</h1>
<h4>Some software components of this product incorporate source code covered under open source licenses.</h4>

<h4><a href="https://dev59409.service-now.com/nav_to.do?uri=assessment_take2.do%3Fsysparm_assessable_type=502a2c44d7211100158ba6859e6103a3" >Cick here</a>

</h4>
</j:jelly>