- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2016 07:13 AM
I work in a domain-separated environment with a large (~800) number of possible domains, many of them nested in successive layers, to support multiple-tenancy.
The challenge that I have is that, when needing to modify records from within a certain domain, the "domain picker" list is incredibly difficult to read and makes finding the correct domain a painful exercise. The field doesn't support any kind of "type ahead" feature and the order seems somewhat chaotic (not sorted A to Z for example).
I imagine this is a somewhat rare situation, but would anyone happen to know of an "easier" way to switch domains under circumstances like these?
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 04:51 AM
It seems like my situation is a little unique and not something commonly encountered as an issue; that being said, I did come up with a little trick that gets the job done and figured I would share, just in case someone else finds it useful. This is a bit of a white-hat hack, but I figured out how to call the necessary actions with javascript. To use it, I just create a bookmark in the bookmark bar and call the following as the URL. It's a bit long, but it works in Geneva and Helsinki with UI16 (domain picker visible in the header). Matches on the last part of the domain name, which in my situation is unique, but could be modified to match the whole string easily enough.
javascript: var t = 'No Match';var tDomain = prompt('Enter the last part of the domain name:\rFor example, for Top/Acme, enter Acme\rCourtesy of Mike D. Jones');var domainD = document.getElementById('domain_picker_select');var dSplit;var dRange;for( i in domainD.options){if( domainD.options[i].text != undefined) {dSplit = domainD.options[i].text.toString().split('/');dRange = dSplit.length -1;if(dSplit[dRange].toString().toLowerCase() == tDomain.toLowerCase()) {t = domainD.options[i].value.toString().split('string:')[1];break;}}}if(t != 'No Match') {var scope = angular.element("#domain_picker_select").scope();scope.domains.currentValue = t;scope.updateDomain()}else{alert(t)}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2016 08:22 AM
Michael,
There is an alternative Domain Picker control available as well, specifically built for domain separated environments with large numbers of domains. Below are instructions for enabling it.
The basic Domain Picker control is a drop-down selection field that may be displayed on the banner as well as in the Systems Settings menu. The style of this control is consistent with other "picker" controls in the instance, such as the Application Picker and Update Set Picker. This type of control adds overhead to full browser refreshes since domain values must be loaded into the drop-down menu.
Geneva Patch 4 offers an alternative type-ahead reference picker that only loads a subset of domains at a time to help address performance concerns.
Basic Domain Picker - Select | Domain Picker - Type-ahead Reference Picker (Geneva Patch 4) |
---|---|
To enable the new picker in Geneva Patch 4 or later release
- Type sys_properties.list in the Filter navigator and press Enter.
- New.
- Fill out the form as shown and Submit.
- Name: glide.ui.domain_reference_picker.enabled
- Type: true | false
- Value: true