
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2017 12:26 PM
Hi all
I've been working on the widget profile in the SP, and I have noticed some fields are read only and some are not. I would like to make them all read only but cannot tell what is driving the read only vs not? It looks like my custom fields are the ones that are being editable
I did try using UI policies set to read only but no luck.
Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2017 02:20 PM
Hey Derek,
Unfortunately, I do not believe that there are any instance options that you can change here to edit the profile without taking ownership of the widget.
However, if you do take ownership of the widget it is easy to edit the fields on the profile and whether they are editable.
You can do a search in the HTML for "editable"
Then notice that there is a property of the field that is "editable-by-user" if you set that property to false the field will always be read only for everyone. Or you can put some logic in there.
You can also control what fields exist on the profile in the Server Script.
Hope that helps!
Best,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2019 10:33 PM
HI ,
I have added 'manager' field in the 'User Profile widget' to edit by user.
<p ng-if="::displayField('sys_user', 'manager', true)"><strong class="pad-right">${Manager}</strong><sp-editable-field editable-by-user="data.isLoggedInUsersProfile" table="sys_user" table-id="data.sysUserID" field-model="data.sysUserModel.manager"></sp-editable-field></p>
help me how to view Users as a manager if u_manager_flag checked. Dont want to see all the user from sys_user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 09:52 AM
Hey Jan,
I am not sure I understand the question. I believe you are asking to filter the manager field, to only be users who have been determined to be managers using a custom field.
If this is the case, you would not do this at the portal level. You should add a reference qualifier to the manager field.
Feel free to clarify with screen shots if this does not answer your question.
Best,
Andrew