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/
@PritishTogare2 ай бұрын
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
@RezaDorrani2 ай бұрын
Great to hear! Use one or the other to keep things consistent. Or simply query users profile using o365users connector.
@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.
@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
@GrEgO1692 ай бұрын
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 !
@RezaDorrani2 ай бұрын
It works only if you are actually using a form control. Without form control (form1.updates), you cannot patch to attachments column.
@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.
@JoeriBlomberg3 жыл бұрын
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 😉
@RezaDorrani3 жыл бұрын
Thank you for the wonderful feedback. The timing on the summary was indeed perfect 😉
@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.
@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.
@talipdurgun16242 жыл бұрын
Hi; Time: 13:40 How are the details unlocked?
@RezaDorrani2 жыл бұрын
I did not understand your question.
@kdue86252 жыл бұрын
Thank you for posting the video.I come from Japan. I`m thinking of making an app for taking inventries. I`m looking for a way to renew the value in the cell using the patch function. (Columns: ①item-number②quantity) This is what I want to do. I read a QR code ro get the item number and input the remaining quantity. I activate the patch function. The problem is how to renew the quantity. It`s not good enough to just renew the value since I need to input the accumulated quantity. I need to add the value to the one already input in the cell. I tried the below but it didn`t work. ・Patch(filename,lookup(filename,item-number=barcodescanner1.value),{quantity:inputbox1.value,}) →Patch(filename,lookup(filename,item-number=barcodescanner1.value),{quantity:quantity+inputbox1.value,}) I guess I have to use another function or something instead of the patch function in my case. If you know how to make what I want to do happen , it would help. Thank you.
@RezaDorrani2 жыл бұрын
Thanks for liking the video. As for your scenario, I would have to either look at your app in action ot recreate your scenario to provide guidance. I will recommend posting your query/issue with screenshots on the forums at powerusers.microsoft.com
@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
@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.
@ImranAmiKh4n3 жыл бұрын
This is how every tutorial should be done. Slowly broken down in parts and explained step by step. Thank you Reza
@RezaDorrani3 жыл бұрын
Thank you Ami
@RezaDorrani3 жыл бұрын
Thank you for watching
@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.
@平野誉之-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!
@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.
@mohansrinivasamurthy87703 жыл бұрын
Thanks for your valuable videos Reza. Can you please advise how do i create a list with O365 users automatically? Is it possible?
@RezaDorrani3 жыл бұрын
You can use the Office 365 Users connector to list all the users in your Power App
@bregan507you3 жыл бұрын
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.
@RezaDorrani3 жыл бұрын
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.
@seshasai7348 Жыл бұрын
Thank you Reza. Finally I got the solution to patch the different column types.
@RezaDorrani Жыл бұрын
Glad to hear that! Thanks for watching.
@Bhurchh8183 жыл бұрын
thanks Reza great tutorial.
@RezaDorrani3 жыл бұрын
You are most welcome
@dannysmith76612 жыл бұрын
Reza your videos are amazing! My team and I love your content! I finally got my PowerApp to update my data because of your video! Once I update a record, however, it disappears from the app Gallery View - but shows the updates made in SharePoint. Is there something I am missing? For context, I used your Editable Grid Video to build an app in Power Apps, and this is in reference to the "Edit in Grid View'/Exit Grid View' portion -- Where data is updated after 'Exit Grid View' is selected. Here is the function for my button: If( varGridEdit, Patch( Contractors,colGridData.GalleryGrid.Selected, {'Contractor Status':{Value:"ContractorStatus.Selected"}, 'LastCertified Date':Today()} ) ); Select(btnLoadData); Set( varGridEdit, !varGridEdit ) I appreciate any and all help you can provide! Thank you for making amazing content!
@RezaDorrani2 жыл бұрын
Thanks for watching and liking my videos. The editable grid video has link to download the sample App. Give that a try. There is a known bug with combo box controls. So replace them with Dropdowns.
@jasonbradley28434 жыл бұрын
Thanks, great resource
@RezaDorrani4 жыл бұрын
You're welcome!
@PaulHancock20204 жыл бұрын
Great video, thank you
@RezaDorrani4 жыл бұрын
You are welcome!
@TheNilyog2 жыл бұрын
Hi Reza, Its really amazing video to clear much more concepts , any change how did i connect with you it would be great to provide your email id where i drop my requirement and some help from you. Thank you.
@RezaDorrani2 жыл бұрын
I recommend posting all issues/queries on forums at powerusers.microsoft.com/ If it's a question related to video, post it in the comments.
@davidjimenez89523 жыл бұрын
Again, very important video if you want to success with powerapps! thank you Reza.
@RezaDorrani3 жыл бұрын
Thanks for watching David
@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.
@fawzyel-fakharany56223 жыл бұрын
Thanks Reza, it is great video. Do you know how to patch person field with null?
@RezaDorrani3 жыл бұрын
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.
@RobHerma913 жыл бұрын
Great Video. Translationen
@RezaDorrani3 жыл бұрын
Glad you liked it!
@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 :)
@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.
@shawnlloyd75264 жыл бұрын
Awesome! Great info!
@RezaDorrani4 жыл бұрын
Thanks for watching!
@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!
@dasajeeva68753 жыл бұрын
Your channel is enough to build a full fledged business application in PowerApp! . Thank you so much Reza.
@RezaDorrani3 жыл бұрын
Wow! Thank you.
@saigonpilots7063 Жыл бұрын
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!!!
@RezaDorrani Жыл бұрын
Thanks for watching. Hoping to make this channel cover most bases of power platform.
@saigonpilots7063 Жыл бұрын
@@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!!!
@akkaradechsrithongchai77662 жыл бұрын
Ultimately , I found solution here !!! Thank you.
@RezaDorrani2 жыл бұрын
Welcome 👍
@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
Man this is amazing, excelent way of showing EVERYTHING, I love it, really good !
@RezaDorrani3 жыл бұрын
Thank you Mauro
@shailajawarkar55832 жыл бұрын
Thanks sir for power apps videos in simple language
@RezaDorrani2 жыл бұрын
Your most welcome
@lailapsiqueira8 ай бұрын
Hey Reza! Cool Video!! I was ondering if you can help me in this situation: I have a excel list with some different colums then Sharepoint list, but both of then have the same intention. For exemplo: in SP list I have A, B and C coluns, and the excel I have D, F and G. I want to add the D, F and G coluns from the excel sheet to Sp list. I will create this coluns in SP list, and want to upload the items from sp list with the excel list. Also, I have the same itens in both sheets, with a coluns that work as a ID. So I can compare the items to insert the data of the new colums in the correct item. Maybe I should try something like: Patch>Forll>Lookup>data from the coluns I want to add?
@RezaDorrani8 ай бұрын
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.
@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
@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
@pr0fessorMor4 жыл бұрын
Thanks, learned a lot from this!
@fritznie44564 жыл бұрын
Yes, great video!
@RezaDorrani4 жыл бұрын
Glad it was helpful!
@RezaDorrani4 жыл бұрын
Thank you
@happymakkar57742 жыл бұрын
Hi Reza, I have travel list in which i have status column(choice Field) with New, Pending, Approved Cancel status. In my powerapp i have 3 buttons, Save, Submit, Cancel. I have requirement in which we want when user create item if user clicks on Save button the status should set to New which default value. But when user clicks Submit button either while creation or editing status needs to set as Pending. I used this formula UpdateContext({VarStatus:"Pending"});SubmitForm(Form1) but it is not setting status value also another rule applied on Save button if user selects group travel=yes then attachment needs to mandatory but rule is not working: using this formula If(And(CountRows(DataCardValue21.Attachments)>0, DataCardValue16.Value=true),SubmitForm(Form1),Notify("Add attachment and submit",Warning )); which is not working Please help
@RezaDorrani2 жыл бұрын
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
@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.
@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
@venkatajayaram35996 ай бұрын
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.
@RezaDorrani6 ай бұрын
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
@briancanfield29682 жыл бұрын
Superb overview - thank you! 👍👍
@RezaDorrani2 жыл бұрын
Thanks Brian
@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
@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
@scottmatson3313 Жыл бұрын
I don't know why but Choices doesn't work for me. I needed to use Distinct(UK_Contacts, UK_Segment)
@RezaDorrani Жыл бұрын
Choices is a standard function that works with Choice and Lookup type columns. I recommend posting your issue/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
@venkatajayaram35996 ай бұрын
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.
@RezaDorrani6 ай бұрын
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
@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/
@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?
@subrataranjanpal65183 жыл бұрын
Really, very useful , Thank you so much !!!
@RezaDorrani3 жыл бұрын
Thank you for watching
@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/
@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
@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
@Ammuveda2 жыл бұрын
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.
@RezaDorrani2 жыл бұрын
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.
@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
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?
@RezaDorrani3 жыл бұрын
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.
@sudosaurus Жыл бұрын
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.
@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
@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
@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
@iferrari12 жыл бұрын
Ευχαριστούμε!
@RezaDorrani2 жыл бұрын
Ευχαριστώ
@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.
@alangustavo82493 жыл бұрын
Great video Reza! Thanks!
@RezaDorrani3 жыл бұрын
My pleasure!
@peanuttv67482 жыл бұрын
Sir, do I have to create another screen for Update-Patch ? Hope you would notice this.
@RezaDorrani2 жыл бұрын
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/
@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.
@muthuperumalkonar48743 жыл бұрын
How to browse excel file and insert VBA module and run it in powerapps
@RezaDorrani3 жыл бұрын
I have never tried that. Try checking on the forums at powerusers.microsoft.com
@vanderstraetenmarc4 жыл бұрын
Learned a lot, especially the one on the Lookup columns. Well done!
@RezaDorrani4 жыл бұрын
Thanks Marc
@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
@marienaalvarez82352 жыл бұрын
Found it. Thanks!!!! Can you patch to tables at the same time?
@RezaDorrani2 жыл бұрын
Which Tables?
@iancrosby72653 жыл бұрын
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?
@RezaDorrani3 жыл бұрын
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.
@iancrosby72653 жыл бұрын
@@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.
@RezaDorrani3 жыл бұрын
@@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
@aaaaa6012 жыл бұрын
🙋♂️🙏👍
@RezaDorrani2 жыл бұрын
👍
@mohammedbenamar1897 Жыл бұрын
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
@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
@sriramsivakumar53111 ай бұрын
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?
@RezaDorrani11 ай бұрын
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
@sriramsivakumar53111 ай бұрын
@@RezaDorrani thank you. I will post this on forum.
@MLeosud3 жыл бұрын
awesome! thanks you!
@RezaDorrani3 жыл бұрын
You're welcome!
@itubeHirschberg3 жыл бұрын
Vielen Dank
@RezaDorrani3 жыл бұрын
Sie sind herzlich willkommen
@minvisusanpaul2212 Жыл бұрын
Hello, i want to add a value to the lookup dropdown, can u plz help
@RezaDorrani Жыл бұрын
kzbin.info/www/bejne/eKu9YZRpr7d5i80
@ehabatme53244 жыл бұрын
Great informative video
@RezaDorrani4 жыл бұрын
Glad it was helpful!
@kamakshijayaraman37473 жыл бұрын
can't we patch attachments using patch function?
@RezaDorrani3 жыл бұрын
Attachments do not work with Patch.
@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.
@indeeed07 ай бұрын
One of the most usefull video about Power Apps and SharePoint. Thank you for these high quality videos.
@RezaDorrani7 ай бұрын
You're very welcome!
@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.
@BhushanPrasad2 жыл бұрын
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 :)
@RezaDorrani2 жыл бұрын
Patch does not force to add optional fields. You can avoid patching that column in formula.
@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
@riteshshukla43513 жыл бұрын
@@RezaDorrani Thank you so much!!
@jimfitch3 жыл бұрын
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.
@RezaDorrani3 жыл бұрын
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.
@mustafahussainmohsin3204 жыл бұрын
Awesome Video, Mr Reza Dorrani, but I want to patch different functions, based on the DropDown Selection, lets say, if user selected, "Day off" so the form will show day off details and then patch its respective fields, and if the user selected "Annual leave", so the form will show its respective field and only the respective fields should patch. right now I am doing submitform(form1), which is submitting the whole even though I have not entered the text in different selected dropdown. can you help me with this logic? @Reza
@RezaDorrani4 жыл бұрын
SubmitForm concept is different from Patch function. I would recommend posting your query on the community forum at powerusers.microsoft.com/t5/General-Discussion/bd-p/PowerAppsForum1
@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.
@MelvinHtet3 жыл бұрын
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/
@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.
@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.
@RezaDorrani3 жыл бұрын
Thank you
@imranfc3 жыл бұрын
@@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
@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
@fenrir433 Жыл бұрын
does patch work with gallery selected items? in a power bi report? (Power App visual in power bi report)
@RezaDorrani Жыл бұрын
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
@fenrir433 Жыл бұрын
@@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?
@RezaDorrani Жыл бұрын
@@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.