Set Default Values in Power Apps | Dropdown, Lookup, Choice, Date | SharePoint

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • This video is a step-by-step tutorial on how to set the default values of controls in Power Apps. We will set default values of Text Input, Drop downs, Combo boxes, Date Pickers, group of fields & the Form Control.
    We will set Default value for Dropdown as "Select" or "All", Reset multiple controls to their default values, set default data card values for the form control connected to SharePoint (covers Text, Date, Lookup, Choice, Multi-Select Choice, Person type columns). The data sources covered here are SharePoint & Office 365 Users (to get current user & manager information), but the concepts are applicable to all data sources (Dataverse, SQL).
    Video covers the following:
    ✅ Default values for controls/fields in PowerApps
    ✅ Default Date to Today, First/Last Day of Month, Add or Subtract Days to Date
    ✅ Default Dropdown field or set it to "Please Select"
    ✅ Default Combo box control (multi select & single select)
    ✅ Default Person to Current User or Manager
    ✅ Default Choice fields
    ✅ Default Date fields
    ✅ Default Multi-Select Choice fields
    ✅ Default Lookup Column from SharePoint
    ✅ Default Limit Choices in Dropdown
    ✅ Set Default Value based on AD Profile Properties
    Helpful Links 🔗:
    Power Apps SharePoint Column Syntax (Lookup, Choice, Person)
    rezadorrani.com/index.php/202...
    PowerApps Gallery connected Form Control
    • Power Apps Gallery Edi...
    #PowerApps #SharePoint #default
    Table of Contents:
    00:00 - Introduction to Set Default Values in PowerApps
    00:27 - Set default value for Text Input control
    00:56 - Set Date Picker DefaultDate
    01:36 - Default date to Today, First/Last date of Month etc.
    03:26 - Set dropdown control default value
    04:16 - Set "Please Select" as dropdown default value
    07:07 - Combo box DefaultSelectedItems
    09:19 - Reset multiple controls to Default Values
    11:18 - Default Data Cards in Power Apps form control connected to SharePoint List
    12:35 - Set Choice Column default value
    14:44 - Set Text Column default value
    15:03 - Set Date Column default value
    15:39 - Set Person Column default value to Current User
    16:18 - Set Person Column default value to Manager of current user
    17:39 - Set Lookup Column default value
    15:03 - Set Date Column default value
    20:10 - Set Multi Select Column default value
    21:02 - Demo of setting default values of Power Apps form control data cards
    21:26 - Limit choices in combobox control
    22:41 - Subscribe to Reza Dorrani channel
    🤝 Let’s connect on social:
    🔗 Reza Dorrani LinkedIn: / rezadorrani
    🐦 Reza Dorrani Twitter: / rezadorrani

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

  • @meaganwest6732
    @meaganwest6732 2 года назад +15

    I just want to comment and tell you....that your videos are the best things and I hope you never ever stop making them. Thank you, thank you, thank you. I hope to meet you one day!

    • @RezaDorrani
      @RezaDorrani  2 года назад +3

      Wow, thank you! I will keep trying my best.
      I plan to include a mix of beginner and intermediate level content going forward.

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

      @@RezaDorrani hi sir
      i am looking for solution , where i am having yes no column on SharePoint list and i have made it radio button on form, but i am not able to retrieve value in form on edit mode,
      for example i have selected yes on new form, but when i again open it on edit mode so saved value doesn't retrieved.

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

      @@amanchourasia1870 I recommend posting issues on forums at powerusers.microsoft.com

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

      I couldn’t agree more!!!

  • @FromDallas
    @FromDallas 3 месяца назад +3

    I cannot tell you how many problems this video has solved for me. With all the work-arounds I had been trying to figure out, I was going crazy. This made everything so much easier, and look a LOT better!

  • @Sun48100
    @Sun48100 2 месяца назад +1

    This man is life saver!
    Spending my time for research for one hour and nothing, came to this video and just select allowempty selection!
    Thank man you are the best!

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

    My God. I have been fighting to get a people picker value to save all day long. You are a life saver, Reza. Thank you so much for all you do.

  • @Chgrtours
    @Chgrtours 2 года назад +2

    You are absolutley the best Reza ! You solve a chronic problem I struggle with for weeks in a couple of minutes. You killed the game!

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

    I am so thankful you made this video. You have saved me from many sleepless nights and hours of frustration trying to work out how to default the value for a lookup field in my app. Bless you!

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

      Glad I could help! Thanks so much for watching

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

    Nice, excellent. I searched days for this before I found your video. THX so much!

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

    Thanks for that. From today, morning I have been playing around to set the default value to Date. Thanks a lot.

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

    Very organized and crisply explained!

  • @kyleegray1652
    @kyleegray1652 2 месяца назад +1

    Thanks for this clip. Another great one! I note that changing the fill property of your dropdown to transparent t works great, but only where there is no other field sitting below, as this can then make it impossible to read the dropdown list.

  • @ManikandanNadar
    @ManikandanNadar 2 года назад +1

    great learning resource! Thanks for another awesome tutorial, Reza!

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

    Holy Hannah! Thank you! I’ve been struggling with this all day.

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

      Glad to know the video was helpful. Thanks for watching.

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

    Excellent video! It takes time to put video together, and for that, thank you so much!!!

  • @rohtashsharma3496
    @rohtashsharma3496 9 месяцев назад +1

    Your videos are very practical and very informative which we can implement ar workplaces. When , I am looking for a perticular solution and not able to find it - your videos are the rescue and never disappoint us.

  • @kamozzi1
    @kamozzi1 2 года назад

    This is great Reza. Was looking at each control default values. Thanks for doing it.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad to hear that. Thanks for watching.

  • @saanvipodduturi7199
    @saanvipodduturi7199 2 года назад +1

    This was really a great start up point, became a great fan of you!!

  • @dougydoe
    @dougydoe 2 года назад +2

    Excellent video. A really good one to revisit from time to time during projects. Thanks again,Reza.👍👍🙏

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad you liked it! Many thanks!

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

      hi ,
      i am looking for solution , where i am having yes no column on SharePoint list and i have made it radio button on form, but i am not able to retrieve value in form on edit mode,
      for example i have selected yes on new form, but when i again open it on edit mode so saved value doesn't retrieved.

  • @Sunilprakashsabbithi
    @Sunilprakashsabbithi 2 года назад

    Each and everything you do is very helpful especially for me. Thank you for much needed content.

  • @cmarkbernal
    @cmarkbernal 2 года назад +4

    This was a great beginner learning video and I needed the refresher!!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      So glad to hear that. Thanks Chantel.

    • @LaxmiPutraPawan
      @LaxmiPutraPawan 2 года назад

      Correct ☺️

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

      hi group,
      i am looking for solution , where i am having yes no column on SharePoint list and i have made it radio button on form, but i am not able to retrieve value in form on edit mode,
      for example i have selected yes on new form, but when i again open it on edit mode so saved value doesn't retrieved.
      Please let me know solution

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

    Your videos have saved me so many hours of troubleshooting. Any Google searches I do for a canvas app issue now include your name.

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

      So happy to hear that! My focus has been to make videos that cover challenges and scenarios that makers come across on a daily basis.

  • @pawanmishra6549
    @pawanmishra6549 2 года назад +1

    Thanks Reza , master piece as usual !!

  • @Amit4u4365day
    @Amit4u4365day 10 месяцев назад +1

    It's an excellent video - you're the best!🙏🏽🙏🏽

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

    Well done for yet another great and an amazing video. Excellent work and I will be using going forward. 👏🏼

  • @chinuna
    @chinuna 11 месяцев назад +1

    Thank you for ur tutorials! I really love them :) They are so useful for my work! And it's really good to understand as beginner :)

  • @muhammadgarba7162
    @muhammadgarba7162 2 года назад +1

    Great Video REZA !! Thanks

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

    Interesting videos as usual, I have learned a lot. Thank you!

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

    Thanks for this. I've been atr this all morning on my Combobox trying "bandname", distinct, lookup, filter, plaintext blah blah blah. Then on your video i see "["!!! So ["bandname"] worked.

  • @sosinamezemir2612
    @sosinamezemir2612 2 года назад

    Thank-you for great explanation .

  • @samitbhattacharya2201
    @samitbhattacharya2201 2 года назад

    At last got something, which can make my team members envy ☺️
    As usual 👍

  • @EubenM
    @EubenM 2 года назад

    Man, I ran into the problem of… (not joking) setting up defaults for Combo Boxes; I type Reza Dorrani and guess what’s the first video to pop up? Unbelievable, Reza! You are the man!

    • @EubenM
      @EubenM 2 года назад

      And I was amazed that the video was recorded a few days ago. It was really a JUST IN TIME, heavenly answer!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      So happy to hear the video is useful.
      Sadly the video has not performed as usual.
      I’m hoping over time more folks watch this.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Timing is everything :)

  • @romitu1
    @romitu1 Месяц назад +1

    Thanks a lot....extremely helpful vlog

  • @SAULSM17
    @SAULSM17 2 года назад

    Muy buenos ejercicios. Gracias!

  • @Cybermatik
    @Cybermatik 8 месяцев назад +1

    Thanks Reza, nice job for a tricky topic ;)

  • @SaniGarba
    @SaniGarba 2 года назад

    Well done Reza and Thank you.

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

    Thanks for another awesome content

  • @VictorGabriel-kl1cq
    @VictorGabriel-kl1cq 3 месяца назад +1

    Obrigado pela ajuda, Reza.
    Para quem estiver tendo problemas com a formula, tente usar " ; " ao invés de " , "
    Isso muda dependendo da região em que está.

  • @NandagopalB
    @NandagopalB 2 года назад +1

    Excellent Bro

  • @imran002ali
    @imran002ali 2 года назад

    Awesome video 👍

  • @ashkansaadvandi-cc8dx
    @ashkansaadvandi-cc8dx 8 месяцев назад +2

    Thank You Reza

  • @bhumz1
    @bhumz1 2 года назад +1

    Thanks Reza for another great educative video. Just a quick question - How is drop down control different from single select combo box and which one to use?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Differences between dropdown and combobox is explained in this video ruclips.net/video/zPM0Q53L3sE/видео.html

  • @favourokike856
    @favourokike856 7 месяцев назад +1

    Thank youuuu

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

    Thank you Reza for another awesome video. Your knowledge of Power Platform is one thing but your teaching style is something very unique and outstanding. a quick question issue I have with my app. The dropdown on my app has two choices Room No and Digital Only. I added a text input per your instructions so when users select Room No, they are provided with the text input to insert the room number. Everything looks good and the room numbers are being captured in the SharePoint list except the room numbers that are inserted in the text input don't retain in the datacardvalue. More specifically, it shows in a second and then disappears. I have the following codes:
    DataCardValue1 (DataCardValue)/Visible = Self.Selected.Value "Room No"
    txt_phyloc (Text Input)/Visible = !DataCardValue1.Visible, and
    PhysStorLoc_DataCard (Main Control Card) /Update: If(DataCardValue1.Selected.Value = "Room No",
    {Value:txt_phyloc.Text},
    DataCardValue1.Selected
    )
    appreciate any guidance/tips.

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

      Thanks!
      I do not have a video reference on this scenario and would have to try it out or reproduce your scenario to provide guidance. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @707jeevan
    @707jeevan 2 года назад +1

    Firstly your videos are amazing. Learnt a lot from you. Thank you very much. Can you please make a video on how to make a sharepoint list column accept unique value submission from form but if values submitted second time from form.. . It gets updated (it replaces old data) rather than making new entry..for example if I have an order number..new submission should not create another entry with same order number but update all the the other details/changes of that order number

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank You.
      I make videos when I get multiple requests on a particular topic.
      Every quarter I ask subscribers for topic suggestions on the Community Tab of my RUclips channel.
      Subscribers vote for topics and the highest voted topics get added to my backlog.
      Make sure you post this in the next topic suggestion post. If it gets a lot of votes, I will add it to my backlog.

  • @jonathansmith31
    @jonathansmith31 2 года назад

    Great resource as ever, wouldvbe great if you could do defaults for galleries.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thanks.
      Gallery defaults is something I have done in my gallery connected form video.

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

    Hello Reza brilliant video as usual, thank you so much, you have no idea how much your videos have helped me in my career, I really appreciate you.
    Please explain how I can set the default value of to be the value of an item in the previous list entry.

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

      Thank You!
      Idea would be to query for previous list entry, get the record and use its properties to set default value.
      Example: set(varPrevEntry, first(sort(datasource, created, descending)))

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

      @@RezaDorrani thanks a lot, I'll try it and give you feed back.

  • @akshat8899
    @akshat8899 2 года назад +1

    Thanks for the great video Reza. I have a question - What's the difference between Default properties of a datacard and its child control in SharePoint PowerApps form?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Child control default value points to parent control (data cards) default value.
      So best to always set default value at data card level.

  • @kumnegerholdings
    @kumnegerholdings 9 месяцев назад +1

    Thank You Reza. Saved me too much time. Question, how can I default to the logged in user email. I was able to default to the logged in user name per your example. I have a field to default the email address as well. How Can I achieve that?

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      Assuming its a text field, Simply use User().Email

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

    Thanks

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

    Reza!!! I❤U!

  • @KH-ui9gv
    @KH-ui9gv Год назад

    Hi Reza - Thanks so much for your videos. I have a question about setting the default value when a form is in Edit mode. How do you set the default value in edit mode for a combobox? Also can you also set it for a label that is being used as a field that is auto-populated by the combo box (the labels don't have a default control that I know of)? They are inside data cards though but the original input control was replaced (the combo box replaced a text field and an text label replaced an input column). FYI, the gallery and the edit form are on two different screens (if that matters). Also, I'm using a variable to tie the gallery and form together. Thanks in advance!

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

      Sorry but I'm confused with the question.I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @Joe-kj8bw
    @Joe-kj8bw Год назад +1

    Mr. Dorrani, thank you for your helpful videos. I am having a hard time figuring out how to set a default value in a combo box that is searchable and lists items from a function of Choices([@Record Of Mail].MailClerk) for example. I would like it to default to the mail clerk that is always on duty but have the ability to change if necessary, to avoid the clerk having to find and choose himself every time. I would think it is possible but I'm not sure how to code it.

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @vinaykothari434
    @vinaykothari434 8 месяцев назад +1

    Hi Reza,
    Firstly Thanks for another Great Video 👍🙏
    I have one question can we change the Text Color of InputTextPlaceHolder or NoSelectionText by default they are Greyish in color but I want to change it's text color, I can't find any property which could do that.

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      Most welcome.
      I don’t think we have an option for that.

    • @vinaykothari434
      @vinaykothari434 8 месяцев назад +1

      Okay I got it, Thanks for your response 👍

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

    Nice Video, Thank you Reza. Q: the Transparent drop down , stays transparent when opening the control to select value..

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

      Transparent dropdown? Can you give the time in video when I showcase it?

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

      6:09

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

      The dd opens as transparent list

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

      @@gitaiganor4100 I still did not understand the question. At time given, video shows dropdown which has values and please select label.

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

      @@RezaDorrani looking back at the Priority DD AFTER the Color(s) CB has created will show what I mean.
      Anyway I have solved it with variable that set value on selecting this Priority DD and set it's Fill property to white.
      THANK YOU!!

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

    Great Video as Always, If I use tabs based on status column how can I get default view of gallery items by selecting first tab and related items in gallery, once I opened app?

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

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @esraaaldn8452
    @esraaaldn8452 2 года назад

    Thank you Reza, I have a question if I have two combo boxes and I would like to assign the status by default based on the other selected item from the other combo box is that possible

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Possible. Default value of combo box 2 would probably look like
      if(form is in new mode code, combobox1.selected.value

  • @tracyqian1414
    @tracyqian1414 2 года назад

    Thanks a lot Reza! It's a very good video as your other videos.
    One problem which need your kind advice, after imported the sharepoint data into PowerApps, how can I set one datacard's value to automatically display the value which I choose from another datacard (combo box)?
    For example, one datacard(combo box) shows several choices, like A, B, C, D
    if I choose value A, then I hope this value A could be shown in another datacard(text input)
    Thank you!

    • @tracyqian1414
      @tracyqian1414 2 года назад +1

      It was solved, thanks!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Looks like it’s solved based on your reply comment

    • @RezaDorrani
      @RezaDorrani  2 года назад

      👍

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

      @@tracyqian1414 oh my gosh please post how :)

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

    This is awesome. Do you have a version for Dataverse?
    Example: For a Dataverse column that is a lookup to the Dataverse Users table, set the default value to the current user...

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

      I do not have a Dataverse version

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

      @RezaDorrani,
      I also using dataverse and face problem with setting default for combo uses lookup column. Any luck?

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

    Hi Reza, Appreciate your works. I am a beginner in powerapps (SharePoint List). Created an app for IT asset list form control. I would like to add a function , for example, when I select 'Laptop' from a dropdown, I need to set another datacard value (Text Box) 'LPT' . Similarly when I select 'Monitor' on the dropdown, I would like get 'SCR'. How can I achieve this? Could you please advise?

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

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Reza... Thank you once again for your incredibly helpful videos. I am having difficulty setting the default of my people picker to the current user after having closely following your instructions. I have an idea that the trouble might lie in that the data is stored in Dataverse rather than a SharePoint list. Can you offer any assistance? Thank you!

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

      Dataverse stores data differently than SharePoint. My demo is with SharePoint. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani Thank you.

  • @spen2431
    @spen2431 2 года назад

    Amazing 💥💥 qq - How did you sort the custom order of your choices fields? 🤯

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I believe you can sort the choice column values in SharePoint itself now.

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

    Thanks Reza! - Would a Yes/No type column work the same?

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

      Not a fan of Yes/No type columns rezadorrani.com/index.php/2019/04/14/powerapps-filter-sharepoint-yes-no-column-bug/

  • @monikareddy326
    @monikareddy326 8 месяцев назад

    Hi Rezza, your videos are helpful in learning PowerApps.. I am new to this one where I need to create an app using powerapps.. I created 4 dropdown controls in my screen and one data table.. based on the selection of values in drop down control, the data table shows relevant values.. somehow I achieved it but the drop down values are overlapping with the data table present below those dropdown controls.. how can we avoid that overlap of text? When we select drop down values, it should show all the values in drop down with out overlapping with other content in the screen.. please help me

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      Hi Monika,
      Thanks for watching and liking the videos.
      I have not come across the mentioned scenario and hence not sure what the reason for your overlap text issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Hello Reza, great video and explanation, I have quick question, I am trying to have a form with a datacard that contains a people picker (in form 1 associated with sharepoint list 1), I want to allow only to list a limited set of people from a person column that is in sharepoint list 2. So that when form 1 is submitted it patches only the preselected person form the set in sharepoint list 2. Perhaps can you provide a hint on how to achieve this?

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

      This is something I have not attempted. You could add a combo box control in data card and point it to list 2 which has the people list.
      You would need to ensure that data card has the correct format defined for a person type column. I will also recommend checking on forums in case someone has done something similar powerusers.microsoft.com

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

      @@RezaDorrani Hello Reza, I managed to use lookup to pull the person from list 2 and show it in the combo box, plus the code you shared to correctly pass the person when submitting form 1... 😀

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

    Hello Mr. Reza, Thanks for your great tutorials!
    I have a problem with my Powerapps. I have a "Role" dropdown stored in a "User" data source.
    "Role" contains ["Admin", "Manager", "Agent"] and I want to compare one of these values with a string to test the Role of the user when he open the application.
    I use the Value function but it doesn't work.

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

      I will have to look at your App in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Hi, would like to ask how to set the default value of the dropdown control using a text label text value which is set by a formula. Thank you

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

      Simply set default of dropdown as shown in video. Just replace the value part with your label value.

  • @ricci.hidalgo
    @ricci.hidalgo Год назад +1

    Great vid as usual Reza! I couldn't find a way to set the date picker field in blank (through the InputTextPlaceholder property) while also leaving the possibility of choosing a date from the calendar of that date picker, which should default on today. Any idea would be very much appreciated!

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

      I did not understand the question. You can simply set default date to Today() and set input text placeholder to empty string.

    • @ricci.hidalgo
      @ricci.hidalgo Год назад

      @@RezaDorraniSorry I'm not clear enough. Maybe this will clarify: If I set default date property to Today() and then the InputTextPlaceHolder property to an empty string, then the default date is displayed in the date picker field box instead a blank which is what I'm after.

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

      @@ricci.hidalgo It would since there is a date value. Its not possible to have a value and show input text placeholder.

    • @ricci.hidalgo
      @ricci.hidalgo Год назад

      @@RezaDorrani Exactly, so the input text place holder does not do anything if I assign Today() to the default value property. On the other side, if I assign blanks to both the default value and input text place holder, then the date picker field box displays blank as expected but the date picker's "calendar date selection" (which usually popups at the right side of the date picker) doesn't work anymore even though it is required to select a date (Today by default). This probably happens because the date picker's "calendar date selection" doesn't know what date to default on.

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

      @@ricci.hidalgo I think Im confused. It would be best to post your issue with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza, this is good informative, kindly let me know, lookup field not working for date format its visible number format (i.e. 44,745) please guide me how to change as date format. Thanks

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

      I would have to recreate your scenario to provide the steps. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @ishantgupta8733
    @ishantgupta8733 2 года назад

    Hi, your video is great it helps on Many points.
    can you help me to set lookup values based on email?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I cannot help here on chat.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

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

    Excellent video. In my case, the default value is displaying in the field; however, it is not being added to the SharePoint list. Is there something I'm missing?

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

      I will have to look at your App in action to know the reason for your issue. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani Thanks for the response. I have posted I was just reviewing comments from video and thought I would comment. Thanks again...I have learned a great deal from your videos.😀

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

      @@ImGumby49 can you add the link to your post in powerusers? I couldn't find it and I'm having this same issue. Update, I found the information on another site. The update setting needed to look like this. {
      Value:DataCardValue9.Selected.Value,
      Id:
      LookUp(
      Departments,
      Title = DataCardValue9.Selected.Value
      ).ID
      }

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

    Thanks Reza!! for such nice videos. I have one question,if we have combo box in which data is coming from SharePoint list , single line column then what should write in DefaultSelectedItems . Because I am not able to see my submitted data in view or edit mode. How can do this?

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

      Combo box in single line text? I did not understand your question.

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

      @@RezaDorrani there is a list in SharePoint which has a column named " Account no" (Type : Single line of text). Getting these values in Power app using combo box, So that user can search or select the value but once the form has been submitted successfully and save data in another list but when I open form in edit or view mode, combo box shows blank/ empty.

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

      @@alkaprakash2301 I do not have a video reference for your scenario and would have to try it out to provide guidance.
      I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

      @@RezaDorrani thank you so much for your response!! But now I did it after struggling so many hours 😊

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

      @@alkaprakash2301 How did you do it?

  • @shanemammen3624
    @shanemammen3624 11 месяцев назад +1

    Hi Reza, @5:40 - instead of prompting the user to "please select" on a dropdown field, can this be done on a text input (value) field? Given there is no Fill function to set as transparent.

    • @RezaDorrani
      @RezaDorrani  11 месяцев назад

      Simply use the placeholder text property for a text input field

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

    Hi Reza, why would you change your combo control to only allow single selections rather than using a drop down control?

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

      Difference between dropdown and combo box ruclips.net/video/zPM0Q53L3sE/видео.html

  • @kaiserchiefep
    @kaiserchiefep 2 года назад

    Hey Reza! Thanks for your videos. Do you know if it is possible to create a heat map within power apps? But not based only in maps but in any image ( for example show in red when an area is full)

    • @RezaDorrani
      @RezaDorrani  2 года назад +2

      Power BI is ideal for that. You can add Power BI Tiles and Reports in Power Apps.

    • @kaiserchiefep
      @kaiserchiefep 2 года назад

      @@RezaDorrani yes! I have tried that solution and works, I use a tool called synoptic panel. However due to the client requirements I only can use PowerApps since there is no licensing purchased for PBI.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@kaiserchiefep Im not sure how it would work in power apps alone. I will recommend checking on forums at powerusers.microsoft.com in case someone has done something similar

    • @kaiserchiefep
      @kaiserchiefep 2 года назад

      @@RezaDorrani.

  • @johanynavarro8065
    @johanynavarro8065 2 года назад

    Legend!!!! Quick question... Why not to put all of those network calls (choice(), LookUp(), Office365()...) Into collections? Obviously if the options to display are not many!!! Keep it out man, your work is awesome

    • @RezaDorrani
      @RezaDorrani  2 года назад

      In data cards, the controls and columns using lookup, choices etc is out of the box. There is not much of an impact on performance. Loading into collections will add more complexity.

    • @johanynavarro8065
      @johanynavarro8065 2 года назад

      @@RezaDorrani that's why you are a legeeeeeenddd! Thank you buddy

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@johanynavarro8065 Your most welcome

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

    Hi Reza I want to know if we are creating any record in dataverse and it has some lookup attributes then how do we handle null values in power automate flow.Suppose account lookup is blank then while creating new contact set account lookup blank else with the value.

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

      This is not something I have come across or tried hence not sure. I would recommend posting your query on forums at powerusers.microsoft.com

  • @AshishKumar-bv1lw
    @AshishKumar-bv1lw 11 месяцев назад

    Applying transparent color to the fill property of drodown is making even the options fill also transparent. Due to which the backend content is appearing with drop-down values. Any other setting we need to do apart from the fill property?

    • @RezaDorrani
      @RezaDorrani  11 месяцев назад

      I have not tried other options since the time of this video. I would recommend checking on forums in case someone has a better option
      powerusers.microsoft.com

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

    Hi Reza, thank you again. I have a question, it's possible using 2 datacardvalue with User()FullName where the first one is when a user is adding a new element in SP list and the Second if when is editing the form. How I can do that? I asked in PowerApp comuunities but nothing

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

      That sounds like a weird scenario. You can use the form mode to check if form is New or Edit and then accordingly set the default value. I have not done this or have a video reference for hence providing an outline. Forums would be your best bet though irrespective of you getting an answer or not. Please not forums is a free platform and you may or may not get a response.

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

      @@RezaDorrani Yeah is weird, Tha's the problem My customer have some external clients that needs to make a request using a form in SHP list and my customer answer that form with their info. And they want in datacard1 names from that clients and in datacard2 want the names of my customer anwser the forms

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

      @@rauseomo Give what I mentioned a try and keep trying on forums. If urgent, then look at getting consulting help

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

    I am running into a issue when trying to pass a user to a sharepoint form field-- I have both a manager and current user field (both people pickers in sharepoint) -- your code populates properly (visually) on powerapps show the users name and the managers name in the form dropdown but when I select submit (which just is SubmitForm(FormName)), I get an error "Network error when using patch function: The requested operation is invalid. Any idea what is causing this? Thanks for these videos -- you are a savior!

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

      If you are using the form controls suvmitform function then how come the error is related to Patch function?
      I would need to look at your app and scenario in action to know about the issue.
      I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @marienaalvarez8235
    @marienaalvarez8235 2 года назад

    Thanks Reza! Amazing video. I am working on a project that is a survey. For example:
    Do you live alone
    Yes
    No
    If the answer is No a have to save a code on another table. How do you recommend I do that relationship based on the options selected.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Use the Patch function when No is selected.

    • @marienaalvarez8235
      @marienaalvarez8235 2 года назад

      @@RezaDorrani Thanks. Do you have any videos on the subject?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@marienaalvarez8235 I did a video on patch long back.

  • @yehunlavolontededieu322
    @yehunlavolontededieu322 2 года назад

    Q: Hey Reza please quick question , Have you ever made a video based on " combo box " resetting /clear /deselect?
    Scenario: There is a loop back n forth for approval process, Upon manager needs clarification he returns a given request back to PM , So the PM modifies and needs to notify the manger using the same "Concur" choice from combo box but once you select a choice in combo box it doesn't reselect the same choice and trigger the wf in order to notify the manager .
    Your answer much appreciated. Thank you .
    I tried Reset (datacard) , something else no avail. It's SP Form with patch .
    😣Once selection made in combo box & saved it's stuck no way reselecting same choice in order to trigger same wf

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Combo box video ruclips.net/video/zPM0Q53L3sE/видео.html

  • @bamboofireworks1779
    @bamboofireworks1779 11 месяцев назад

    hey Reza, i thaught that you do a video about addíng new value to dropdownmenu so it is also added to dataverse or sharepoint. But i dont find this video. Can you Explain what i need to do?

    • @RezaDorrani
      @RezaDorrani  11 месяцев назад

      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

  • @thotapriscill9536
    @thotapriscill9536 2 года назад

    Hi Reza, I want to schedule a flow which should be scheduled to run only on 1st 3rd and 5th working day or Business Day of every month. I need to add that condition in Setting of recurrence trigger where we add conditions. Please help me if there is any such condition. Thanks in Advance.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a video reference on it and will have to try it out to provide guidance.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @richygardiner1
    @richygardiner1 5 месяцев назад

    Hi Reza, at 4:18 you run through how to set Default for Drop Down, however the modern control is "DefaultSelectedItems", what would the code be to select the default for the modern control DropDown?

    • @RezaDorrani
      @RezaDorrani  5 месяцев назад +1

      Something like [default value]
      Im guessing

    • @richygardiner1
      @richygardiner1 5 месяцев назад

      Yep works like a dream @@RezaDorrani 😀

  •  2 года назад

    This Set "Please select" with transparent Fill for Dropdown_1 works fine if you expend the choices against a white (solid) background, right?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Ya I did notice that.
      Here is another trick for it.
      Do not make any changes to Fill.
      Bring please select label in front of dropdown. Ensure its width does not go over the icon to open dropdown control.
      It should work fine.

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

    Hi
    I have linked a sharepoint list with a powerapps form.
    in those powerapps, 2 fields include "requestor"(type person or group) and "Department" (choice field).
    How can I have the "department" field filled in automatically by checking in the sharepoint list what the "requestor"'s department is.
    I suspect via a lookup function but I can't get this fixed. Can you give advice?
    thanks

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

      You would need to query Office365Users connector to get requestors department and then apply it. I do not have a video reference on this scenario. You can give it a try and in case of issues, post the query with screenshots on the forums at powerusers.microsoft.com

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

    Hi Reza
    I am trying to update my choice column to “check in “ on the onselect of a button after submitting a form

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

      Use Patch function - ruclips.net/video/BzZ0a3zRFUk/видео.html

  • @vaishakr3403
    @vaishakr3403 8 месяцев назад

    Hi Reza, I have a question. In my two SharePoint lists one column (Say Part number is same). In the power app, I have one Editform related to list 1 and I should just read (lookup)some columns which have the data in List 2 . Also the attachments are in list 2. how do I do it?

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      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

  • @raushanpathak7047
    @raushanpathak7047 2 года назад

    Hi Reza, I have a created a people search directory using PowerApps and wants to redirect users to their Delve Profile after clicking on selected items??
    Can you suggest?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Suggestion would be to get url of delve profile. See what param you need to pass to open a specific users profile and then use Launch and open that URL.

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

    Hello Reza, I cannot thank you enough for your videos. I reference them a lot when I create apps, I really don’t know how I would survive the corporate world without you, #TrueStory.
    I have a question, I have a sharepoint list that is pre populated with a few user details like name, site and travel allowance. I want the default values for the form to be the values already captured in that sharepoint list and the user have the use only fill in the values that are not populated how do I set those defaults?

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

      Thank You!
      A list is pre populated with data - meaning it has items.
      If user is creating a new item - how would it pre populate already existing items?
      Im not sure about how this can be done.

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

      @@RezaDorrani i think my approach was wrong,sorry about that and thanks because I had an “aha” moment. Let me rephrase my question. Is it possible to have default values based on the logged in user?

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

      @@xoliswamazomba80 possible

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

      @@RezaDorrani how does one achieve that?

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

      @@xoliswamazomba80 depends on what default values you trying to set (column types, etc). I do not have a specific video on this scenario. I would recommend checking on forums in case someone has done something similar

  • @kritijain1291
    @kritijain1291 2 года назад

    Hi Reza, Thanks for the video
    I have one question that in my SharePoint list I have created an item and when I go and edit the item it gets autopopulated with the values that I have selected but one field every time gives error that please select the mandatory field even though it is already selected. Then I have to reselect the same value and save the item.
    So how can I resolve this error if the field is already selected. Please help.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your App in action to know why that one field is causing that issue.
      I cannot guess the issue here on chat. There could be many reasons. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Hello Reza, I have a drop with value 'ALL' in a power app form, if the user picks ALL they should not be able to select other values in the multi select choice column - how do I resolve this

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

      I do not have a specific video on this. Il recommend posting your issue/query with screenshots on the forums in case someone has done something similar
      powerusers.microsoft.com

  • @deuts
    @deuts 3 месяца назад

    From your demo, when setting default values in a form, I understand that you set the default at the DataCard level. Is it also okay to set the default at the input control level? If it is, given the choice, which is the preferred approach? What will be the pros and cons?

    • @RezaDorrani
      @RezaDorrani  3 месяца назад +1

      Setting at data card is easier but you can also set at control level. It’s your choice.

    • @deuts
      @deuts 3 месяца назад

      @@RezaDorrani thanks Reza. What about changing the text format, say a number to "#, ##0. 00"? In the datacard level or control level?

    • @RezaDorrani
      @RezaDorrani  3 месяца назад +1

      @@deuts Not something I have tried so not sure. Ultimately its simply representing data. In backend it will store data in format specified.

  • @scorp3053
    @scorp3053 6 месяцев назад

    Does the following code still work? When I type it in PowerApps gives me a red squiggly line under mode. If(Parent.Mode =FormMode.New If something has changed, how can I fix it? Thanks. Your videos are really helpful.

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      Im not aware of any changes since.
      I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @madhusudhanarajusarikonda5173
    @madhusudhanarajusarikonda5173 2 года назад

    Hi Reza, I have a question for you. hope you answer my question.
    Question: I have a document library with different type of documents (Ex: .txt, .docx, .pdf, .xlsx etc)in SharePoint online. I am able to search on the metadata. But, I would like to search a string value in document content. Is it possible to search a sting value over content in different files?
    Thanks in advance!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I am not sure if searching within the document is an option. My guess is No.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @kanukuntlasaijyothi9101
    @kanukuntlasaijyothi9101 2 года назад

    Hii can u plz upload the full and complete video of the leave request from the beginning.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I make videos when I receive multiple requests on a topic. I have a long backlog of videos lined up. I have already done 2 videos on leave request. I will probably not be doing a video on it but I have some live training in planning for later in the year. I might include leave request as a use case there.

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

    Hi, I want to show a field on the form only if it has value else it should not show up. Can you please help me what will the OnVisible function here ?

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

      If field will not show up, how will the user fill it?
      If its based on another field having value, you can use isblank

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

    Hi Reza ,Can we resize the InputTextPlaceholder ?

  • @princeofchaos
    @princeofchaos 3 месяца назад

    HI Reza, i have SQL database, i have my Form for Workers, i need to display a dropdown with 'city_names' from table 'cities', and save the 'city_id' in the form for Workers, in Workers_city. how can i do it?

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

      I have done no work with sql hence not sure

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

    Hi Reza, What if the dropdown is a required field, how to set a default to blank then if to consider that AllowEmptySelection property cancels the required option, am I right? Thanks a lot for you work!

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

      Sorry but I did not understand the question. Allowempty cancels required?

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

      @@RezaDorrani If I have a dropdown and its Required property is set to True. I change AllowEmptySelection property also to True, will the Required property still be true/work correctly considering it is allowed to select the empty value?

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

      @@tatianacogoluegnes6641 You can give it a try and see how it works. I have not tried this one.

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

      ​@@RezaDorrani The "Required" property is checking whether the field contains data or no, when you enable AllowEmptySection it will confirm that data is present even if the field is empty.

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

      @@tatianacogoluegnes6641 Im not sure what can be done for this scenario.

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

    Hi Reza,
    once i have default value, how can i clear / reset the text field? thank you

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

      If you reset, it will go back to default value. Simply reset the form control.