In my instance, we've added a number of Typeahead fields over the years that we've come to regret, mainly because they appear as top-level objects in Reporting tools and confuse everyone trying to build reporting. I can only explain why Project reports show two Portfolio and Program options with completely different options under them so many times. (Yes, I could re-name the fields but I wanted a better solution.)
Finally I decided to experiment with replacing the Typeaheads with External Reference fields that looked the information up from Workfront's API instead. I've included a set of examples below for the objects I replaced, along with some gotchas I found along the way.
Notes.
Reference Pages:
Topics help categorize Community content and increase your ability to discover relevant content.
our only gotchas that are not on your list is that external lookup fields are not working (do not display or are not functional) on dashboards and in the new Home Workspace.
Ahh, good add! For Dashboards, I've had luck with creating a text-mode column that references the field with "valueexpression=" syntax to at least make it visible but still not able to be interacted with. I haven't experimented to see if that would make it visible in the new workspace too.
Views
Replies
Total Likes
we've discussed doing similar, but it did spur a conversation about users who like to create their own reports, and does underline that some of our dropdown fields are high maintenance (always getting inline edited). We're continuing to pursue enhancement requests that bring functional parity, but appreciate that textmode continues to be a workaround in many cases.
Views
Replies
Total Likes
very cool .. I'm running into this issue where the "portfolio:name" lookup is not working for the program field - it looks like with what little I had went over in the docs, led me here as I started running into my issue .. am I missing something else?
Views
Replies
Total Likes
Fixed - typo
Views
Replies
Total Likes
Adding to the list of gotchas: the external lookup field on a request custom form will not display in the Outlook plugin (e.g. if you want to convert an email to a request via queue), and in the Teams app (e.g. if you want to submit a request from there).
It does display in the mobile app, but I cannot toggle it (so it's non functional).
Views
Replies
Total Likes
I'm wondering if any of you have tried leveraging this with the JIRA API?
Views
Replies
Total Likes
Hi @KatherineLa,
thank you for the summary. I've been recently experimenting with similar things and got pretty much to the same conclusions.
The most annoying limtation is the lack of the object ID in the stored value. When processing a submitted request in Fusion, I need to run an extra search to obtain the ID, which is less then ideal, as the name is not necessarily unique and the search may bring multiple results.
I have found an (admittedly not very user friendly) workaround though, to obtain the ID straight on the form.
I create 2 external lookup fields: The first one allows searching for the desired record. The second one returns the ID.
In the below example we search for a user:
Here's the first field - this can include more filters, if needed:
Then the second one returns the ID of the user selected in the first field:
The inconvenience is that the user has to make the selection in the 2nd field - even though that (ideally) shows only 1 option.
The issue of multiple matching records remains here, though. So if we have 2 users with identical name, the second field (too) shows 2 IDs. For a user selection, I think I'll solve this by using the email addess (instead of the name) in the 1st field - that is unique. I have no solution idea for other objects.
I was playing with the idea of manipulating the "JSON Path", trying to display a concatonation of Name + ID, but didn't manage to get it work.
Furthermore, I found that I can only display a field (as an option to choose) which is included in the API response. And the response for users includes only a very limited number of fields:
And if a field value can't be displayed as selectable option, the comparison with the entered value doesn't work either. For example: We have have a custom field on the user object (.Workday ID) that holds a (unique) external ID. I can use that as a filter, but I can't use it as a typeahead filter. In other words, this is working:
but this doesn't:
I wonder if there is any way to get the User search API to return more fields (including custom fields) in the response.
Regards,
Tibor
Views
Replies
Total Likes
With regards to my own question raised in the previous post, I managed to figure out the answer:
1. The API can can be instructed to include further fields (incl. custom fields) in the API response by appending this to the BASE API URL:
&fields=field1,field2,...,fieldN
For example, if it's a custom field that we need:
&fields=DE:.Workday ID
Note that the dot is part of the field name in my case.
2. This allows us to display a custom field value in the dropdown, by editing the JSON Path.
Because of the semicolon (:) after DE and/or the dot (.) in the custom form field name, the JSON Path needs to be formatted as follows:
$.data[*].['DE:.Workday ID']
This doesn't work:
$.data[*].DE:.Workday ID
3. This then allows us to use the custom form field as the typeahead search field. So all of this comes together as follows:
Views
Replies
Total Likes
Thanks, Kat. This was really helpful. I didn't realise it was just a search that doesn't have to rely on another field, but it can if you want it to. We can now call them External lookups and Internal lookups.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies