Announcements
No record found.
Is there any way to hide specific sections of forms from users or only have them display for users we want?
I haven't been able to find this in configuration.
*This post is locked for comments
Hello,
You will have to develop code to make it work.
Hi,
The only possibility is through adding Javascript into your form.
There the How-to step-by-step for hide/show a section
function Hidesection() {
Xrm.Page.ui.tabs.get("name of your tab").sections.get("name of your section").setVisible(false);
}
And there your section is hidden
NB: setVisible(false) => hidden // .setVisible(true) => visible
Hi. There is no OOTB way to do it. I would write javascripts for this functionality.
1. In the code, get the list of allowed users (hard-coded, or from a custom field in user entity, or from a custom entity)
2. Check if the current user is in the list.
3. Show/hide sections accordingly.
Hope it helps.
you can use below blog : crmblocks.blogspot.in/.../show-hide-section-on-basis-of-security.html
kindly replace the odata call with Wep API.
Hi John B Bily,
is there a way to connect this to one or multiple security roles?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
AS-17030037-0 2