The CreatorCon Call for Content is officially open! Get started here.

Navigate internally without reloading in Project workspace

Nolan4
Tera Contributor

Hi, 

I have put this code in the action assignment's client script - 

function onClick() {
    const projectSysId = g_form.getUniqueValue();
    const timestamp = Date.now(); // same as new Date().getTime()
 
    // Construct the proper Financials workspace URL
    var financialsURL = '/now/workspace/project/home/sub/pw-financials/pm_project/' +
        projectSysId + '/' + timestamp +
        '/params/page-name/financials';
 
    // Redirect user to the Financials section
    open(financialsURL, '_self');
}


This is working but the only thing here is, the page is completely reloading. Instead it should just navigate internally from the Details section to the Financials section. 
0 REPLIES 0