How can I make UI page readonly using ACL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2022 09:54 PM
Hi there,
I have a requirement to make Risk assessment read-only.
We are pre-populating risk assessment questionnaires based on some values from change request form. So when someone clicks 'Risk Assessment' related link on change form it should not allow manual input there.
I have found few community threads in which it is mentioned to add ACL on 'assessment_take2' UI page. I have tried adding read ACL to this UI page but it is not working. Is there any other way to implement this functionality.
P.S . I also have tried making Assessment Metric questionnaire 'read-only as True '
Any inputs on this topic would be much appreciated,
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2022 11:52 PM
Hi Shital,
There is a UI page OOB called: assessment_take2
This UI page uses another UI component called "com.snc.assessment_core_take". This component renders questions and answers from Survey Definition. Answers are loaded if only if Survey Retake is enable and users are re-taking the Survey before Due Date.
This UI component it's a backend component that cannot be modify, it is entirely written in Java and there's no exposure for customers (not even Admin user) to customize it.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2022 03:43 AM
Hi Sandeep,
Thank you for your input on this!
So Is there any other way to implement this feature...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2022 11:54 PM
Hi, if your users do not need to populate a risk assessment as you are completing it automatically, then I assume visibility of the risk assessment is only required for reference?
In which case rather than spending a lot of time trying to customize the UI and building considerable technical debt - Customized UI should be checked validated at every patch and upgrade.
I think it would be easier to just disable the Risk Assessment UI action\form link
/nav_to.do?uri=sys_ui_action.do?sys_id=8d300156d7033200532c24837e6103e8
Leaving the 'Completed Risk Assessment' link on the Change form
so that users can view the read only assessment when\if they need to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2022 03:42 AM
Hi Tony,
Thank you for your response.
We are populating risk assessment questions automatically, but in order to calculate risk. One should submit the risk assessment. So we need to make questions on risk assessment page readonly whereas Submit button should be there.
