Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to control tab and field visibility ?

(0) ShareShare
ReportReport
Posted on by 815

Hi,

I am working on service module, there are too many condition on a single process. Example: first tabs and fields need to hide and in mid of the process, both need to visible again. Process is need to change based on option-set but again it is vice-versa.

There are so many fields which i need each time to set visibility and there visibiliy inside field.

Please suggest to reduce condition and best way to do it ?

BPF field visibility OR Workflow ? also need solution for vice-versa.

Regards

Faisal

*This post is locked for comments

  • Verified answer
    Syed_Faisal Profile Picture
    815 on at
    RE: How to control tab and field visibility ?

    I fixed the issue, to add multiple parameter need to create multiple onchange event.

  • Syed_Faisal Profile Picture
    815 on at
    RE: How to control tab and field visibility ?

    Hi,

    I got solution by following steps from this site : www.c2software.com/.../using-javascript-library-to-show-or-hide-a-tab-based-on-optionset-value.aspx

    It is working fine but 1 place i have stuck, it is filtering first option-set value rest of the option-set is not working and no error.

    On the On-change event, under paratmeter if i add more fields then throwing error that parramater is missing.

    Could anyone help, how to add more fields. i used these syntax but no use, Comma, Semi-colon and this |

  • Syed_Faisal Profile Picture
    815 on at
    RE: How to control tab and field visibility ?

    Looking solution something like this :

    www.itaintboring.com/.../how-to-lock-and-hide-controlssectionstabs-in-a-more-structured-way

  • Syed_Faisal Profile Picture
    815 on at
    RE: How to control tab and field visibility ?

    Hi Ravish,

    Thanks for the solutions but this something i already have tried and this solution is something related to condition YES/No type. But i need If or if else type.Let me explain you the requirement with example:

    1 Option-Set field and 2 Tabs with 1 Column

    Option-set field has "Vegetable"  and "Fruits and there are 2 tabs named as similar to option-set.

    When option-set Vegetable selected, Vegetable tab should appear and other tab should hide but with in Vegetable tab there is a question do you also like fruits then fruits tab should appear.

    Here condition is first need to hide tab then force again to visible ? I tried in first attempt, it  hide tab but later it doesn't come back.

    Regards

    Faisal

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: How to control tab and field visibility ?

    to show and hide business process flow based on a field change : www.powerobjects.com/.../setting-visibility-of-a-business-process-flow-with-javascript-dynamics-crm-2015

    to hide fields and tabs based on business process flow stage change : community.dynamics.com/.../279927

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans