cancel
Showing results for 
Search instead for 
Did you mean: 

IBrowser to setup default based on user role or group

Former Member
0 Kudos

Hi all

Need assistance or guidance with ibrowser

Q1 :I have Html droplist with the following options

<Select>

<option value=" HR">HR</option>

<option value="FI">FI</option>

<option value ="QM">QM</option>

</select>

Now i need to select the value based on user group lets say if user belongs in HR the the default option is HR with user log in

can some one assist if possible

Q2 :How do you set up ibrowser to have the above options without using query template

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

Q1: Check the role of user in IllumLoginRoles and set the value in html dropdown as


document.getElementById("ID").value = "HR"

write this code in onload event of page.

Q2: You can add items in iBrowser on creation event via javascript code.

but for this option also you have to use ant dummy query in background.

Regards

Anshul

Former Member
0 Kudos

hey Anshul

thanks a lot shades a bit of light , is there a posibility of have a sample code. where i can follow the steps.

how would i call the illumloginroles to show on my javascript.

Q2: how do you do that when you mention the javascript part

Answers (0)