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
3 replies
Subscribers
5 subscribers
Views
1529 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I have created a plugin that sets values of custom fields in UserProfile. I can
sivananthag
over 9 years ago
I have created a plugin that sets values of custom fields in UserProfile. I can see those values in Appian using function user(userName,"customField1").
But I need these custom field values to be displayed in People's tab - Update Profile. So I added my custom fields in UserDetails.jsp as below:
<asi:fieldset legend="CustomFields">
<asi:input label="HRJobCode" type="text" property="customField1"
disabled="true" readonly="true" value="${result.customField1}" />
</asi:fieldset>
Now I can see a textField displayed with label "HRJobCode". But its value is blank. On going through the UserDetails.jsp code, It appeared to me that I need to set the values of custom fields in userDataForm &UserDataAction java code. Is this approach correct? Is there a way to achieve this without modifying hte java code?
Please suggest how to set the custom Fields in Update User page (people's tab)?
Thanks in advance
Thanks
Jhothi...
OriginalPostID-131675
OriginalPostID-131675
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
The information about customizing the People tab was only provided (in another Tempo post) to explain why it's not available there but by no means is the recommended approach. Customizing the base product is completely discouraged since makes environments harder to upgrade and maintain.
Since the User record can expose those fields (rf!customFieldX where X is a number of the field) you better use that instead of the people tab.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sivananthag
over 9 years ago
Hi Ed
Thanks, The customFieldX worked and I could add the custom fields to User record's ListView template. Suppose if i want to add these fields in built-in summary dashboard for user record, will it be feasible? I didnt see any SAIL summary dashboard code in use record.
Thanks
Jhothi
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Currently you can only customize the list view not the dashboard.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel