web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    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

  • Syed_Faisal Profile Picture
    815 on at

    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

  • Syed_Faisal Profile Picture
    815 on at

    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

    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 |

  • Verified answer
    Syed_Faisal Profile Picture
    815 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans