'Create Request on Behalf Of' Visible Always for Single ARO
Ideally I'd like to take the query results and multi-map it to a field on the Incident form other than the Affected User.
Best Answer
-
Nicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭Hi @Chris_Keander ,
In order to show the "Create On Behalf Of" picker on only one Request Offering and for all users, you would do the following:- Change the AD group setting you mentioned to scope to a group with all of your users.
- In the custom.js file, determine which page of the Portal you were on. If on the Request Offering page of interest, do nothing. If you are on any other Request Offering page, hide the entire "Create On Behalf Of" picker using CSS, applied via JQuery (or use .hide()).
The "what page am I on?" logic can be extracted from the code on the page @Conner_Wood linked above.
The JQuery bits can be referenced here: http://api.jquery.com/css/ Additionally, we hide the text box portion of this picker already through the code referenced above. We could possibly just add a .parent() call to grab the label element in addition to just the text box, although I have not tested that.
Thanks,
Nick7
Answers
Create on Behalf - Function / Customization
I really only want it to show up on one RO and not everything. I could also look into using a query picker, but when we have tens of thousands of users, there's no easy way to get around the default limitations either.
If you raise it as a feature request, I'll certainly vote it up!
In order to show the "Create On Behalf Of" picker on only one Request Offering and for all users, you would do the following:
The "what page am I on?" logic can be extracted from the code on the page @Conner_Wood linked above.
The JQuery bits can be referenced here: http://api.jquery.com/css/ Additionally, we hide the text box portion of this picker already through the code referenced above. We could possibly just add a .parent() call to grab the label element in addition to just the text box, although I have not tested that.
Thanks,
Nick