Business rule logic to hide a section in a Model-Driven App || Power Apps

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 11

  • @juansepowerplatform
    @juansepowerplatform Рік тому +2

    Thank you. I see, so if you hide or show all controls from a section then it automatically hides or shows the section. I thought this wasn't possible with out java. Good to know :)

  • @sacc19
    @sacc19 Рік тому

    thank you for this video!

  • @BrainSlugs83
    @BrainSlugs83 Рік тому +2

    What if it doesn't contain sub fields, but instead contains a sub grid (like for a many to many relationship). Is there anyway to show/hide a subgrid based on a business rule?

    • @andreapinillos
      @andreapinillos  Рік тому

      You can still put it in a section to hide and show

    • @weetgeen1
      @weetgeen1 4 місяці тому

      @@andreapinillos What at least works is place one additional field/column in the section with the subgrid. This way the section will appear depending on the additional field.

  • @SmartLearningAI
    @SmartLearningAI 11 місяців тому

    Hi Andrea, is it possible in model-driven app form to set the value one field like Primary Name Field to the concatenation of FirstName & " " & LastName fields using a business rule ?

    • @andreapinillos
      @andreapinillos  11 місяців тому

      There is! You’ll need to create a new process workflow within the table. I’ll create a video on it soon.

  • @rdubw8904
    @rdubw8904 Рік тому +1

    This is just hiding two fields in a section that only consists of two fields. What if you need to hide a complete Section? I have sections that are forms from other tables.

    • @andreapinillos
      @andreapinillos  Рік тому

      If you continue watching you’ll see that by hiding the fields, the section will also be hidden as long as you hide the section by default.

    • @BrainSlugs83
      @BrainSlugs83 Рік тому +2

      @@andreapinillos but what would you use as the show/hide target in that case? There aren't any fields to "show" if it's another table (or in my case, a sub-grid for a many-to-many relationship).

  • @CoxJul
    @CoxJul 6 місяців тому

    So basically, you can't set the visibility of a section as a single action (which shows/hides the fields in it) but you have to do each field one-by-one. A real pain if you have 10 fields in a section!