Mate great video. You made my day easy, everything I was looking for at a single place 🙌🙌
@RezaDorrani4 жыл бұрын
Thank you
@RezaDorrani4 жыл бұрын
Thank you Vikram
@amanchourasia1870 Жыл бұрын
@@RezaDorrani Hi , but i wanted to store multiple users in one record, that multiple users are coming from another share point list in a gallery, on check i am creating collection and i want to patch the selected users by checking check box and store that into collections and wanted to patch that to store in one column
@RezaDorrani Жыл бұрын
@@amanchourasia1870 I do not have any video references on this use case. I recommend posting your scenario on forums powerusers.microsoft.com/
@ImranAmiKh4n4 жыл бұрын
This is how every tutorial should be done. Slowly broken down in parts and explained step by step. Thank you Reza
@RezaDorrani4 жыл бұрын
Thank you Ami
@RezaDorrani4 жыл бұрын
Thank you for watching
@saigonpilots70632 жыл бұрын
I'm a very lazy dude but with this I have no more excuse to procrastinate. Thanks, Reza. BTW, you made me stopped wasting my life watching all other KZbins LOL!!!
@RezaDorrani2 жыл бұрын
Thanks for watching. Hoping to make this channel cover most bases of power platform.
@saigonpilots70632 жыл бұрын
@@RezaDorrani Thanks! I'm working on migrating my MS Access apps to MS PowerApps. I'm very interested in the topic of generating reports, especially complicated reports, which Access is very capable of. Watching your tuts on pdf, very helpful and practical (of course!). Greatly appreciate!!!
@sergiocarreno15293 жыл бұрын
Reza, I do not know you, but thank you so much, I spent several hours until I found your video...you are great.
@RezaDorrani3 жыл бұрын
Glad it was helpful! Thank you for watching.
@dasajeeva68753 жыл бұрын
Your channel is enough to build a full fledged business application in PowerApp! . Thank you so much Reza.
@RezaDorrani3 жыл бұрын
Wow! Thank you.
@JoeriBlomberg4 жыл бұрын
Video after video you prove that I didn't subscribe for nothing. It's simple, yet very complex and this (important!) stuff is not in the MS documentation. Thanks a lot again. For reference when I come back - I'm sure I'll check this video more than once - let's note that the summary starts at 20:00, which is brilliantly timed 😉
@RezaDorrani4 жыл бұрын
Thank you for the wonderful feedback. The timing on the summary was indeed perfect 😉
@GrEgO1695 ай бұрын
For anyone wondering how to patch attachment column, you can, but for any reason, you have to write at the end of your patch function : patch {….}, form1.updates, form1 this edit form where the attachment component is, and it works !
@RezaDorrani5 ай бұрын
It works only if you are actually using a form control. Without form control (form1.updates), you cannot patch to attachments column.
@davidjimenez89524 жыл бұрын
Again, very important video if you want to success with powerapps! thank you Reza.
@RezaDorrani4 жыл бұрын
Thanks for watching David
@robertsummerford63682 жыл бұрын
The User patch was spot on. Thank you! Also, thank for the link to the code, you saved my a lot of time.
@RezaDorrani2 жыл бұрын
Glad to hear it!
@indeeed010 ай бұрын
One of the most usefull video about Power Apps and SharePoint. Thank you for these high quality videos.
Thank you Reza. Finally I got the solution to patch the different column types.
@RezaDorrani2 жыл бұрын
Glad to hear that! Thanks for watching.
@vasylsalyk1652 жыл бұрын
Hi, Reza, your videos, as always, saved me many hours of headaches. Now, knowing all these principles I can build complex features. Thanks a lot again.
@RezaDorrani2 жыл бұрын
Great to hear! Thank You so much for the feedback.
@平野誉之-y8y2 жыл бұрын
That’s great video! I looked for the way to use patch function to choice column, but, it was difficult to find in Japanese content. This video is very helpful for me. ありがとうございます。
@RezaDorrani2 жыл бұрын
Glad it was helpful!
@ArohShukla3 жыл бұрын
this video is a gem ...all scenarios covered with precise details step by step .... I just love it. Thanks a bunch Reza!!
@RezaDorrani3 жыл бұрын
You are most welcome Aroh
@fritznie44564 жыл бұрын
Best channel i have subscribed so far. Great as always! Thanks!
@RezaDorrani4 жыл бұрын
Thank you for your kind words. Will try my best to keep posting relevant and useful information.
@ElCz182 жыл бұрын
Thanks a ton for another great tutorial, Reza. Just wished I had found your video wayyyyyy earlier in the day 😅
@RezaDorrani2 жыл бұрын
It’s never too late :)
@mauroquinteros87834 жыл бұрын
Man this is amazing, excelent way of showing EVERYTHING, I love it, really good !
@RezaDorrani4 жыл бұрын
Thank you Mauro
@iferrari12 жыл бұрын
Ευχαριστούμε!
@RezaDorrani2 жыл бұрын
Ευχαριστώ
@shailajawarkar55832 жыл бұрын
Thanks sir for power apps videos in simple language
@RezaDorrani2 жыл бұрын
Your most welcome
@vanderstraetenmarc4 жыл бұрын
Learned a lot, especially the one on the Lookup columns. Well done!
@RezaDorrani4 жыл бұрын
Thanks Marc
@akkaradechsrithongchai77662 жыл бұрын
Ultimately , I found solution here !!! Thank you.
@RezaDorrani2 жыл бұрын
Welcome 👍
@pavan3008912 жыл бұрын
Hi Reza, your awesome. Each and every video of your is very informative and easy to understand for beginners like me. One quick question on this. Say for my requirement I just have a form which need to update and I'm using PATCH function and there is no Gallery or DataTables to select from. But however I'm having a Dropdown in PowerBI to filter this Form(Power BI and PowerApp integration). So in this case is there a syntax which I could use in this place of Defaults(Source_Name)? Because I cannot use Lookup nor First nor Filter functions.
@RezaDorrani2 жыл бұрын
Thanks Pavan. Even in case of power bi and power apps integration, the home screen will have a gallery. Check kzbin.info/www/bejne/a6qVm32vfZl4q5I Defaults is used only when you want to create new item. When editing data for form, you will need the item context.
@jhhatcher18854 жыл бұрын
Great walkthrough, question - do you ever work with collections? If so, how do you use a dropdown and or a datepicker in the collection and patch it to a sharepoint list?
@RezaDorrani4 жыл бұрын
I am actually working on a video that showcases how to patch data held in collections for entire record data. That video should be out coming Tuesday.
@moiseclaudia68813 жыл бұрын
Hi Reza! Please, do you have any video for beginners, about collections? Thank you!
@RezaDorrani3 жыл бұрын
Currently No. But is a high priority video in my list.
@mohansrinivasamurthy87704 жыл бұрын
Thanks for your valuable videos Reza. Can you please advise how do i create a list with O365 users automatically? Is it possible?
@RezaDorrani4 жыл бұрын
You can use the Office 365 Users connector to list all the users in your Power App
@D63JOE4 жыл бұрын
This video was super helpful, thank you. I'm having an issue with the Patch function in which I want to keep the records that already exist in a multiple select field, but simply add an additional record. To be more specific I have a multiple select people field in my sharepoint list. If record already contains others in the column I want to keep them there, but also add the user to it. Not sure how to keep records that are already in the column and add another record without completely replacing them.
@RezaDorrani4 жыл бұрын
You should store the existing values related to the field in a variable. Then let user make new selections and prior to patching merge the existing and new selection values. Also, ideally you would want to show the existing values to the user so they can just update them. If you need more assistance I would recommend posting your query with screenshots to the community forums powerusers.microsoft.com/t5/General-Discussion/bd-p/PowerAppsForum1
@philglew-deval3 жыл бұрын
Really helpful video. Would this patching be the same to Dataverse?
@RezaDorrani3 жыл бұрын
Patch function syntax would be same. But the column types and formats used for Patching would be different.
@hannahkays77712 жыл бұрын
This was very helpful to gather the user information from 365 however, what is the formula or input to retrieve the manager's information? I've tried multiple codes/inputs and I can't seem to figure it out.
@RezaDorrani2 жыл бұрын
You would need to use the office 365 users connector to get that information. I do not have a video reference on this scenario. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.
@sandrinefournier61062 жыл бұрын
Great Video. I need to do the same thing than you with "subject" but my "subjects" refer to an another sharepoint list as your "class". So There is a multiple selection i need to patch in a column with multiple choices and these column refer to an another list. How can i pass multiple ids?
@RezaDorrani2 жыл бұрын
Tough to understand your question without looking at your App in action. I would recommend posting your query with screenshots on the forums at powerusers.microsoft.com
@pricillajackline72584 жыл бұрын
Excellent video!!....i have a scenario where the entries are made in sharepoint list directly as its used by different teams, i have developed a power apps for a particular team where they want a text box value to be summed up each time when the particular ID is selected from the drop down....the problem that am facing is i want to alter only one column but since there are few mandatory columns in sharepoint list its asking me to patch a value for those columns, but i dont want to alter any other columns....is there a way to do this
@RezaDorrani4 жыл бұрын
Hi Pricilla , If you are using Patch to create a new record, then all mandatory columns need to have values. If you are using Patch to update a record, then you can update your fields of choice.
@pricillajackline72584 жыл бұрын
@@RezaDorrani got it,thank you
@briancanfield29682 жыл бұрын
Superb overview - thank you! 👍👍
@RezaDorrani2 жыл бұрын
Thanks Brian
@jimfitch4 жыл бұрын
Great tutorial, Reza! Thank you. Perfect timing, too. I’m customizing the Edit form for a new SP document library & really struggling with updating complex data types (choice columns with user fill-in, multi line text columns, yes/no). This video will help tremendously. Looking for to the next one & checking out Audrie’s as well.
@RezaDorrani4 жыл бұрын
Thank you Jim. Glad it was useful. Audrie is one of my favorites too.
@webdevca3 жыл бұрын
I concur with @Jim Fitch. I was banging my head on my drop-downs using lookup columns, i realize I need to do the drop-downs as choices(…), then every else is easy.
@golfnutt8 Жыл бұрын
Hi Reza, Always appreciate and enjoy your instruction. I am trying to write a patch to update an existing record. I am not using a gallery. I get an error when attempting to patch a people / group field. My patch function states an error "Network Error when using patch function: The requested operation is invalid. Can you tell me what I should be looking for when that error comes up. It is not very clear
@RezaDorrani Жыл бұрын
I have not come across this issue, hence not sure what the resolution would be. I would have to reproduce your scenario to know the next steps. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@golfnutt8 Жыл бұрын
@@RezaDorrani I did and not getting any responses that are helpful. A couple people asked me to post my patch function which I did but without response
@RezaDorrani Жыл бұрын
@@golfnutt8 Forums is a free platform. You may or may not get the best response. I do not have any bandwidth to validate this and hence asked to check on forums.
@golfnutt8 Жыл бұрын
@@RezaDorrani Its no problem, I was just wondering if you had heard of anything concerning this. Totally understand you are busy. Again, your videos are amazing and we learn a lot from them.
@RezaDorrani Жыл бұрын
@@golfnutt8 Thanks for understanding. I have not heard anything on this one.
@fawzyel-fakharany56224 жыл бұрын
Thanks Reza, it is great video. Do you know how to patch person field with null?
@RezaDorrani4 жыл бұрын
Thank you and you really asked me a question that got me thinking. I found the solution and I would surely be sharing this soon on my twitter handle @rezadorrani. Credit to you. Your need to do 2 things 1 - Go to experimental feature and turn on formula level error management 2 - Patch your person column as follows PersonColName: Blank() Let me know how it goes.
@itstiktok87652 жыл бұрын
Thank you Reza. I want to include an auto increment in my list. Want function do I use to patch auto number starting from 1 --- to my SharePoint list? I'm running a powerapp survey
@RezaDorrani2 жыл бұрын
SharePoint already has a column called ID which is a unique auto number column.
@itstiktok87652 жыл бұрын
@@RezaDorrani Thank you. And do you have any recommendations on how I can generate graphs for my PowerApp survey? I tried web part chart on SharePoint but it didn't work out because my survey responses do not contain number values. All responses are I'm text.
@RezaDorrani2 жыл бұрын
@@itstiktok8765 I do not have a video on this scenario. I would have to try it out to provide guidance. I will recommend posting your query on the forums at powerusers.microsoft.com
@iancrosby72654 жыл бұрын
Great reference video for all column types, thanks. I’ve come across an issue though with a sharepoint look up column. My list uses a site column which looks up to list on the root site in the site collection however if I try to patch to it the lookup field isn’t visible. If the look up points to a list on the same site then all is well, but not if it is looking at the parent site. Any ideas?
@RezaDorrani4 жыл бұрын
Hi Ian, Great question. I have not tried it. My guess would be that you would need to include some sought of relationship with the root site. Modern SharePoint world is flat, meaning you build site collections and not sub sites. You can also relate sites together using the new hub features. There is also new CT hub publishing features coming soon.
@iancrosby72654 жыл бұрын
@@RezaDorrani Many thanks for your reply. I am finding your videos very helpful. My issue comes from having a legacy sharepoint set up with a large hierarchy of sites and sub sites. Following the demise of sharepoint designer it’s a shame MS didn’t consider backward compatibility with power apps functionality. I’ll investigate the hub features you’ve mentioned and see what they have to offer as a solution. I don’t suppose you have done a video on them as well, have you. Many thanks again.
@RezaDorrani4 жыл бұрын
@@iancrosby7265 I have not done videos on SharePoint but have been working on SharePoint since 2007 :) Here is the reference documentation for hub sites - docs.microsoft.com/en-us/sharepoint/planning-hub-sites
@talipdurgun16243 жыл бұрын
Hi; Time: 13:40 How are the details unlocked?
@RezaDorrani3 жыл бұрын
I did not understand your question.
@lll8094 жыл бұрын
dear reza thanks for the video.do you know how to patch crm yes/no toogle from power apps please.i got two radio buttons yes,no in powerppas if i select yes from powerapps and click submit it needs to update in crm .toggle should change to yes and vice versa .i tried path in if condition i am getting errors some how
@RezaDorrani4 жыл бұрын
This video is purely focussed around Power Apps. For CRM (CDS) the format for patching is a little different. When you are Patching for Yes/No type column in CRM use 'colName (EntityName)'.Yes where colName - is name of your field and EntityName is name of your entity.
@lll8094 жыл бұрын
@@RezaDorrani thanks very much will try that
@alangustavo82493 жыл бұрын
Great video Reza! Thanks!
@RezaDorrani3 жыл бұрын
My pleasure!
@pr0fessorMor4 жыл бұрын
Thanks, learned a lot from this!
@fritznie44564 жыл бұрын
Yes, great video!
@RezaDorrani4 жыл бұрын
Glad it was helpful!
@RezaDorrani4 жыл бұрын
Thank you
@RameshTime3 жыл бұрын
Excellent Video, Please tell us the remaining topic videos.
@RezaDorrani3 жыл бұрын
Check the community tab on my channel. I share all info about upcoming videos there.
@golfnutt82 жыл бұрын
Hi Reza, your videos are always great. What is the best practice for a multi select combo box when multiple choices are made or updated? Can this patch function be updated to handle that? Thanks again.
@RezaDorrani2 жыл бұрын
Yes, works with all column types except attachments. I did a recent video on Patch function (check if that helps) + video description has link to a blogpost I wrote on Patch function and all SharePoint column types.
@golfnutt82 жыл бұрын
@@RezaDorrani Thank you, I missed the link to the blog. Very informative and have added my email. How am I able to add not only my multi select lookup choices and my other fields to the same patch and how is patch used with Table as you show? I know your busy, so I apologize for bothering you; I'm just struggling to make this work for my project.
@RezaDorrani2 жыл бұрын
@@golfnutt8 I do not have a specific video on that. And would have to try it out to let you know how. I would recommend posting your query with screenshots on the forums powerusers.microsoft.com
@golfnutt82 жыл бұрын
@@RezaDorrani I did and I have found multiple functions that look like they would help but not with what I am doing. For all I know, being somewhat new to this, is I may be going about this all wrong. I will keep looking. Thanks again.
@javiergarcell30752 жыл бұрын
Is this the best way to post to a list if you are brining in multiple data sources? I am still learning and so far this seems to be the only option I see. Any insight on this would be greatly appreciated.
@RezaDorrani2 жыл бұрын
Patch and SubmitForm are your options
@ronpalyok3212 Жыл бұрын
Excellent Video! As are all of your videos. Question, I see on the Video "Patch function with SharePoint Columns" you have "ID of item created". Can you tell us how you did that from Sharepoint? Thank You so much for your great Videos!
@RezaDorrani Жыл бұрын
ID is created automatically in SharePoint.
@ronpalyok3212 Жыл бұрын
@@RezaDorrani Thanks for the quick response, but how do I get that ID in Powerapps to use after it is automatically created in Sharepoint?
@RezaDorrani Жыл бұрын
@@ronpalyok3212 When you get the item, you will get the id also.
@ronpalyok3212 Жыл бұрын
@@RezaDorrani Wow how quick!!! If I patch a record, how do I get the ID
@RezaDorrani Жыл бұрын
@@ronpalyok3212 Simply save the response of patch in a variable. Set(x, Patch(...)) x will have all the data you need.
@xclone2k3 жыл бұрын
Reza, do you know if there is a way to patch an Attachment to a SP list. I took the control from another form connected directly to a SP data source but when I try to use a collection with a different structure I cannot map the patch to the attachments field. Any thoughts?
@RezaDorrani3 жыл бұрын
Patch statement does not support attachments. You would need flow - kzbin.info/www/bejne/nWqmmYyricmBmpY
@xclone2k3 жыл бұрын
@@RezaDorrani thank you Reza.
@subrataranjanpal65184 жыл бұрын
Really, very useful , Thank you so much !!!
@RezaDorrani4 жыл бұрын
Thank you for watching
@Imrannaseem8183 жыл бұрын
thanks Reza great tutorial.
@RezaDorrani3 жыл бұрын
You are most welcome
@bregan507you4 жыл бұрын
Love your videos. I'm trying to find out how to patch a SharePoint person column with multiple values. I'm my Powerapp I'm using a combo box for the people picker. I've found videos on how to patch SharePoint multiple person field, but the values are hard coded. I need a way to patch multiple people from the combo box people picker input from my user. So far, I can't find out how to do this. Any ideas? Thanks again.
@RezaDorrani4 жыл бұрын
Depends on how the combox is being populated with data. At the end of the day, when you patch the format should be as described in this video.
@shawnlloyd75264 жыл бұрын
Awesome! Great info!
@RezaDorrani4 жыл бұрын
Thanks for watching!
@imranfc4 жыл бұрын
its really good video about patch functionalities.
@RezaDorrani4 жыл бұрын
Glad you liked it
@imranfc4 жыл бұрын
@@RezaDorrani sir, i have need some help about main category item and sub category item display in power app same gallery and how to control because they are two list main category and sub category how to manage pleases guide me how to solve this
@RezaDorrani4 жыл бұрын
@@imranfc your best bet would be to post your query with screenshots on the community forum at powerusers.Microsoft.com since it would be difficult to provide help without looking at your data source, column types and use case.
@RezaDorrani4 жыл бұрын
Thank you
@imranfc4 жыл бұрын
@@RezaDorrani Sir, give me some help about order Id actually I am using function patch forall function and data save correctly but my problem when I am show this data in gallery and search repeat order id with multiple rows. I want show only one order id and then I am click to show other all rows expand with same Id. Kindly help me about this problem
@marienaalvarez82352 жыл бұрын
Found it. Thanks!!!! Can you patch to tables at the same time?
@RezaDorrani2 жыл бұрын
Which Tables?
@sameh29672 жыл бұрын
Thanks Reza for the great video but the video does not contain the last point which is "Patch vs Form"
@RezaDorrani2 жыл бұрын
I have done multiple videos on Patch and Form control.
@saratchandra73883 жыл бұрын
Hi Reza when I use combobox with choices and bulkupdating why same value is populated to sharepoint list ,created collection on combobox on change property ,appreciate your answer.
@RezaDorrani3 жыл бұрын
I would have to see your code to know why this is happening. I would recommend you post your issue with screenshots on the forums at powerusers.microsoft.com/
@sriramsivakumar531 Жыл бұрын
How to proceed with a powerapps, full CRUD where the requirement is to have 14 people picker (contacts for each department) with sharepoint list as datasource. I designed 14 text columns in SPL and within gallery control, combo box for people picker. I'm stuck with accessing each department combo box and patching each of them. Is this the right approach or any other way to do this?
@RezaDorrani Жыл бұрын
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
@sriramsivakumar531 Жыл бұрын
@@RezaDorrani thank you. I will post this on forum.
@sanmeshghongade4 жыл бұрын
Great video...! Thanks can u please suggest on how can I duplicate the gallery item and submit it with a new ID to SP?
@RezaDorrani4 жыл бұрын
Using defaults(datasource) in patch will post data as a new item to data source. This will automatically generate a new ID in SP.
@MelvinHtet4 жыл бұрын
Thanks for sharing. May I know how we can lookup the sharepoint list by user().email and patch to update the info?
@RezaDorrani3 жыл бұрын
kzbin.info/www/bejne/qoHbdpJjeciKock For Patching you have to follow the format of a person type column as described in this blog post - rezadorrani.com/index.php/2020/05/04/power-apps-patch-function-with-sharepoint/
@anthonyleduc3 жыл бұрын
Hi, i think you made forgot Table at 21:45 for Manged Metadata. I need to add Table for Enterprise keyword column. BTW your vide is very instructive. I learnt a lot again
@RezaDorrani3 жыл бұрын
You would need to add termguid and label with structure as shown in video. I did not cover managed metadata in video but my blog showcases the syntax rezadorrani.com/index.php/2020/05/04/power-apps-patch-function-with-sharepoint/
@pythonblac130 Жыл бұрын
Hi Reza, hope you doing great.i have a SharePoint choice column, when i use the patch function to submit my form, all the other colums get updated except this particular column, this is what my onSelect function for the submit button looks like "Patch(Helpdesk, Default(Helpdesk), CreateTicketForm.Updates)". Can you help figure out why a particular column isn't updating? Thanks in advance
@RezaDorrani Жыл бұрын
I will have to look at your App in action to provide guidance. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@tusharmehtadxb3 жыл бұрын
Reza, the patch can be used with a data form as well. I have found issues with Combobox (with filter) when I move from submitting to patch.
@RezaDorrani3 жыл бұрын
I will have to look at your App in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com
@tusharmehtadxb3 жыл бұрын
@@RezaDorrani Thanks I will do that.
@Excel-power-users2 жыл бұрын
Hello Reza, can you please share the link of the video where you have prepared a people picker from scractch
@RezaDorrani2 жыл бұрын
I have done plenty of videos. Do not remember in which one I did that. Check either the combo box video or one of my editable grid videos.
@jayl12423 жыл бұрын
thx u very much, Il helps me, but what if I want savc the invoice analysed in the same SharePoint List Attchement, what could I do?
@RezaDorrani3 жыл бұрын
Patch function does not support attachments. Check kzbin.info/www/bejne/aZWxloCMgb93ftE
@marcosvillalon3098Ай бұрын
Hello Reza, thank you for the video. I would like to know if there is a way to enter a comment in the SharePoint List using Patch.
@RezaDorraniАй бұрын
What is comment? A column or office comments? Patch supports column data. For office comments - I have done a recent video on "Build a Chat experience in Power Apps"
@peanuttv67483 жыл бұрын
Sir, do I have to create another screen for Update-Patch ? Hope you would notice this.
@RezaDorrani3 жыл бұрын
You can use the same screen to update or add records. I have seen a lot of questions around this on the forums. I will recommend you check on the forums at powerusers.microsoft.com/
@johnnykal2 жыл бұрын
Hi Reza, is it possible to start with a blank canvas app and then publish to Sharepoint (like infopath) to create the columns?
@RezaDorrani2 жыл бұрын
Start with blank App - Yes. Publish like InfoPath and create columns - No
@joek29043 жыл бұрын
I'm having trouble clearing a user and group field in sharepoint once it's set using the PATCH() function. Is this not supported?
@RezaDorrani3 жыл бұрын
Did you try the technique in this video?
@sudosaurus2 жыл бұрын
Hi Reza - great video as always! For a choice column, do I Ineed to keep repeating the same code for each choice value? - {Value: "choice value"}
@RezaDorrani2 жыл бұрын
If it's multi select - then array of choices video description has link to blog post
@sudosaurus2 жыл бұрын
@@RezaDorrani generally choice columns have more than one option even if it's not a multi-select column. Otherwise what's the point of having one choice?
@RezaDorrani2 жыл бұрын
@@sudosaurus What I meant was single select vs multi select. Options would be many.
@sudosaurus2 жыл бұрын
@@RezaDorrani so on the blog post do I need to pay attention to "Choice Column" or "Multi Select Choice column " - if the first (as it's a choice and not-multi-select), do I just need to enter "{Value: "choicevalue1", "choicevalue2"}" etc..?
@RezaDorrani2 жыл бұрын
@@sudosaurus if single select {Value:”data”} If multi Table({Value:”data”},{Value:”data”})
@venkatajayaram35999 ай бұрын
Hi, Lookup column is not getting saved into sharepoint list. But in power apps, when I select the column I am trying to save, it is showing both ID and value correctly.
@RezaDorrani9 ай бұрын
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
@nuraindamia9582 Жыл бұрын
Hiii ! great video rezaa! i followed your tutorial powerapps bulk data. I successfully create exactly what i want based on the video. But I have a problem where I want to patch data collection to sharepoint but i only can patch 20 data only :( did you know why? Thank you reza !
@RezaDorrani Жыл бұрын
I have not run into this issue, hence I do not know the reason for this issue. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@venkatajayaram35999 ай бұрын
Lookup column value is not getting saved into sharepoint list. BUT when I select and wait in the function that I have written it is showing the ID and column value.
@RezaDorrani9 ай бұрын
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
@PaulHancock20204 жыл бұрын
Great video, thank you
@RezaDorrani4 жыл бұрын
You are welcome!
@saratchandra73883 жыл бұрын
HI REZA,HAVE FOUND THAT COLLECTION AND FOR ALL WITH PATCH MAKES NO SIGNIFICANT DIFFERENCE .IS USING COLLECTION FOR PATCH IS OTHER OPTION OTHER THAN FOR ALL.thank you for your response.
@RezaDorrani3 жыл бұрын
Patch collection is way faster than forall and more performant. Check - kzbin.info/www/bejne/jKvVkqWZgp6Ka80
@shanthanalaxmirajaram71722 жыл бұрын
I have a app which wanted to save multiple people values into SP list and it's already enabled for multiple people selection but how can we store it in SP list using patch, thanks
@RezaDorrani2 жыл бұрын
I do not have a video reference for this scenario. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@ashishkulkarni81933 жыл бұрын
Hi Reza.. A quick query.. I am trying to patch my powerapp with Excel database in OneDrive for business. It created a powerappid in file.. But the data is not getting captured. Can you guide on this issue please.
@RezaDorrani3 жыл бұрын
Hi Ashish, I would have to see the code base to help. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com/t5/Building-Power-Apps/bd-p/PowerAppsForum1
@LORD_ORiGiNALz2 жыл бұрын
I have a question if I have 3 screens with 3 edit forms and these edit forms have different fields from different tables from my database and I have a button on the last page to save all the information the user inputted how can I save all the information into my database?
@RezaDorrani2 жыл бұрын
If they are form controls, you can simply use the SubmitForm function to submit the data to your database.
@BhushanPrasad3 жыл бұрын
Dear Reza, Thank you for the video, its very helpful. I have question. I have 2 person column in sharepoint list, How can I patch if one of them is optional? Thanks You :)
@RezaDorrani3 жыл бұрын
Patch does not force to add optional fields. You can avoid patching that column in formula.
@kanishkaroychowdhury40504 жыл бұрын
hi very informative and helpful video. One question... the "Class" column in "Students" list is fetching the value from another list "Class". But in Items property you mentioned, "Choices (Student.Class)" why that so? How will we get other class values which are not saved in "Students" list but are in the "Class" list "Title" column? and another issue... how can i display people from gallery selected plz?
@RezaDorrani4 жыл бұрын
Class is a lookup column associated with the list "Class". Hence using Choices(Student.Class) works. You could also directly get the values from the Class list. Both approaches will work. Both approaches will show you all the data from the Class list even ones that are not saved in Students list. Display people from gallery selected? Do you mean filtering gallery data based on people picker column? Check this - kzbin.info/www/bejne/qoHbdpJjeciKock
@kanishkaroychowdhury40504 жыл бұрын
@@RezaDorrani hi again a great video... may be if u please give an idea how to fetch the people field in a combo box and change / edit on it
@jasonbradley28434 жыл бұрын
Thanks, great resource
@RezaDorrani4 жыл бұрын
You're welcome!
@Itsprincessa013 жыл бұрын
Hello Reza, I have a gallery with data coming from source A, i can filter that data but i want to move that filtered data into source B which is a sharepoint list. how do i use patch to achieve that? so i want to use the filtered data in my gallery to create a new records in source B.
@RezaDorrani3 жыл бұрын
Load all filtered data into a collection and patch it in one go. kzbin.info/www/bejne/jKvVkqWZgp6Ka80
@Ammuveda3 жыл бұрын
Hi sir, can you please help me in this scenario, due to threshold limit of the sharepoint i am able to use 12 lookup columns in my list. but in my required there should be 13 for that i am using text box in the list while customizing in PowerApps for the list form i am using as people picker for one control. My data is saving to the list. but while editing it data is not showing. Please help me sir.
@RezaDorrani3 жыл бұрын
SharePoint has a limit of 12. That cannot be changed in sharepoint online. You would either have to change the column types or look for a different data source.
@colby43903 жыл бұрын
What if you have a multi select choice column in share point and you want to patch it with the contents of a collection?
@RezaDorrani3 жыл бұрын
For collection patching, check kzbin.info/www/bejne/jKvVkqWZgp6Ka80
@ahmadyamout11154 жыл бұрын
Thank you for your work. But what about patch with controls for numbers?
@RezaDorrani3 жыл бұрын
Just directly patch that column with numerical value. Example: numberColumn: 1
@ehabatme53244 жыл бұрын
Great informative video
@RezaDorrani4 жыл бұрын
Glad it was helpful!
@bujjibabukj96163 жыл бұрын
Hi Sir I have data in Excel 20 Rows and 5 Columns (Columns and Rows may vary based on available data).I want to copy (Ctrl C) all data from excel and past (Ctrl V) into PowerApps canvas and Patch to SharePoint along with few headers in Canvas with the help of button. Request your help in this regard.
@RezaDorrani3 жыл бұрын
I have never tried that. I dont think copy and paste works that way. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com
@bujjibabukj96163 жыл бұрын
@@RezaDorrani Hi Sir Thanks for your reply. Request you please suggest any alternate method.
@RezaDorrani3 жыл бұрын
@@bujjibabukj9616 I would have to try this out to suggest. I would recommend you post your query on the forums at powerusers.microsoft.com/
@bujjibabukj96163 жыл бұрын
@@RezaDorrani Thank you Sir I have posted in powerusers.microsoft
@sudosaurus2 жыл бұрын
HI Reza, with the People Picker control, even if I enter and select another persons name, when the data is patched to SP list, it displays my name and not the person whom I selected.
@RezaDorrani2 жыл бұрын
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
@theresaa.efiokwu98632 жыл бұрын
Hello Reza, Thank you for this video I want to update a particular item on a SharePoint List, I need to get the sharepoint item ID and then Patch the record i want to update. E.g Patch(Library,Lookup(Library, Id..... How do I get the particular ID of the item I want to Patch on SP
@RezaDorrani2 жыл бұрын
Lookup is the correct function to use. 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
@theresaa.efiokwu98632 жыл бұрын
@@RezaDorrani Thank you! I figured it out. Created a variable and parameter to hold the SharePoint List Item ID and that worked. Please is it possible to patch attachments to a SharePoint List? If yes, please how do we do about it?
@RezaDorrani2 жыл бұрын
@@theresaa.efiokwu9863 Patch function does not support attachments.
@theresaa.efiokwu98632 жыл бұрын
@@RezaDorrani Thank you for your swift response. What method would you advise since we are unable to Patch Attachments?
@RezaDorrani2 жыл бұрын
@@theresaa.efiokwu9863 form control. I have done many videos on attachments.
@shinshae78823 жыл бұрын
How to update both SharePoint list fields and corresponding powerapps field using MS flow? If I select trigger the action when an item is created in SharePoint, then only SharePoint list field is getting updated ,powerapps form filed will remain same. If I select trigger action as powerapps, then I am not getting the SharePoint form 🆔. Could you please make a video on this scenario? A simple approval workflow with a status field in powerapps?
@RezaDorrani3 жыл бұрын
If power apps is connected to SharePoint and if SharePoint list is being updated then the changes should reflect in Power Apps. Sounds more like an issue or some disconnect with me understanding your use case. I will recommend you check on the forums at powerusers.microsoft.com/
@shinshae78823 жыл бұрын
@@RezaDorrani I have set my status field display mode as view in powerappps, (I don't want to edit the status field by an end user). when I change other field value through workflow, they are getting updated( they have display mode as edit). Hw can I change a field with view mode through workflow.
@RezaDorrani3 жыл бұрын
@@shinshae7882 Display mode of control in Power Apps has no effect on updating the field from flow. You can simply use update item action and set the values for the fields.
@mustafahussainmohsin3204 жыл бұрын
Hey Reza, how to Patch Multi- Value Lookup Column in SP List, Table(Value:Dropdown.selected.value) not working for me.
@RezaDorrani4 жыл бұрын
Hi Mustafa, Lookup columns need the following format { Value: "", Id: 2// Id of lookup column } So a multi values lookup would be Table( { Value: "", Id: 2// Id of lookup column }, { Value: "", Id: 1// Id of lookup column } ) Table(Value:Dropdown.selected.value) is not working for you since format is not right. Also dropdown.selected.value will only give you the text. Try the format shown in this message.
@techdrift73 Жыл бұрын
How does the patch work if your 'Class' (Office 365 Users column - 'Department' in my case) is provided dynamically when you select the student from a people picker combobox? ie you don't select class from the dropdown, the class is obtained and placed in a textbox when you select your student? - Thanks. This video has answered all my other questions👌
@RezaDorrani Жыл бұрын
If department is a text column, you can simply patch it with combobox.selected.department Something on these lines.
@techdrift73 Жыл бұрын
@@RezaDorrani Sorry, didn't mention that the 'Class' column is a lookup column to another list that has the corresponding grade for the classes. Ie class 9w is a grade 9 class thank you for the quick response.
@RezaDorrani Жыл бұрын
@@techdrift73 This is something I would have to look at or try out. I will recommend posting your query with screenshots on the forums at powerusers.microsoft.com
@techdrift73 Жыл бұрын
@@RezaDorrani Done, title is 'Patch lookup column from another list'
@RezaDorrani Жыл бұрын
@@techdrift73 I go to forums to assist in my free time only. There are many other folks who provide guidance.
@fenrir4332 жыл бұрын
does patch work with gallery selected items? in a power bi report? (Power App visual in power bi report)
@RezaDorrani2 жыл бұрын
Power BI data set is read only. I have done videos on how to connect back to source from power bi and update using patch. Check kzbin.info/www/bejne/a6qVm32vfZl4q5I
@fenrir4332 жыл бұрын
@@RezaDorrani Thanks for the reply. I don't want to write back to the data source though I want to read the Power BI data to a Sharepoint List through the Power App visual. Is this possible even with power automate?
@RezaDorrani2 жыл бұрын
@@fenrir433 Please check my videos on power bi integration with apps and flows. I have done videos on them. You can read power bi data in both apps and flows (read-only data) which you can take and write to any data source of your choice.
@AmyCustomer Жыл бұрын
Hey Reza, I am making the Editable Grid based on your video. On both of these videos everything is working except patching the date. even to the collection I can't patch a date from DatePicker, if I use Today() it works, but I am unable to get datepicker working with patch and I've searched all over. Please advise.
@RezaDorrani Жыл бұрын
It should simply be datepicker.selecteddate. I dont think there is much more to it. Probably has to do with format of date. See what today() returns and compare it with what you are providing from date picker. I have not faced any issues with dates hence my advise is limited to what I know. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@AmyCustomer Жыл бұрын
@@RezaDorrani today() works. and when I substitute in any of the following: I've tried: ApprovalDate: dateApprovalDate.SelectedDate (it's last in the list so no comma) ApprovalDate: { '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference", DateValue:dateApprovalDate.SelectedDate }.DateValue and just for fun: ApprovalDate: { DateValue:dateApprovalDate.SelectedDate }.DateValue I get nothing. I see it in the gallery and then I can see the patch running (little dots moving) then as it tries the date, the frame around it goes bold and the date disappears out of the gallery and isn't in the collection, so when I patch the collection, it's not on the sp list b/c it gets wiped out of the collection. I've looked at every event to see if somehow *I* wiped it out and I don't see anything. I will look into formats and mess around, if anything I've replied with gives you more ideas, I'm just stuck. Thanks Reza for replying. I appreciate it.
@AmyCustomer Жыл бұрын
@@RezaDorrani Hey Reza, I changed the format, it still didn't work but I noticed when I changed to long format, it first put the longformat date into the gallery field and then it switched to what the format really should be which is mm/dd/yyyy briefly and then blanked out again. Very odd behavior I will check with the forum but, again, if that sparks an idea please share. thanks, Sir.
@RezaDorrani Жыл бұрын
@@AmyCustomer It has to be format related. I’m sorry but I cannot assist as I cannot reproduce the issue. Forums will be your best bet.
@AmyCustomer Жыл бұрын
@@RezaDorrani I totally understand and thank you for pointing me to the forums. And thanks for all the goodness you share. Cheers, Sir.
@jefflim88952 жыл бұрын
how about if you have 2 data source ? will it work? patching on different data source?
@RezaDorrani2 жыл бұрын
You would need 2 patch statements for that. A patch statement works with a single data source.
@jefflim88952 жыл бұрын
Will it work 2 patch stament? With comma?,
@RezaDorrani2 жыл бұрын
@@jefflim8895 patch(..);patch(…)
@jefflim88952 жыл бұрын
@@RezaDorrani thank you 😁 i will try it
@jefflim88952 жыл бұрын
It is also possible to do a submitform and patch? Together?
@RobHerma913 жыл бұрын
Great Video. Translationen
@RezaDorrani3 жыл бұрын
Glad you liked it!
@RyanBond4 жыл бұрын
That was excellent, thank you. I've used patch a lot but still learned heaps
@RezaDorrani4 жыл бұрын
Glad you liked it Ryan. I plan to add videos on advanced Patch functions & the Form control soon.
@jimfitch4 жыл бұрын
Eager to see the next videos you mention here!
@fakharahmedkhan51572 жыл бұрын
hey Reza, Hope you are doing good. How did we Patch Multi choice column to SharePoint from ComboBox? It is working with hard coded but not with the Combo Box selected items.
@RezaDorrani2 жыл бұрын
Make sure output of combo box control when patch is in following format Table({Value:"a"},{Value:"b"}) or [{Value:"a"},{Value:"b"}]
@fakharahmedkhan51572 жыл бұрын
@@RezaDorrani Thanks. New Courses':Table({Value:ComboBox1.Selected.Value},{Value:ComboBox1.Selected.Value})}) New Courses: Is SharePoint List Column name. EveryTime I am patching, getting the item patched. Example: PowerApps as subject. Tried SelectedItems too but not working
@fakharahmedkhan51572 жыл бұрын
Patch('Student Fee Tracker',{Title:TextInput1.Text,Name:TextInput1_1.Text,Fees:Toggle1.Value,'Fee Submitted Date':DatePicker1.SelectedDate,Batch:{Value:Dropdown1.Selected.Value},'Number of Student':Value(TextInput2.Text),'New Courses':Table({Value:ComboBox1.Selected.Value},{Value:ComboBox1.Selected.Value})})
@RezaDorrani2 жыл бұрын
@@fakharahmedkhan5157 Cannot guess here by looking at chat. It should work. But seems u r simply assigning same value twice. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@fasawan24774 жыл бұрын
I got a lookup column and the user selects multiple items. Then I save it to the collection. Then on a final screen, I got a submit button, I patch the collection to the Sharepoint list. But for the lookup column, I am getting errors. I am trying Metadata(SP):{Value: metadata(collection).Value, Id: metadata(collection).Id}
@RezaDorrani4 жыл бұрын
Is your lookup column multi select or single? A collection is an array - you can only pass 1 value at a time to the Value and Id property.
@PritishTogare4 ай бұрын
still helpful after 4 years. QQ How to tackle when display name and User().FullName are slightly different in length. for example, some users drop middle name in profiles but sharepoint picks it up. I will try the workaround of leaving it blank when patching in the meantime
@RezaDorrani4 ай бұрын
Great to hear! Use one or the other to keep things consistent. Or simply query users profile using o365users connector.
@shankarsivaji50392 жыл бұрын
how to patch multiple value in poeple and group? I have manger names display in textbox and need to display them on pepole and group? plz help
Hello Reza, can you help please for this error 1-the requested operation is not valid. server response ..... 2-Network error while using the Patch function: The requested operation is invalid. I'm really saturated thanks
@RezaDorrani Жыл бұрын
I have not come across either of the mentioned issues and hence not sure what the fix for your issues are. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@mohammedbenamar1897 Жыл бұрын
ok thanks@@RezaDorrani
@riteshshukla43513 жыл бұрын
Can I have the link for video on IT Helpdesk ticket through powerapps and sharepoint
@RezaDorrani3 жыл бұрын
I don't think I have a video on that scenario. Here is a link to all my videos kzbin.infovideos