Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
8 subscribers
Views
1487 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi there, I have been having trouble adding nickname to the user mask
royc
over 11 years ago
Hi there,
I have been having trouble adding nickname to the user mask in the default-display-masks.xml located in ear\\suite.ear\\web.war\\WEB-INF\\conf\\components\\display\\ folder.
Following the naming conventions on
forum.appian.com/.../Autocomplete
, I have been able to add/test email and username masks but nickname does not seem to work.
I currently need this as a customer has many employees with the same first/last names and they wish to indentify through nicknames when managing the user accounts.
Here is the error that is logged when trying to search a user, while the nickname mask is enabled.
[stdout] (http--0.0.0.0-8080-2) java.lang.NoSuchMethodException: Unknown property 'nickname' on class 'class com.appiancorp.suiteapi.personalization.UserProfile'
Is there another naming convention for this mask? I have tried nickname, nickName, and NickName but none seem to work....
OriginalPostID-73433
OriginalPostID-73433
Discussion posts and replies are publicly visible
0
abiramej
over 11 years ago
Can you please try displayName instead of nickName
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
royc
over 11 years ago
That worked! Thanks!
Is there anyway to also mimic this on the auto complete portion below?
I understand in the autocomplete-config.xml adding a <param><displayProperty> allows you to search with the new param, so I assumed that to display the nickname in the suggested auto completes I would have to edit:
<mask><![CDATA[{firstName} {lastName} <{id}>]]></mask>
But this doesn't seem to be the case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel