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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • A demo of how to show or hide a section in a model-driven app based on the selection of an option set using a business rule.

ความคิดเห็น •

  • @BrainSlugs83
    @BrainSlugs83 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

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

    • @weetgeen1
      @weetgeen1 3 หลายเดือนก่อน

      @@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.

  • @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!

  • @SmartLearningAI
    @SmartLearningAI 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      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 10 หลายเดือนก่อน +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 5 หลายเดือนก่อน

    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!