cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
0
Helpful
2
Replies

screen pop with userid

jdickinson
Level 5
Level 5

I am loading the screen pop with userid and when I log this, it is undefined.

You mentioned getting this onInit is that in the xml or in the js file?

console.log("Config userid :" + finesse.gadget.Config.userid);

1 Accepted Solution

Accepted Solutions

Hi,

Yes. You are correct that it is just id. I assume this means you figured it out?

Thanx,

Denise

View solution in original post

2 Replies 2

jdickinson
Level 5
Level 5

this is what I did.  It's not userId it's just id

        var uid = '';

        var config = finesse.gadget.Config || {};

        if (config === {}) {

            uid = 'confignull';

        }

        else

            uid = config.id;

Hi,

Yes. You are correct that it is just id. I assume this means you figured it out?

Thanx,

Denise