Power Apps PATCH function Tutorial with Modern Controls

Поділитися
Вставка
  • Опубліковано 24 лип 2024
  • In this step-by-step Power Apps tutorial, you'll learn how to work with the Patch function. Discover how to leverage the power of Patch in Power Apps, enabling you to seamlessly insert or update records in your data source. We'll take Patch to the next level by integrating it with modern controls to add or update data in a SharePoint List.
    Learn how to use the Patch function to effortlessly add and modify items in a SharePoint List while performing validations along the way. This involves utilizing the new ValidationState property of Modern controls. Video will show how to set values for various types of SharePoint columns, such as Text, Number, Choice, and Multi-select Lookups.
    Video will also demonstrate how to enhance the user experience for your Canvas Power Apps by making your Patch Form Screen Responsive. This involves incorporating a scrollable Canvas control within a Responsive container.
    Power Apps Modern controls are a game-changer, reducing the number of controls used in your apps, offering easy configuration, boosting performance, and speeding up app development.
    ⬇️ Download the Power App showcased in the video:
    Exclusive for Channel Members (Silver 🥈 & Gold 🥇 Club)
    Find the download link in the Community Tab for Members
    To become a member, click here: ua-cam.com/users/rezadorranijoin
    Power Apps for Beginners
    • Power Apps for Beginners
    PowerApps Patch Function
    • Power Apps Patch Function
    Power Apps Modern Controls and Themes
    • Modern controls and th...
    #PowerApps #PowerPlatform #SharePoint #Patch
    Table of Contents:
    00:00 - Introduction to PATCH function in PowerApps with Modern Controls
    00:44 - Scenario in video related to Patch function & modern controls
    02:27 - Build your own Form Screen using Modern Controls
    08:24 - Set Default values for Modern Controls
    11:38 - Patch function usage
    16:28 - Validations before Patching using Modern Controls
    21:53 - Make PATCH Form screen Responsive
    24:40 - READY to subscribe to Reza Dorrani’s channel
    🤝 Let’s connect on social:
    🔗 Reza Dorrani LinkedIn: / rezadorrani
    🐦 Reza Dorrani Twitter: / rezadorrani
  • Наука та технологія

