Link within HTML EC Portal act dynamically to Workday Feedback page

Rob Sestito
Mega Sage

Hey Team,

Is there a way to have a reference link within the html body to link to an external site dynamically?

I have created a deep-link within the footer from the EC Portal out to WD portal. Specifically I have it going to the Feedback page using its respective link.

I am looking to see if this link can be dynamic at all based on the user logged in. We do use SSO - so that I think should not be an issue.

When I had a co-worker try what I put, the link took them to my feedback page on my WD account.

Here is what I have as the link: https://www.myworkday.com/idexx/d/inst/247$16550/rel-task/2998$16283.htmld

Now I understand why link as the feedback page is specific to me and my account. But, is there a way to have it act dynamically to the user clicking on it?

Appreciate any feedback on this - 

Cheers,

-Rob

1 ACCEPTED SOLUTION

Rob Sestito
Mega Sage

Taking a different direction with this - closing post.

Thanks!

View solution in original post

6 REPLIES 6

John Zhang1
Kilo Patron
Kilo Patron

Our ESC portal has workday(WD) links based on the login user.  Each user clicks workday link that will dynamically login to WD through SSO.  I share this widget server script for your reference.  

(function($scope) {

data.menus = [];

//Get Menus
var workday_menus = $sp.getValue('sys_id');
data.menu_items = $sp.getMenuItems(options.menu_id || workday_menus);


//UserPref to open Links onLoad
data.showLinks = false;

var getPref = gs.getUser().getPreference('workday_links');

if(getPref != null || getPref != ''){
data.showLinks = getPref;
}

//Set User Preference
if(input && input.action == 'setUserPreference'){
var answer = input.tf;
var currentUser = gs.getUser();
currentUser.savePreference('workday_links', answer);
data.showLinks = currentUser.getPreference('workday_links');
}

})();

Hey John,

Thanks for your reply - and our WD links within the EC Portal work dynamically just fine. It's when I try using the specific link to get to the Feedback part of a WD Account. The link I am using right now to get to the feedback only goes to my account no matter who is logged in.

Other than that - getting to WD (not the feedback part) works dynamically just fine.

I think my issue is the actual link to the feedback section of WD. The link I am copying and using is specific to my account regardless.

Hi,

That is because of the used WID value. This is unique id that linked to each employee in Workday. That is this in your url https://www.myworkday.com/idexx/d/inst/247$16550/rel-task/2998$16283.htmld

We are capturing this value in the HR profile for each employee. Based on that we can build url's for each employee. There is some info about this on the Workday Community. 

Hi John,

I was wondering how you display those Self-service task WD deeplinks on the portal. Are you just using a quick link widget.. and display it on the front page or on a Topic page.. or did you build something fancy for it?

 

Thank you for reply