Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Business Service Aliases?

JohnMMcLaughlin
Tera Contributor

Hi,

I'm after some assistance for the collective.

I have a record producer that allows users to create incidents via the portal, one of the fields on the form is a reference field that looks up Business Services by name, however I have the need to either allow users to enter an alias or a synonym, but I cant see how to do it.

 

As an example I have a business Service - Email, I want a user to be able to type outlook or email and it selects the business service Email - what is the best way to achieve this?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Just use:

ref_ac_columns=u_alias,ref_ac_columns_search=true

Adding name duplicated the display value.  It now looks like this:

find_real_file.png

View solution in original post

4 REPLIES 4

Mike Allen
Mega Sage

I created a field on the business service table that holds the aliases I want to allow the user to look up.  I added Outlook to that alias map.  I used the auto completer attributes to add ref_ac_columns=name;u_alias,ref_ac_columns_search=true to the attribute list in the dictionary override for incident.  Beneath is a screenshot of the outcome:

 

find_real_file.png

Just use:

ref_ac_columns=u_alias,ref_ac_columns_search=true

Adding name duplicated the display value.  It now looks like this:

find_real_file.png

Mike,

 

Thanks for the reply.

 

If I wanted to have multiple aliases, would that be possible and if so how would I do it?

 

Regards.

Yeah, just make the alias field long enough to hold a comma-separated string.  Then you should be able to search it with the method above.  You would have to search with a wildcard, however:

 

find_real_file.png