cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bahalzamon
Advocate II
Advocate II

Show/Hide Fields

I'm new to model-driven apps and I am attempting to show/hide a couple of different things.

  • A choices fields
  • A choice field
  • A sub-grid

Also to show/hide another field if a specific option is selected within the choice/choices field.

An example being they select Other and then an other field shows, whether that is another choice field or just text.

 

From what I can find Business Rules wont do it, but I can do all of this with little to no effort within a canvas app though.

 

Unfortunately I am thinking I will have to go the JS route, if that is my only option would you happen to have a recommended source explaining how to go about that?

 

Thank you for ay guidance. =D

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickMSFT
Microsoft
Microsoft

Bahalzamon,

 

Since you're working with a model-driven app, you actually might have more luck over at the Dynamics community forums. Model-driven apps run on UCI so they're not like canvas apps.

 

You can head here:

https://community.dynamics.com/

 

That said, I think the JS route is pretty common in this situation, for example:

https://powerusers.microsoft.com/t5/Power-Apps-Portals/Hide-Show-options-in-Option-Set-fields/m-p/61...

 

Sorry, not a lot but I hope it helps!

 

Patrick

View solution in original post

2 REPLIES 2
PatrickMSFT
Microsoft
Microsoft

Bahalzamon,

 

Since you're working with a model-driven app, you actually might have more luck over at the Dynamics community forums. Model-driven apps run on UCI so they're not like canvas apps.

 

You can head here:

https://community.dynamics.com/

 

That said, I think the JS route is pretty common in this situation, for example:

https://powerusers.microsoft.com/t5/Power-Apps-Portals/Hide-Show-options-in-Option-Set-fields/m-p/61...

 

Sorry, not a lot but I hope it helps!

 

Patrick

View solution in original post

Prakash4691
Solution Supplier
Solution Supplier

Hi @Bahalzamon,

 

You can show/hide fields via business rule based on some conditions.

 

But for hiding and showing subgrid, have to write custom javascript.

 

Reference link,

https://www.google.com/amp/s/shafiuddinmicrosoftdynamics365crm.wordpress.com/2020/07/12/hide-and-sho...

 

FYI, there are tons of blogs available and also you can post your questions/queries w.r.t model driven app in dynamic CRM community.

 

Please mark it as solution, if it answers your question.

 

 

Regards,

Prakash

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,617)