Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to control tab and field visibility ?

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
    Syed_Faisal 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
    Syed_Faisal 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
    Syed_Faisal 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
    Syed_Faisal 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
    Rawish Kumar 13,756 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans