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

How to enter a new URL link on a UI Page

Joe Taylor
Giga Guru

I would like to modify the OOB login_locate_sso UI page slightly.

I'm trying to change bottom of this to go to a password reset URL instead of the local login URL.

I can't get the URL to work when I click on it.

Look at the AFTER code.  This isn't working.

 

BEFORE

</div>
   <div class="login-card-footer text-center">
      <a class="btn btn-link" href="#" onclick="window.location.href = '${jvar_local_login_url}'; return false;">
         ${gs.getMessage('Login with username and password')}
      </a>
   </div>
</div>

 

 

AFTER

</div>
   <div class="login-card-footer text-center">
      <a class="btn btn-link" href="#" onclick="window.location.href = 'https://passwordreset.microsoftonline.com'; return false;">
         ${gs.getMessage('Forgot your password?')}
      </a>
   </div>
</div>

1 ACCEPTED SOLUTION

Sorry,

 

I created that, I just added it to the code around line 35 to create the jelly variable then called the variable in the later code to link to the MS site.

View solution in original post

6 REPLIES 6

Sorry,

 

I created that, I just added it to the code around line 35 to create the jelly variable then called the variable in the later code to link to the MS site.

Joe Taylor
Giga Guru

Thanks Joe!