КОМЕНТАРІ • 231

  • @dougydoe
    @dougydoe 8 місяців тому +6

    Another blockbuster of a video. Using the Canvas control and its Datacards to convert an app to responsive is huge. It will reduce the amount of nested containers we need to create responsive apps. This is so cool and really appreciate your commitment to release new nuggets in your videos. Thank you so much for sharing again. Greatly appreciated. Downloading and adding it to my "Reza Environment" in my Tenant. 🤣🤣🤣

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Awesome 👏
      Thank You so much for the amazing feedback.
      Let the “Reza Environment” keep growing 😊

    • @dougydoe
      @dougydoe 8 місяців тому +1

      @@RezaDorrani Yep, it keeps growing weekly. 😀

    • @greg2kdotcom
      @greg2kdotcom 8 місяців тому +1

      Agreed, I never thought of such a quick and easy way to make it responsive. Here I was thinking how he was going to use containers and breakpoints and stuff, but no, a template and the clipboard. Brilliant 👏👏👏

  • @AhmedBalfaqih
    @AhmedBalfaqih 11 днів тому

    What I love about your tutorials is that they become a reference on how to use Power Apps correctly and smartly. Thank you.

    • @RezaDorrani
      @RezaDorrani  11 днів тому +1

      So happy to hear that! Thanks so much for watching

  • @shanf1862
    @shanf1862 8 місяців тому +3

    This video came at the perfect time!! I was just playing around with editable forms and referring to all I learned from you last time, and now this upgrades a lot for me! Thank you so much ❤️

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      You're so welcome!

    • @GustavoRoyetRojas
      @GustavoRoyetRojas 8 місяців тому +1

      A Reza video always comes at a perfect time!!!😂

  • @DuncanCunningham
    @DuncanCunningham 8 місяців тому +5

    Thank you for constantly improving your skills and demonstrating new power apps features in these regular videos. We need these because repetitive lessons help us noobs learn from you. Some might say “this is the same as a previous video” but each release shows us new techniques and best practices that are difficult to gather from watching multiple videos. Your videos cover the basics over and over and include all the skills to produce professional simple solutions using the current features PowerApps have on offer.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +2

      Thank You for sharing this amazing feedback.
      Every video I make will have something new to offer as I do my homework on what I had shown earlier :)
      This video is packed with new stuff (validationstate, canvas control etc) + includes a mix of basic patch content.

  • @kevinjoseph9023
    @kevinjoseph9023 8 місяців тому +1

    I really like your kit mate… I also like the fact that you read all of your comments. This is just a comment giving you your flowers because you deserve them. I love your style of communication. Your work is always on point. You are an excellent instructor. Congratulations on setting up this membership structure and excellent business model for you … Keep winning Reza keep winning!

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Thank You so much for the feedback and all the good wishes 🙏

  • @michaelbrians338
    @michaelbrians338 4 місяці тому +1

    Master class - I learn something new whenever I watch a Reza video. Thank you!

  • @chaitanyaturankar9512
    @chaitanyaturankar9512 8 місяців тому

    Have the same requirement and this video is a blessing! Thank you Reza!

  •  8 місяців тому +3

    😍ValidationState, I feel like I just foreseen this video coming. Thanks Reza. DataCards from Canvas control vs. Responsive Containers... Again I learn some new every time I watch your videos. Appreciate your time and effort you put to make those happen. 200k subscribers will land sooner than you think. Keep up.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Boom! Thank You so much

  • @btoz6237
    @btoz6237 8 місяців тому

    Just another great video as always Reza! Nice seeing the new validation coding in action.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Thanks. The ValidationState is an awesome property

  • @AMindGame
    @AMindGame 5 місяців тому +1

    I swear you have video for everything. You're amazing 😍

  • @DirkManes
    @DirkManes 5 місяців тому

    This is exactly the video I needed. Reza, you are the rock star of power apps.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      Thanks for the compliment

  • @patoquiroz9627
    @patoquiroz9627 5 місяців тому

    I´m a newbie, this video is gold for me.
    Greetings from Chile.

  • @atehaa
    @atehaa 6 місяців тому +1

    Another great video. Thanks Reza!

  • @oluwatobipaul6171
    @oluwatobipaul6171 8 місяців тому +1

    Awesome video again. Thank you Reza.

  • @masuto74
    @masuto74 8 місяців тому +1

    Modern Control looks cute, but I was in despair because I didn't know how to use it. I enjoy using it after watching this video.
    thank you.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Glad I could help! My last 4-5 videos are all around modern controls.

  • @olisaemekaaghabuilo8688
    @olisaemekaaghabuilo8688 8 місяців тому +1

    This is awesomely great. Thanks Raza for this video.

  • @michaelcollett7284
    @michaelcollett7284 4 місяці тому +1

    Fantastic video! Thank you!

  • @juancarlosvallecillo4533
    @juancarlosvallecillo4533 4 місяці тому +1

    Fantastic video, I've learn a lot from your videos!

  • @RodCMz
    @RodCMz 4 місяці тому +1

    This is a excelent video Reza, thank you.

  • @GustavoRoyetRojas
    @GustavoRoyetRojas 8 місяців тому +1

    Didn't know about 'canvas' control, I'll try, looks amazing! Tx Reza.

  • @zhisonghuo
    @zhisonghuo 5 місяців тому +1

    Thank you Reza. And I use loom to record each tips of your video (each is a very short clip), as my knowledge quick reference.

    • @zhisonghuo
      @zhisonghuo 5 місяців тому

      Hi Reza, Can I ask a question about the DatePicker mordern control? Can we customize the display format of the control? Currently it is shown like "Wed, Sep 21, 2016", can we change it to display like "9/21/2016"?

  • @gilbertpradier
    @gilbertpradier 8 місяців тому +1

    @Reza, thank you so much as always great video again.

  • @tejuk6657
    @tejuk6657 2 місяці тому

    Reza, you make everything simple. Amazing technique to make applications responsive.. 🤩

  • @raulcsg
    @raulcsg 8 місяців тому

    Muchísimas gracias Reza ! . Mondays like this are less Mondays

  • @kamalakarreddyuppala3772
    @kamalakarreddyuppala3772 8 місяців тому +1

    Thanks Reeza For Your Boosting videos

  • @jonathangaw2061
    @jonathangaw2061 8 місяців тому +1

    you're the best 👍

  • @javiergamella7646
    @javiergamella7646 7 місяців тому +1

    @Reza, cool explained!!. Very helpfull

  • @theintjengineer
    @theintjengineer 8 місяців тому +1

    Out-frigging-standing🔥😮

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 2 місяці тому

    Great Video Reza. I was curious how patch new vs modify was setup and you nailed it. TY

  • @madhupsharma1300
    @madhupsharma1300 2 місяці тому +1

    Great Content👍

  • @hamidaahmed4869
    @hamidaahmed4869 5 місяців тому +1

    NICE I LIKE IT

  • @spen2431
    @spen2431 8 місяців тому +1

    Another BOOM !! 💥💥💥💥💥💥💥💥

  • @andrewburns9817
    @andrewburns9817 7 днів тому +1

    Reza, as always, your videos are amazing. Thanks for sharing. BTW, I noticed this morning that the DelayedOutput property on the modern textbox control changed to TriggerOutput. For the validation state, I was comparing two strings, an initial text value (variable) and the Value property of the textbox. My TriggerOutput default value was "FocusOut" Every once and a while, the textbox value property didn't appear to contain the updated value I had typed after I clicked Submit. If I clicked Submit again, validation was true (had the correct value). I Changed the TriggerOutput to Delayed and now my results for validation check seem consistent. I know these controls are in preview, and we are on our own, but that threw me for a loop.

    • @RezaDorrani
      @RezaDorrani  7 днів тому

      Most welcome!
      Im not aware of that change. Preview features can always have challenges.

  • @glennbullion9069
    @glennbullion9069 8 місяців тому +1

    I think a video just on this canvas control and really how to use it would be helpful. :) My mind blew up when I saw that in this video. As much as I've tried to make all my apps responsive on any device, it really is ultimately so much work, and I end up just designing for a desktop instead.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Glad it was helpful!
      There are more good things coming with respect to responsive design. Lets wait for the future to unravel

  • @raslaankhan5146
    @raslaankhan5146 8 місяців тому +1

    Thank you Reza for a new video😊. Validation state is going to be very helpful. Was it not available for Classic controls? I guess not. 👍

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      ValidationState is a modern control feature!

  • @raslaankhan5146
    @raslaankhan5146 8 місяців тому +1

    101k 👍. More power to you.

  • @Jaisreeradhekrishna
    @Jaisreeradhekrishna 8 місяців тому

    Hi Reza, As usual the tutoring is spot on. Can you please make a video on how to handle SharePoint search within text without delegation warning

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      I have done 3-4 videos on graph api and then sharepoint search api. I would recommend checking those.

  • @phoenixsands
    @phoenixsands 8 місяців тому +1

    Hey Reza! Great video once again! Do you by chance have a guide on the card style gallery in this video?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      I have done multiple videos on it.
      Search for “reza power apps gallery designs”

  • @ronbakker1300
    @ronbakker1300 8 місяців тому +1

    16:29 very cool, thanks Reza

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Validations are awesome! My next video will show some more...

  • @s961201
    @s961201 6 місяців тому +1

    🙌🏻 🙌🏻 🙌🏻👏👏👏

  • @user-ed9nr2wx7k
    @user-ed9nr2wx7k 6 місяців тому +2

    Hi Reza, thanks for this video sharing. It works amazing. But I have the scrollable form (I have more than 100 questions in a form), and every time when I want to do a patch for a single question, the form will bring me back to the top of the screen. How do I solve that?

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

      Most welcome!
      I have not tried with a scrollable form so not sure how to achieve that. I recommend checking or posting your query on forums in case someone has done something similar
      powerusers.microsoft.com

  • @Aristotin
    @Aristotin 5 місяців тому

    Thank you Reza! I would like to know how did you add a "All" selection and make it default to the Dapartment filter tab control, the Department choice column does not have a All option, you must added to the UI somehow.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому +1

      ua-cam.com/video/fnKqUf69wEg/v-deo.htmlsi=5SgSNVyhfEiKdCcb

    • @Aristotin
      @Aristotin 5 місяців тому +1

      @@RezaDorrani Excellent! Thank you so much!

  • @hasanahmad
    @hasanahmad 8 місяців тому

    Thank you Reza, I notice using Modern Controls, if I use a form and use a People/Group field from sharepoint, it shows the options as numbers instead of people in Classic Controls. Have you experienced that?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Yes, if you see my last 4-5 videos on modern controls. I do mention it.
      In fact, I did a specific video on people picker as well where I deep dived into that topic.

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

    finally found validations using patch

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

      oh its using modern :( :(
      and not using forms : (

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

      I use submitform when I use Form control and use Patch when I use controls.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar to your use case.

  • @user-xq5vk8nw7p
    @user-xq5vk8nw7p 7 місяців тому +1

    Great video! Is there a way to automatically scroll to the top of the canvas control when you select a record?

    • @RezaDorrani
      @RezaDorrani  7 місяців тому

      Thanks!
      Im not aware of a way to do that.

  • @slarti4242
    @slarti4242 8 місяців тому +1

    Straight to the point, very nice once again! I really like the modern controls, but I haven't found a way to open a numeric virtual keyboard when using a modern text innput on mobile. Like when setting the VirrtualKeyboardMode in a classic text input. Is there any way?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      A new spin button control just released. Ideal for numeric scenarios.

    • @slarti4242
      @slarti4242 8 місяців тому +1

      @@RezaDorrani Nice! Just tried to to put it in a gallery but it doesn't seem to remember the value if you enter it with a keyboard. It does if you use the spinner. Will have to have a closer look. Thanks!
      Edit: ...and even that doesn't bring up the numeric keyboard on mobile

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      @@slarti4242 I did not try only guessed. Plz note - modern controls are preview. So we will need to wait.

  • @JPPVCC
    @JPPVCC 8 місяців тому

    Reza - can't express my gratitude. I've always wanted such a skill and never thought it attainable. I have one favor to ask - can you please add the version number to these videos? Exactly following your directions does not always create the same results. It would be great to start with a minimum number of variables. Again SO MANY THANKS!

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Most welcome!
      I have done over 240+ videos so numbering them is not an option. Also, changing video titles and/or descriptions affects the search relevancy.

  • @DAXifiedSatish
    @DAXifiedSatish 8 місяців тому +1

    Hey Reza, is there any way we can search people in new modern Form people picker. It gives only a list. No search option. I have to take classic people pickers in modern form

  • @jameshart9519
    @jameshart9519 Місяць тому +1

    Another great video Reza. Annoyingly I cannot get the red validation box around the modern date picker. Its the only one where I cant get it to work.

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      Certain modern controls are in preview. It might be a bug.

  • @user-ei4tk8gf7m
    @user-ei4tk8gf7m 8 місяців тому +1

    Hi Reza, amazing video and it helps me alot, thank you, and i have doubt on "convert text into currency formate based on region in power apps" , can you explain us about this covertion, i'll appreciate you great support

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Most welcome!
      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @mad056
    @mad056 8 місяців тому

    Liking the clothing style Reza

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Thanks!
      That was my birthday gift to myself:)

  • @user-ju8hf2qd2w
    @user-ju8hf2qd2w 8 місяців тому +1

    Amazing video - Reza can you explain please why Patch is performed in Set formula. Is it some Set/Patch trick?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Set variable value will contain details about the patch result. You can get details about the newly patched item.

  • @kyleegray1652
    @kyleegray1652 Місяць тому +1

    Love your videos Reza! I note that you do not show us how to create a people picker using the combo box. I have tried to do this using the modern controls and come into issues with the Fields not populating for a person. Any ideas on how I can resolve this?

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      The reason I did not show is because currently modern combo box does not support it.

    • @kyleegray1652
      @kyleegray1652 Місяць тому

      Thank you so much!

  • @gianmarcomilia7661
    @gianmarcomilia7661 8 місяців тому

    Hi Reza, it works even with dataverse table?
    In my scenario i have datasouce from dataverse and innthe gallery "thisitem" didn't work well, expecially with choices column.
    Can you make a video to explain?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Yes, works with Dataverse as well.
      I may have done this in some video but do not remember which.
      I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    With the patch function and navigate. Am i correct in thinking that the Onsuccess option is only possible for a form? If there is a issue with connectivity and the patch fails, the user navigates to the on success screen anyway? Or do built in error functions within a IF statement cover when patch fails to update?

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

      With Patch, you would need to do error handling. You can store result of Patch in a variable, check if error or not and accordingly navigate user.

  • @ethanhudson3407
    @ethanhudson3407 8 місяців тому

    I didnt realize how cool the canvas control was

  • @RyanSmith-mh1lj
    @RyanSmith-mh1lj 8 місяців тому +1

    Hi Reza, great video!! Just one question, @21:02, I am having an error when I add "btnSubmitClicked", is this button name? Thank you.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      btnSubmitClicked is name of variable
      Video description has link to download entire app (members only - check video description for details)

  • @bernarat
    @bernarat 8 місяців тому

    Great video. How about people picker? Single or multiple selection

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Modern controls do not work well with people pickers. Use the classic control and patch that.

  • @kurdishkurd6259
    @kurdishkurd6259 8 місяців тому

    Hello Reza, can you make a video to show us how to print invoice with multiple pages and header and footer like in access database, thanks.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      I make videos when I receive multiple requests on a topic. Every quarter I ask subscribers for topic suggestions on Community Tab of my channel. Most voted topic ideas get added to my backlog. Make sure to suggest this idea whenever the next topic suggestion post is out.

  • @rajeshr9176
    @rajeshr9176 8 місяців тому

    Thank you Reza for a new video, My power apps do not have a validationState, I know ValidationState is a modern control feature, how can I enable in my power apps

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Enable modern controls
      ua-cam.com/video/eNhCQ7Y2x7o/v-deo.htmlsi=tlP03iO-mXSd1gBa

  • @user-sm7kr8ok2m
    @user-sm7kr8ok2m 5 місяців тому

    Hi Reza, rather than showing all Choices, is there a way to filter choices(e.g, only show skills meeting certain condition)

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      How would you define criteria? Choices only returns the values as an array. You would need to hardcode logic in app.

  • @user-wm1bg5xi3q
    @user-wm1bg5xi3q 6 місяців тому

    PowerApp beginner here: one thing that is generally bothering me is the copy-and-paste-hell i have to go through if I want change the behaviour or check the state of multiple elements. E.g. for checking all mandatory fields, is there a way to collect/ group them and do an If-check for all of them at once?

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

      Not a technique I am aware of for individual controls. If using form control then there is a way (covered that in my form control videos)

  • @hereskieu1
    @hereskieu1 8 місяців тому +1

    Thank you for a great video Reza! Could you also show us on how to create deep link for this patched form? TIA

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      I have done a video on deep linking. Similar concept can be applied here.

    • @hereskieu1
      @hereskieu1 8 місяців тому

      Can I have a link to that video please? Thanks

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      @@hereskieu1 youtube search “reza deep linking”

  • @23mylifeis
    @23mylifeis 8 місяців тому +1

    Hi Reza! Perfect as always. Thank you 🙃
    Can you make a video of this scenario? Main source of DataVerse, but not directly accessible by other users (no license). Only the developer of the program has a license.
    (How to set the data source of a form to a collection?)
    How to use a Collection-based source for Forms Apps (when users don't have direct access to DataVerse). To record and update data from the form in DataVerse, use Power Automate (child and parent flows) which will be launched from PowerApps, data is transferred from PowerApps in JSON format and using Power Automate is recorded and updated in the main DataVerse source.
    How, using Power Automate, you can write JSON data received from PowerApps to the DataVerse source if there are choice, lookup fields.
    Sorry for my bad English. Thank you for your work and education 🤗

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Multiplexing -> All users will need a license if using Dataverse even if loading it via collection.

    • @23mylifeis
      @23mylifeis 8 місяців тому

      @@RezaDorrani Understand =)
      Maybe then in this part of the question?
      How to record and update data transmitted from PowerApps in JSON format (entered manually in text fields) using Power Automate to the DataVerse source, especially in the choice and lookup fields.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      @@23mylifeis Even that is considered multiplexing. There is no way around hacking licensing.
      And how to do this via flows, I have not tried it so not sure

    • @23mylifeis
      @23mylifeis 8 місяців тому

      @@RezaDorrani Thank you for your time! ))

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 3 місяці тому +1

    How is that department home screen in this video setup? Is that 2 galleries nested? Looks great! Thanks again. Always helpful

    • @RezaDorrani
      @RezaDorrani  3 місяці тому

      Thats a single screen.
      Gallery with tab control as filter.
      I have done videos on it.

    • @MichaelDeBlasis1369
      @MichaelDeBlasis1369 3 місяці тому +1

      @@RezaDorraniI just signed up for silver to check it out. TY so much for doing all this for all of us.

    • @RezaDorrani
      @RezaDorrani  3 місяці тому

      @@MichaelDeBlasis1369 There is a lot going on in community tab for members. Search for download link posted for this video there.
      If link expired, post a message on that community post and Il share an updated link

    • @MichaelDeBlasis1369
      @MichaelDeBlasis1369 3 місяці тому +1

      @@RezaDorraniI gotcha. I totally got it figured out. Looks like you adjust the wrap count to make it look that way. Cheers!

  • @zulnordin8041
    @zulnordin8041 8 місяців тому +1

    Not sure if you have a drag and drop app that is used for prioritising work, projects etc. That would be cool if you have found a way to do that Reza. I am sure if there is a way to do it, you would one of the first. Keeping my fingers crossed. 😊

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      There are pcf controls available for drag and drop. It could be used to expand on one of my videos.
      ua-cam.com/video/-xSjy_rwQF8/v-deo.htmlsi=PyxB-YinnieioDMF

    • @zulnordin8041
      @zulnordin8041 8 місяців тому +1

      @@RezaDorrani I knew it. You just don't let us down. 😍

  • @jorgewilliam9622
    @jorgewilliam9622 2 місяці тому

    Hi, thanks for the content, a debt, my app was not responsive, was there an update or am I making something wrong?

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      Video is on patch function.
      Responsive design is separate. Check my playlist on that.

  • @studie75
    @studie75 8 місяців тому

    How did you get the Homescreen configured with the tiles on the Home screen setup with the Department navigation at the top and the +New setup etc? I managed to setup the 'Employee Info' screen' with your guidance, but all of a sudden you jumped to the Home screen which was pre-setup. How can I reproduce the Home Screen? I am missing a lot of info (Setup of maincontainer, HeaderContainer, and contents etc. which you seemed to have skipped in this video. I would love to learn how you did this ??

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      I have done many videos on gallery designs and filtering etc. Home screen is inspired from those videos.
      Video description has link to download entire app (members only - check description for details)

    • @studie75
      @studie75 8 місяців тому +1

      @@RezaDorrani Thank you for your prompt response. Your content is excellent. I am very thankful for your resource

  • @tluu8501
    @tluu8501 8 місяців тому

    For the department column. I have it as a single line of text. And I have another sharepoint list for departments. In my scenario i connected the modern control items to the sharepoint list. It saves the value fine but when I edit, the drop down is blank. Do you know if this is just a bug?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      No, there is no such known bug. It’s probably something to do with how you have set it up.
      I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @AjayKumar-qn3nx
    @AjayKumar-qn3nx Місяць тому

    Thank you Reza,
    I am having a little different case - I don't want to use gallery, instead i want to just patch and allow edits with controls of sharepoint list - Please assist in such case.
    bascially a patch button that saves and allows edit/update to your sharepoint list directly

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      I do not have a video reference on that scenario. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @PsYc87
    @PsYc87 7 місяців тому +1

    Hi again Reza, another great video. When using a patch function, can you also use this along with a SubmitForm function?
    I have used some dropdown boxes using the patch functions as shown above which worked but on the same screen I also have a form which I want to submit as well.
    Is this possible?

    • @RezaDorrani
      @RezaDorrani  7 місяців тому

      After patch call the suvmitform function.
      I have not tried this scenario though.

    • @PsYc87
      @PsYc87 7 місяців тому

      @@RezaDorrani Thanks Reza, doesn't seem to work. I'll keep researching into it. If not may have to change the screen to have one or the other. If you do find a solution it would be a great video.

    • @RezaDorrani
      @RezaDorrani  7 місяців тому +1

      @@PsYc87 I have not run into any issues with it so not sure. No plans for a video on this topic.

  • @terri78
    @terri78 2 місяці тому

    Hi Reza, wondering how to reset a modern drop down control, we don't seem to have the same varReset we could set on the classic?

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      You would need to reset them using the standard Reset function

    • @terri78
      @terri78 2 місяці тому

      @@RezaDorrani Thank you!

  • @MrinalMehra
    @MrinalMehra 8 місяців тому

    Hi Reza
    I have built many flows for my SharePoint Lists using your tutorial. Thanks for the good videos. Since today morning, I am unable to see the flows for my SharePoint List when i try to run a flow for a selected item in a list. The Flows are present in the Flow Library under Power Automate but cannot be seen under Automate -> in SharePoint Lists. Can you please help.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Hi Mrinal,
      I have not experienced the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @user-gb9fn7cn9h
    @user-gb9fn7cn9h 4 місяці тому +1

    Hi Reza! Love your videos, they are bomb as always. I have several interesting questions:
    1) why in this case Patch(SpList; Defaults(SpList), { Title: txtTitle.Text}) one record (row) is created in the list, and in this case Patch(SpList, Defaults(SpList), { Title: txtTitle.Text}) - two (and one is empty)? The difference is only in ; after SpList.
    2) My SP list has image-type column. Why in this case Patch(SpList, Defaults(SpList), { Title: txtTitle.Text, Image: Image.Image}) patch funktion works(although in the list, two records/rows are created again, one of which is blank), and in this case Patch(SpList; Defaults(SpList), { Title: txtTitle.Text, Image: Image.Image}) i am getting an error in the formula "The function Patch has some invalid arguments. The type of this argument Image does not match the expected type Record. Found type Image".
    Given a simple task, I cannot solve it 😀 I either get a lot of empty rows in the SP list, or I can't patch image-type column. How should i do it right? Many thanks in advance for your answers!

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

      Im not sure why would you use ;
      It should be a , at least as per what I used in video.
      I have done video on image column and patch - you can check that.

  • @sitecraft_ro
    @sitecraft_ro 8 місяців тому

    Hello, trying to understand this patch function you use. If i want to automatically update a field that is for example the email of the user logged into powerapps and i want to send that specific email to a Person column in SP, is it done also via Patch? or should i use something else? I have the field that picks up the user email with Disabled and default set to User().Email. Thanks.
    Overall this patch function will save me to use 2 forms to submit tickets via Power Apps.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      rezadorrani.com/index.php/2020/05/04/power-apps-patch-function-with-sharepoint/

    • @sitecraft_ro
      @sitecraft_ro 8 місяців тому +1

      @@RezaDorrani Bookmarked, other question, when it try adding the dropdown like you did in the video i don't get the values in power apps, is an empty list. L.E. Changed authoring version, now is live, thanks.

  • @mohemmadriyazkalva3197
    @mohemmadriyazkalva3197 8 місяців тому

    In the gallery control you added the color bar according to the department choice column format. How do we get the choice column color formatting information from SharePoint?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      I did not get it from SharePoint, I added the logic in Power App itself. Hardcoded formula!

    • @mohemmadriyazkalva3197
      @mohemmadriyazkalva3197 8 місяців тому +1

      @@RezaDorrani Thanks for replying so quickly. I appreciate your efforts as a consumer of your videos. Keep going ahead. 💪

  • @kevinnguyen3635
    @kevinnguyen3635 8 місяців тому

    I tried the Modern Form with tabs and dropdown/combobox modern control.
    It seems that we can't set DefaultValue to ddl/combobox modern control within hidden datacard. At the first load of the form, the hidden ddl/combobox are blank :(. I have to make them visible first by changing the selected tab, and then the ddl and ccb are loaded with the good default value :(

  • @UBOTSYT
    @UBOTSYT 8 місяців тому

    Broo I wanted to ask if its possible to upload attachments to folder in a Document Library using powerapps and if so can we also create a column inside the folder via powerapps 😅

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Probably possible but not something that I have done

    • @UBOTSYT
      @UBOTSYT 8 місяців тому

      ​@@RezaDorraniRoger that!

  • @HinaGeo
    @HinaGeo 3 місяці тому

    Thank you so mch for the great video. Your videos are at the top. I have one clarification question here please. Can we use patch function on a new record form on which all fields/controls are bind but one field is unbond (Suppose Free text box) and using patch function to set unbound control value to one of the field upon saving? Appreciate your thoughts please.

    • @RezaDorrani
      @RezaDorrani  3 місяці тому

      Combination of form and Patch? Why not use one or the other?

    • @HinaGeo
      @HinaGeo 3 місяці тому

      @@RezaDorrani Thank you for the reply. I am basically customizing list form instead of canvas app and new form will be created from within the list. if you please have any video on patching complete record and displaying a record in view mode when clicked on a list item then that would of great of you.

    • @HinaGeo
      @HinaGeo 3 місяці тому

      Below is the code i just came to know:
      SubmitForm(yourfrom);/*Step1:submit your form*/
      Patch(yourdatasource,
      First(Sort(yourdatasource,Modified,Descending)),/*Step2:Find the record that has just been updated and update it with the Patch function*/
      {Column1:"xxx",Column2:"XXX"}
      )
      the problem with above code would be if 2 users added new record exactly at the same time and perhaps we can apply created by along with the sort?

    • @RezaDorrani
      @RezaDorrani  3 місяці тому

      @@HinaGeo Difficult for me to know about this by reading formulas in comments here + I do not have any bandwidth to look at this. Best to post your query/issue on forums powerusers.microsoft.com/

  • @user-kx5pp7lq4h
    @user-kx5pp7lq4h 5 місяців тому

    Hi Reza, when I try to update my sharepoint document library item's lookup property using the below Powerfx formula, error message is shown saying "Expecting a Record value, but of a different schema" and "Missing column, your formula is missing a column "Id" with a type number". Can you please help me understand why it's now working?
    Powerfx formula:
    Patch(Invoices, Gallery1.Selected, {'Vendor Bank Account': Dropdown1.Selected})
    Gallery1 is a gallery of items from the "Invoices" Document library in Sharepoint and "Dropdown1"'s items come from another sharepoint list "Bank Accounts" is the sharepoint list that the lookup column "Vendor Bank Account" is trying to refer to.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I have not come across this issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @mgallagherco
    @mgallagherco 8 місяців тому

    Is there a simpler way to reset modern controls? I know you've done it through variables, and the main reason I prefer the form is for a quicker way to reset the controls.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      No. The current best option is as shown in video.

  • @ichdu1283
    @ichdu1283 8 місяців тому

    Hi, is ist possibile to Patch Attachments ? THX

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Patch does not support attachments

  • @raslaankhan5146
    @raslaankhan5146 8 місяців тому

    Is there a preference as to where we should use Form control or individual controls like this application??

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      Its a choice. Whaver works best for you.

    • @mkavo
      @mkavo 8 місяців тому

      @@RezaDorrani if you need to allow attachments then I guess you still need form control or could use a mix?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      @@mkavo You would need to use a flow as Patch does not support attachments.

  • @user-gp3ze8mb8k
    @user-gp3ze8mb8k 5 місяців тому

    My patch function is throwing me this error "The specified column is generated by the server and cant be specified" and its not updating the value. can you please check

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I have not come across this issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @myshare4435
    @myshare4435 8 місяців тому

    Hi Reza, nice video but I m having couple of issues, 1. @21:16, some reason Age column is not validating 2. date column is also, not validating, not sure what I am doing wrong? Where you have created btnSubmitClicked variable? its giving me error as well, appreciate if you assist, thank you.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Video description has link to download entire app (members only - check description for details)
      I have not come across any issues so not sure whats the cause for your issues.

    • @myshare4435
      @myshare4435 8 місяців тому +1

      @@RezaDorrani , sure thank you. I will check it out, appreciate your answer!

  • @ET-zf9qs
    @ET-zf9qs 16 днів тому

    Hi Reza, would you be so kind to reshare the link to this sample app please? Thank you.

    • @RezaDorrani
      @RezaDorrani  16 днів тому

      You will need to make the request on the secure link for this video which was shared on Community Tab.

    • @ET-zf9qs
      @ET-zf9qs 16 днів тому +1

      @@RezaDorrani OK, will do, thank you very much.

  • @mikah4051
    @mikah4051 8 місяців тому +1

    ⭐️⭐️⭐️⭐️⭐️

  • @glennbullion9069
    @glennbullion9069 8 місяців тому

    I'm implementing the validation states in the video, but it seems ValidationState for a modern date picker doesn't work (although I see you using it).
    Here is my code to check if modern date picker is blank. Am I missing something simple? It does work, but when I fill in a date, the Validation State doesn't return to "None".
    If(IsBlank(Self.SelectedDate) && varSaveClicked, "Error", "None")

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      There is a bug where it still shows the outline but if you submit it will go through.

    • @glennbullion9069
      @glennbullion9069 8 місяців тому

      @@RezaDorrani Ah of course there is. :) Thanks much.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      @@glennbullion9069 Most of the Modern controls are in preview.

    • @glennbullion9069
      @glennbullion9069 8 місяців тому

      @@RezaDorrani I know, but I can't help but use them. They're shiny.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      @@glennbullion9069 Then you need to accept that there will be a few challenges along the way :)

  • @GustavoRoyetRojas
    @GustavoRoyetRojas 8 місяців тому

    If modern control have the 'Visible' property available, it is easier to implement a solution that handle all the constraints through this property. This prevents users to submit incomplete data and reduces time and efforts via less controls customization.

    • @GustavoRoyetRojas
      @GustavoRoyetRojas 8 місяців тому

      I mean customization could be done just on the 'Visible' or 'DisplayMode' property of the Submit button.

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Does it not have a visible property?

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

    can you explain home screen modern controls

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

      I have done many videos on modern controls that are all in a playlist.

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

      @@RezaDorrani actually iam strugling to add home screen in this video type can you suggest any step by step link

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

      @@kamalakarreddyuppala3772 I have done it in other videos just that I dont remember which.

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

      this video only

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

      @@kamalakarreddyuppala3772 this video only has 1 video. I have done other videos where I have built a similar home page.

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

    The .value doesn't work at all

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

      I have not experienced this issue

  • @MrKhulaid
    @MrKhulaid 8 місяців тому

    I wish I had Hadley Parker salary

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      Sorry but did not get the context

  • @user-sm7kr8ok2m
    @user-sm7kr8ok2m 5 місяців тому

    Hi Reza, when I try to update my sharepoint document library item's lookup property using the below Powerfx formula, error message is shown saying "Expecting a Record value, but of a different schema" and "Missing column, your formula is missing a column "Id" with a type number". Can you please help me understand why it's not working?
    Powerfx formula:
    Patch(Invoices, Gallery1.Selected, {'Vendor Bank Account': Dropdown1.Selected})
    Gallery1 is a gallery of items from the "Invoices" Document library in Sharepoint and "Dropdown1"'s items come from another sharepoint list "Bank Accounts" is the sharepoint list that the lookup column "Vendor Bank Account" is trying to refer to.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I have not come across this issue and hence not sure what the cause could be.
      Debugging here on youtube comments is not an option.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com