How to make all fields on the SP profile Page read only?

Derek10
Tera Expert

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?

1 ACCEPTED SOLUTION

Andrew Wortham
Kilo Guru

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.



Screen Shot 2017-05-26 at 5.15.28 PM.png



Hope that helps!



Best,


Andrew


View solution in original post

6 REPLIES 6

SRJ
Tera Contributor

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.

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