Let's Chat about Modal Pop Ups in Power Apps

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 17

  • @tluu8501
    @tluu8501 Год назад +2

    Great work and video!
    I would suggest trying a container instead of a rectangle.
    All you have to do is put the visible variable in the container.
    So much easier then groups.

    • @andrewhess123
      @andrewhess123  Год назад

      Good point Thien! Nothing wrong with using containers instead of the rectangle. I think I just go to groups because of habit.

  • @AlexandrePerret
    @AlexandrePerret Год назад +2

    You have to think about accessibility. Your screen should be usable using keyboard, but when your modal is visible, your other controls are still available with keyboard.
    What I do when showing modal, I use the 'showModal' var to set the tabindex of the usable controls on 0 or -1 depending on they should be usable by keyboard or not ;)

    • @andrewhess123
      @andrewhess123  Год назад +1

      Good point, that's a really good point. Thank you Alexandre! I appreciate all your extra insight, on multiple videos! Thanks! 😀 I don't think about accessibility enough.

  • @davem8774
    @davem8774 Год назад +2

    Isn't using a container for the modal window better than simply grouping all the controls? That way you don't have to update the Visible property when you want to add/remove certain texts and controls on the modal. If you want to move the modal position, it's easier with a container.

    • @andrewhess123
      @andrewhess123  Год назад

      I would never say containers are easier, but they are an option. Also if you set the visibility property up as a variable you don't have to set controls of the modal, just the variable. I have videos on using containers but if I go into too many topics in 1 video, usually confuse people and get emails about how to do a different topic than what was covered in the video. Shane Young did put out a video recently about why to use containers over groups, but IMO It depends.

    • @andrewhess123
      @andrewhess123  Год назад

      I can put a group together by pressing Ctrl + G in 5 seconds. I can put a container together in 10 mins?

  • @lymitutit3046
    @lymitutit3046 Год назад +1

    Hello.. I was wandering if we can have a Popup visible if we click or Hover over a label which is in display mode 'Disabled'. The idea is that when a user would like to pres a item which is 'disabled' , than a popup would explain to him why he can't go turther or what he shoud do in order to continue normally the process.
    Thank you for your help.

    • @andrewhess123
      @andrewhess123  Год назад

      This is a really good Idea! and I do think this is possible and it would be using the trick of a button! So your label would actually be a button but the user would not know. Right so on the Hover Over it would show and then not show when not hovered. You would have to use the Button to do this because it has the property of HoverFill. Also there may be ways of using HTML to do this. Really good idea Lymi! Maybe this should be a video in the future!

  • @TimMarsh-d4n
    @TimMarsh-d4n Год назад +1

    I know we lose some customization with Model Driven Apps, but can we incorporate something similiar in Model Drive Apps, such as a CRM Dynamics App?

    • @andrewhess123
      @andrewhess123  Год назад

      So this isn't my specialty but yes there is a way to call a popup in Model Driven, also I believe you can write your own code for a popup. It's possible but not something I have done myself yet in Model Driven.

  • @stephenm5944
    @stephenm5944 Год назад +1

    Have you made a video that discusses permissions within the app? I have an app created that allows users to submit a document for approval (multiple stage process) and would like to restrict their access to buttons on pages once they have submitted their document for approval. The data sources are three separate SharePoint lists: one that manages the Action Officers for the document (the managers of the process select who completes the task), one that manages the approval process (the action officers are referenced in a choice column pointing back to the first list), and a final list that manages tasks associated with the document. I have built a functional PowerAutomate flow for the approval and publication of the document - but I started this app to make it user friendly for all involved. The permission is my last step I have to figure out - I don’t want the users to submit a document for approval if they shouldn’t have access. My action officers are on the SharePoint list - my managers are in a 365 Group. Hopefully this makes sense… thanks.

    • @andrewhess123
      @andrewhess123  Год назад

      Hi Stephen, Makes sense, I don't have a video on this specifically yet, but I have done this in production. But I used Azure Active Directory Groups. Maybe this can help lead you in the right direction?

  • @DataisKing
    @DataisKing Год назад +1

    Trying to figure out how to move a dialog box during runtime because sometimes it is in the way of important info.

    • @andrewhess123
      @andrewhess123  Год назад

      Hi Data is King, any more information? We could move it after a timer, just move the group based on the X and Y value, after maybe the first 15 seconds? Then turn the timer off and permanently move it based on the X and Y values? Or build the move based on a button click.

    • @DataisKing
      @DataisKing Год назад +1

      @@andrewhess123 I was thinking of a way to allow the user to click and drag the dialog box to any location on the screen

    • @andrewhess123
      @andrewhess123  Год назад

      @@DataisKing There is a PCF, Component Framework for this, but it would probably not be exactly what we want. And pretty complex. Could be possible, but not easy 😀