Make Service portal User Profile Fields Readonly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2020 08:21 PM
Hello,
I want to make Service portal User Profile Fields Readonly. I followed the below steps.
1.cloned widget name :user profile
2.added code next to the fields I wanted to make as readonly
for ex department
OOB: <p ng-if="::displayField('sys_user', 'department', true)"><strong class="pad-right">${Department}</strong><sp-editable-field editable-by-user="data.isLoggedInUsersProfile" table="sys_user" table-id="data.sysUserID" field-model="data.sysUserModel.department"></sp-editable-field></p>
change :
<p ng-if="::displayField('sys_user', 'department', true)"><strong class="pad-right">${Department}</strong><sp-editable-field editable-by-user="false" table="sys_user" table-id="data.sysUserID" field-model="data.sysUserModel.department"></sp-editable-field></p>
3.added this cloned widget to page name : user profile through designer
4.tested it
I followed the same steps. I am able to make the fields readonly. However, it gives me some error on the portal. Please see the attached screenshot. Do you know how I can resolve this error on the portal?
Thank you!
- Labels:
-
Employee Service Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2020 10:12 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2020 05:36 AM
Hi Sabnam,
This new widget would have created a Restricted Caller Access record and you would have to allow that execution. That may be the issue why it is not working for you. Check the Application Restricted Caller Access records that have a status of "Requested" or "Invalidated" that are related to the work you are trying to do.
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2020 08:13 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2020 08:41 AM
That will cause other issues and limit functionality. Have you checked the RCA table? That function is making a call that RCA would restrict.