Тёмный
No video :(

PowerApps Basics -2: Multiform Submit 

Aniruddha Biswas
Подписаться 2,2 тыс.
Просмотров 23 тыс.
50% 1

Update: To add and update you can see this video: • Multiform Submit in Po...
Multiform Submit using patch.
Form validation with Form.Valid function
Get last inserted item.
Autogenarate People field with current user

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@kevinrazo9156
@kevinrazo9156 Год назад
Thank you, this was very helpful. I'm stuck on the submission button for the multiform app. I don't understand the "PatchedSP", it is not identifying it
@ranguleo01
@ranguleo01 4 года назад
Hi Ani,.. you are just awesome, thanks for uploading this video. I was dam tired to get this solution. May be its great for me because im not developer.Please upload more powerapp related vides. thanks again. Dont worry about the view it will increase gradually.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Thanks Ranganath for your comment. It motivates when I come to know someone get benefitted using my videos. I stopped to create any videos for quite sometime because I can see there are 200+ views but no like no comments. I am not expecting everyone will comment but whoever getting benefitted they can appriciate by commenting about the video etc. It seems I will aquire knowledge and create video spending time and people will take it without appriciating is not digestable. Anyway great to know that you are loving it. Today I will create another video rather new series. Please watch out.
@agnelodcosta906
@agnelodcosta906 4 года назад
Very simple and useful 🙏
@tuffley2175
@tuffley2175 4 года назад
Nice, it also most helpful if you add codes you manipulated on a text format in the description for beginner like me- thanks again learn couple of things
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Noted!
@cesarpereira9284
@cesarpereira9284 4 года назад
Hello, your video is great, it helped me a lot! I´m using this formula in a button to send a record to the sharepoint list from power apps with an app with a multiform submit: ClearCollect( Propuesta; Patch( 'Propuesta 2020'; Defaults('Propuesta 2020'); EditForm1.Updates; EditForm1_1.Updates; EditForm1_2.Updates; EditForm1_3.Updates ) ) ;; ResetForm(EditForm1);; ResetForm(EditForm1_1);; ResetForm(EditForm1_2);; ResetForm(EditForm1_3);; Navigate('Pantalla OK') ___________________________________ When I need to edit an existing record from the application it creates a new record and does not edit the existing record. I don't know how to go about editing instead of creating a new record. Thanks for the help, regards!
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Thanks and glad to know that this is helpful. You need to do the following things: 1. Set a global variable (varMode) is New or Edit as per your requirement 2. When patch refer that variable as follows: ClearCollect( PatchedSP, Patch( 'PowerApps Sample App', If( varMode = "New", Defaults('PowerApps Sample App'), galAllItemsBS.Selected ), EditForm1.Updates, EditForm1_1.Updates, EditForm1_2.Updates ) ); If you need more help then please email me aniruddhab@outlook.com
@cesarpereira9284
@cesarpereira9284 4 года назад
@@AniruddhaBiswasChannel Hi! Thanks for your answer, I had managed to solve it by defining a variable to be able to set the form as edit / new and after the button I did it like this: If(var_new;Patch( 'Propuesta 2020'; Defaults('Propuesta 2020'); EditForm1.Updates; EditForm1_1.Updates; EditForm1_2.Updates; EditForm1_3.Updates ); Patch( 'Propuesta 2020'; ThisItem; EditForm1.Updates; EditForm1_1.Updates; EditForm1_2.Updates; EditForm1_3.Updates ) ) ;; Navigate('Pantalla OK') Thank you very much for your answer, it is good to have another option of how it could be done. Regards.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Here is the video for you where you can get an idea how to add and update record in the same form: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-unxWe52Z878.html
@THEFATKIDPH
@THEFATKIDPH 2 месяца назад
Is it possible to have 2 Forms (1 Form per Screen) = 2 Screens and 1 Submit Button. The Submitted Forms will create only 1 Row Item in Sharepoint List
@alpanapradhan2328
@alpanapradhan2328 3 месяца назад
HI! Great video. Thank you. One question; I have two forms Form1 and Form2 in the same screen, when I click on submit I want it to create only one record in the SP List. How can I do that?
@PierreBLIN
@PierreBLIN 4 месяца назад
Hello sir, i have a question. I have this formula : ClearCollect( PatchedSP,Patch( 'Liste Rapport Intervention', Defaults(('Liste Rapport Intervention'), EditForm1.Updates, EditForm1_1.Updates ) ); Set( LastIDInserted, First(PatchedSP).ID ); Why it says that i have 2 errors ? : - Number of invalid arguments : 1 were received, 2 or more were expected - The name is invalid. "PatchedSP" is not recognized.
@prashantkotkar2364
@prashantkotkar2364 3 года назад
Thanks a lot for the video,it was really helpful
@RAJATSAHANI123
@RAJATSAHANI123 3 года назад
very good video sir. kindly make more video on power app using canvas and model driven
@narapat100
@narapat100 4 года назад
Thanks a lot sir.. your videos are really helpful.
@manojkumarleo
@manojkumarleo 3 года назад
Hi Aniruddha, I have created a powerapps form with multiple for in a screen. Issue is after loading from Powerapps it should be visible in sharepoint for its not, the form which comes looks like all columns from my list. please help.
@logancarvalho
@logancarvalho 4 года назад
Hello, your video is great. Congratulations for your work. I have a question: How are you doing to generate/fill Title column on Sharepoint list?
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Thanks Logan. The use of Title column in any app is bit tricky. You need to do the following: 1. I am sure you need a Single Line of Text column in your app. So, you can rename the Title column with different name. 2. You can make the column non mandatory and hide also. Just try some googling. If you can not figuer it out then let me know I will share the step.
@logancarvalho
@logancarvalho 4 года назад
​@@AniruddhaBiswasChannel First I´d like to thank you for the attention. It is tricky for sure, its concept might be fuzzy for beginners like me. I solved me problem watching your video carefully and noticing that you had an ID column on you SP list. Digging into SharePoint I found an option to make more fields visible and this ID was the one I wanted Title to be. Just a sequential number to differentiate the items on my list. Voilá. Don't need title field anymore. Once more, thank you!
@the_n8
@the_n8 4 года назад
Good demo. My situation is similar where I have multiple forms that I want to submit as a single record for a new row. I’m finding with Patch that it doesn’t provide feedback to the user like SubmitForm does. I’ve handled validation to make sure the right/required data is there but am still concerned that say, a network error occurs, how can I ensure to the user that their entry has been submitted, using patch.... or give them the error if it didn’t.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Hi Nathan, Got your problem. Easy solution is don't write any code in Next button's DisplayMode property and OnSelect of Next button put like: If(Form6.Valid, Navigate('Third Screen') , SubmitForm(Form6)); It will Solve your problem.
@the_n8
@the_n8 4 года назад
@@AniruddhaBiswasChannel Thanks for the prompt response. So the ".Valid" is really the secret here? I haven't used that yet. I'll go give that a try
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
@@the_n8 Yeah. Frankly speaking there are so many videos in RU-vid but I saw rarely people use ".Valid" to show how we can use this property. Last 3 Years I am working mostly form based App and I never face issue of modarate level of validation with all the inbuilt property.
@the_n8
@the_n8 4 года назад
@@AniruddhaBiswasChannel I just did a test with this concept. It's a good validation practice as it looks for all of the validation requirements of the form itself before showing true. However I don't think it covers my scenario as I'm still faced with 2 key challenges. 1) What if all of the form-values validate but there's an error in getting the form submitted such as a network error... and 2) My 'ProjectID' field requires that it be a unique value, enforced at the source-level (Sharepoint Online List). This '.Valid' test doesn't account for that ("MainAttributesForm_Valid: "&ProjectAttributesMain_Form.Valid). It just checks whether the validation requirements of the form are true or not. When I do a SubmitForm(ProjectAttributesMain_Form) it'll come back and tell me whether it was a unique value or not.. I just am not able to submit multiple forms as a single record.. or, when I use patch, it doesn't show the error and allow the user feedback to fix it.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
​@@the_n8 Both the problem has solution: 1) I hope you mean network error means no internet. If yes then there is a function "Connection.Connected". You just do like this : If(Connection.Connected, If(Form6.Valid, Navigate('Third Screen') , SubmitForm(Form6)), UpdateContext({NoInternet:true})); and use this Context variable to show at the bottom in a text visible property. 2) When you creating a SharePoint column there is a option called "Enforce unique values". Make it true. Then you can get the validation error. One word of caution. After creating the Form if you change anything in the column property it will not update. So always delete the column and recreate it. Then place it on the form again.
@maureending1840
@maureending1840 3 года назад
Hi Aniruddha, thanks so much for this video! I created a similar multi-screen form following your instruction. I have one question- After I submit a test entry, I can see it on SharePoint successfully. However, when I double click on the row on SharePoint and want to see the entry details, I can only see my entry on the first screen. If I click the button and move to the second screen, my test entry will disappear. Do you happen to know how to fix this? Thank you!
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Hi Mengqi, please share some screenshot with few more info on aniruddhab@outlook.com
@kenbelen3470
@kenbelen3470 3 года назад
I followed your formula on the submit button, but mine doesn't proceed or capture the data to SharePoint. please help. thanks.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Please share your code written on Submit button at aniruddhab@outlook.com
@kenbelen3470
@kenbelen3470 3 года назад
@@AniruddhaBiswasChannel email sent sir,
@kenbelen3470
@kenbelen3470 3 года назад
@@AniruddhaBiswasChannel I was able to follow your instruction on part 1 and the app run smoothly. but when I applied the formula on the submit button from part 2 it doesn't work
@kenbelen3470
@kenbelen3470 3 года назад
@@AniruddhaBiswasChannel apologies, I missed some details in the formula.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
@@kenbelen3470 Ohk. So now all good I believe.
@barunroyghatak4380
@barunroyghatak4380 3 года назад
Hi Anirudh da it's been a very great help by your side. Thank you for your support. Just have one question do we can insert a single user data at one time and restrict if he will inserting the data in next time. It means only one user can submit data in one time and again if he trying to open the form or submit the form then there will be the error message You cannot submit twice. I hope you can understand my problem. I have searched a lot but didn't find the solutions. Kindly please share if you have some tutorial link also.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Hi Barun, you can try it as follows: OnStart event of the App you need to get items which is submitted by the current user. In SharePoint there is a column called Created By. You need to search the current User().Email is already there. If yes then you can show the message or if not you need to allow him to proceed. If it is not very clear then let me know I will create a video after few days.
@barunroyghatak4380
@barunroyghatak4380 3 года назад
@@AniruddhaBiswasChannel Thankyou da I will definitely apply the procedure and I will also let you know if I face any problem while applying.
@lievencrombez6234
@lievencrombez6234 3 года назад
Excellent video Sir , as a newbie could you help me to make an summary screen of all the data before submitting ? so i mean an extra screen after all forms are filled in with an overview of all your filled in data and then the submit button on this screen ? many thanks
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Hi Lieven, Thanks for your comment. You can make an extra screen and give a summary screen where you can provide multiple label and then in the Text property of the label you can assign (ControlName).Selected.Value if that is a choice column. If you are not get it please share some screenshot at: aniruddhab@outlook.com
@stacyfang3130
@stacyfang3130 Год назад
Great video! I have a similar situation. I want to create multiple forms on 1 screen to fill in items in sharepoint list. I can't seem to find a way of best practice to do that
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel Год назад
Sorry Stacy! I did not get your requirement. Can you please draw an scatch and send to my email if you still need help: aniruddhab@outlook.com
@stacyfang3130
@stacyfang3130 Год назад
@@AniruddhaBiswasChannel hi Ani! My apologies for just reading your message. I already found a solution where I use the collect function (collection) ☺️ thank you for your time to respond. Much appreciated 🙏🏻
@MizanurRahman-rz4pi
@MizanurRahman-rz4pi 5 лет назад
Nice tutorial. I have one question please. I have multi screen but seems to igore the first form and only submit the last forms. ie Patch (form1.updates),Patch (form2.updates),Patch (form3.updates) this will ignore Patch (form1.updates). Any idea?
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 5 лет назад
Thanks! Can you please connect me in Linkedin and share the screen?
@manojkrishnan8965
@manojkrishnan8965 4 года назад
Thank you, Aniruddha Biswas. it was useful.
@Imnothuan
@Imnothuan 3 года назад
Useful,thanks…
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Hi Tan, I will encourage you to check this video where you can add and edit a record from malitipart form in PowerApps: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-unxWe52Z878.html
@wtz2765
@wtz2765 4 года назад
Using this Patch method, the very first form doesn't get updated and record is missing from the list. Please help!
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
@W Tz: I am assuming you have placed semicolon(;) instead of comma (,) after the form.update or you have missed one comma. Check the formula again.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Here is the video for you where you can get an idea how to add and update record in the same form: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-unxWe52Z878.html
@barunroyghatak4380
@barunroyghatak4380 3 года назад
Hi Anirudh da I have one query once I want to submit my data to SharePoint list I have successfully rendered to successfully submitted screen. But one error occurred which.is telling field Title is required. Also I removed the title required entry from settings but error still occurred in submitted screen. Kindly is there any way to submit the data plz help. I have something 9 forms.
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Hi Barun, you can try the following: 1. Open the List URL 2. Goto List Settings Page. 3. Click on Title Column. 4. Select "No" in the Option of " Require that this column contains information:". 5. Open the app and delete the Title column from the Form. 6. Delete the SharePoint Connection. 7. Re-add SP List connection.
@barunroyghatak4380
@barunroyghatak4380 3 года назад
@@AniruddhaBiswasChannel Great dada. Thank you it's working for me. Actually I was another colomn which is named as ACS_Title and I renamed it with another name and it's working fine. I also did the same which is mentioning you. The form submits perfectly. Thank you for your precious time.
@drdeepurahulful
@drdeepurahulful 3 года назад
I have an error while I'm using submit the formula,
@drdeepurahulful
@drdeepurahulful 3 года назад
patchedsp is not working
@drdeepurahulful
@drdeepurahulful 3 года назад
ClearCollect( Patchedsp,Patch( 'Continuous Improvement', Defaults(('Continuous Improvement'), Form1.Updates, Form2.Updates ) ); Set( LastIDINSERTED, First(PATCHEDSP).ID ); Navigate('FINISH SCREEN')
@drdeepurahulful
@drdeepurahulful 3 года назад
It worked now..
@abhivijayakumar
@abhivijayakumar 4 года назад
Can the form validation be done for new form too ? Yu had disabled next for edit mode. Is it the same for new or something else?
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
If you are asking if the Form mode is New or Edit then should the validation style remain same? Then answer is yes. BTW in above example I showed for New form mode only.
@abhivijayakumar
@abhivijayakumar 4 года назад
@@AniruddhaBiswasChannel thanks this helps...
@abhivijayakumar
@abhivijayakumar 4 года назад
Hi, my entire form doesn't get submitted... can yu help ?
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
@@abhivijayakumar Please connent to me at: www.linkedin.com/in/anib/
@rajshekar1106
@rajshekar1106 3 года назад
Can we add multiple attachments in this
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 3 года назад
Yes, Attachment can allow user to add multiple attachments.
@aravikrish3379
@aravikrish3379 4 года назад
hi ani ...i want to create a login page with different type of user for example if iam selecting student then its shows student detail ....then i click staff buttum go the staff section ....is there any posibile to create that one .................
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Hi Aravi, If you want to create a login page what will be the username -password? I mean you are already authenticated when you are using Power Apps. So based on the department do you want to redirect to the user to a defferent screen? If this is you want then it is possible.
@aravikrish3379
@aravikrish3379 4 года назад
@@AniruddhaBiswasChannel exactly i want .... Suggest some video pls .... ASAP
@aravikrish3379
@aravikrish3379 4 года назад
@@AniruddhaBiswasChannel need a drop down option .....If I'm selecting first option in the drop down redirect to that page ...Again reset I'm selecting 2nd option from the drop down it goes to that page ... Exactly i need ....
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Here is the video for you where you can get an idea how to add and update record in the same form: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-unxWe52Z878.html
@25rinka
@25rinka 4 года назад
Hello Aniruddha da, Thank you for this great tutorial. I have a few questions regarding one of my project. Can you give me your contact information? Thanks!
@AniruddhaBiswasChannel
@AniruddhaBiswasChannel 4 года назад
Hi Rinka! Glad that you find this tutorial great. Please share your queries (with some screenshots): aniruddhab@outlook.com
Далее
НЕ ИГРАЙ В ЭТУ ИГРУ! 😂 #Shorts
00:28
Просмотров 128 тыс.
Reforged | Update 0.30.0 Trailer | Standoff 2
02:05
Просмотров 413 тыс.
PowerApps - Splitting Forms
31:45
Просмотров 20 тыс.
Power App Mutli Screen Form Controls
7:33
Просмотров 57 тыс.
Power Apps: Planning SharePoint Lists Relationships
41:17
PowerApps Multiple Data Sources
22:09
Просмотров 201 тыс.
Save as Draft in PowerApps
15:40
Просмотров 4,5 тыс.