I've watched so many of your videos to help me learn Powerapps and this one just saved me days of effort building a new app. You are a sanity saver when I have a tough app.
@ShanesCows4 жыл бұрын
Great to hear! Good luck with your app Jennifer.
@peterscheepers57804 жыл бұрын
Shane you are awesome, as a beginner with PowerApps I went through most of your video’s which are the best tutorials I could find. Further from another training pro kudo’s for the way you conduct the training.
@ShanesCows4 жыл бұрын
Thanks Peter. Glad you have enjoyed the videos. 😀
@myquest844 жыл бұрын
This is perfect timing. The next step for me is figuring out how to randomly select a few questions each from several different categories or questions.
@ShanesCows4 жыл бұрын
I have a video on Random. The key is to use the shuffle function
@myquest844 жыл бұрын
@@ShanesCows Thanks! I got it to work using a firstn/shuffle/filter formula inside the show column part.
@b0rme4 жыл бұрын
I think it’s an important point you’ve made- you can shape your tables however you want. You can use pivot / unpivot inside Power Query to change the way the data looks in a report. I guess the balance to find is applying this technique to columns that need to be dynamic, and keeping the others static so that the data can be used by someone who might not be so proficient with data models and Power Query.
@ShanesCows4 жыл бұрын
Yup. I love how you are thinking deeper about this. 😍
@Msolenberg Жыл бұрын
Hi Shane. I love your work - you're great a explaining the core concepts in an easy-to-follow manner which can be expanded upon. Your demo got me started in creating a dynamic form allowing users to add almost any new field type (including people pickers using office 365 data). Users can add text boxes with configurable data types, dropdowns with custom values, checkboxes, show / hide info icons, configure the message for info icons, and group questions into categories via a "question" gallery nested in a flexible height "category" gallery. Thank you for doing these.
@ShanesCows Жыл бұрын
Awesome Matt! Thanks for sharing and great job!
@starmole50004 жыл бұрын
This is perfect for a project I'm doing! Using the gallery to dynamically repeat a few handy variably visible controls, you got a seriously flexible solution! thanks again.
@ShanesCows4 жыл бұрын
Thank you. I use this one A LOT.
@starmole50004 жыл бұрын
@@ShanesCows I bet! Many thanks Shane. Would have taken me a while to figure this one out by myself. Might have missed it completely.
@jeffmann92354 жыл бұрын
I'm with myquest84, perfect timing. I was creating a 50 column list and was struggling with getting it lined up in PowerApps. Thanks for putting this up.
@ShanesCows4 жыл бұрын
Glad to help Jeff. Wide list are the devil. 😀
@Dantresinari4 жыл бұрын
Hi Shane, you're a lifesaver! I've been looking for this for a week now and was almost giving up... Then your video popped up. Amazing! Thank you very much. I look forward to a video with advanced options for this. I would like to add a note field to the questions that get answered No with an explanation on why it didn't get done. Stay safe out there.
@ShanesCows4 жыл бұрын
Glad I could help!
@amarjabhalolage2 жыл бұрын
I am also looking to have options of adding Note field to the questions that get answered with no, how to store that info, In another comment column?
@spencercooper45464 жыл бұрын
Dennis helped me with this exact situation on Friday! Thanks for the help and enjoy working with y’all!
@ShanesCows4 жыл бұрын
That is awesome. I didn’t even know. 😀 It us came up with a bunch of customers in the last couple of months.
@russellniebolt14933 жыл бұрын
Shane......excellent! I watched this once through just now, I REALLY like the 'A Better Design'' mechanism. I don't understand all of it yet, but I'll watch this however many times more - to pick up all the nuances, etc. I'm all eyes into shorter code and a scalable structure. Thanks very much!
@ShanesCows3 жыл бұрын
Glad to help Russell. 😀
@ronaldallen68762 жыл бұрын
I find your videos amazingly helpful. I am so grateful to you as have a functional app i'm building and these really help, especially having less controls.
@ShanesCows2 жыл бұрын
Happy to help. Have a great day. 🐶
@ashokpershad4 жыл бұрын
Hi Shane..You enthusiasm is still same though situation due to COVID is getting worse day by day. Keep up the good work.
@ShanesCows4 жыл бұрын
Thanks Ashok. Stay safe!
@nigelprice94744 жыл бұрын
Hi Shane you have just blown the CDS people’s argument that you cannot do relationships without CDS out of the water. Keep up the good work !
@artkarp4 жыл бұрын
He demoed an app that has one data relationship. Not the hundreds or more data relationships that you can easily have in typical corporate data. If you are working with relational data, CDS easily handles that and gives you way more functionality than SharePoint. Use the right tool for the problem you are trying to solve. Don't just have one tool for all problems.
@AakashDhawanKash Жыл бұрын
Great Video, thank you for your help in understanding this concept. Would you by any chance know what to add as default if you are adding an attachment instead of the dropdown.
@ShanesCows Жыл бұрын
attachments don't work with Patch directly. :( Check out my Upload multiple documents. Maybe that will give you some ideas on how to incorporate here but I don't have an easy answer for this one. Sorry.
@kyawzin-kz4 жыл бұрын
Very helpful video I got the chance to watch this just in time I am about to create this kind of question and answer app with many columns Thanks
@ShanesCows4 жыл бұрын
Awesome 😎
@SS-cd1dl4 жыл бұрын
Shane take the video to the next level
@ShanesCows4 жыл бұрын
Will do. Hopefully sooner than later. 😀
@lukasvolkel66964 жыл бұрын
Hi Shane, great video and very helpful. Maybe in your next video on more advanced options you could show us a way to give multiple answers (eg from a dropdown or combo box) to each question with the possibility to add own/custom answers (if possible in the same dropdown/combo box or text input) and how this would be handled in Sharepoint. Keep up the great work!
@ShanesCows4 жыл бұрын
Hey Lukas the way I handle that in another app is I have an “other” option. If they choose other then I show a textinput and save whatever they enter there.
@michelrail2 жыл бұрын
Hello Shane, you made so many videos... Thank you! But, I'm looking to the video you said you would make regarding how to have different type of answers to the questions. I guess in your question definition list, you have the answer type, some validation, default value, list of choices for dropdown... How do we format that in the gallery? That's the video I'm looking for... 🐕👍
@ssma13684 жыл бұрын
Hi Shane, Please make more videos about common data Service! I used your training about info paths repeating tables and done a project for my company! Thanks a million!!👍
@saminenam3 жыл бұрын
Thanks the video!! Where can I find the continuation of the video, where input answers would vary?
@brendanc37054 жыл бұрын
Thanks again for another great video. I am using your design for a new solution, but as mentioned in a previous comment, I have to modify this to allow for the user to save an inspection as "In-progress" as they won't usually finish it in one session. I would love it if you could expand on this in a sequel to this video. I have managed to bring in other field types to collect more than Yes/No information, but would love to have a clear understanding on how to bring this altogether through the use of drafts that can then be converted to the final results....
@ShanesCows4 жыл бұрын
The children don’t matter. The key is set the parent record status to “in progress” and control the parent. The children will just follow mom. 😀
@humzasagheer39362 жыл бұрын
Im curious to find out if you found a solution to this as I also have the same issue
@munkybutler13 жыл бұрын
Thanks for this video Shane, it’s brilliant, when I eventually wrapped my head around it! What do you think about all the ‘experts’ who say sharepoint lists shouldn’t be used like a relational database? Also are you against using fancy columns in dataverse too?
@ShanesCows3 жыл бұрын
Yes, I don't like the fancy columns in Dataverse either. I get the people who hate on SharePoint as a data source BUT for a lot of people it is the best thing they have, due to licenscing. So I roll with it.
@louiscutmore3 жыл бұрын
YYEESSSS. This is awesome 😎 Thanks Shane!
@ShanesCows3 жыл бұрын
Glad you like it!
@simonowen764 жыл бұрын
Fantastic as always, Shane! Thank you!!
@ShanesCows4 жыл бұрын
Glad to help Simon. 😀 have a good day
@mohdraqibamirudin83562 жыл бұрын
Hi shane, thank for the excellent video. just one question, what if it involve attachment? can it be done?
@ShanesCows2 жыл бұрын
You would need to store the file in a doc lib and then reference the link. Do able but lots of little moving pieces.
@lovestromberg41374 жыл бұрын
Hi. Really like your videos. Could you please do one where you explain when and how to use the disambigous (@) operator? Thanks!
@ShanesCows4 жыл бұрын
That doesn't sound fun. 😁 Long story short? I NEVER use it. If it is needed I am doing things to confusingly so I try doing them differently. Not saying there is any issue using it, I have just avoided it for the last 3 years.
@jeremyleff4 жыл бұрын
Great stuff as always Shane. I have no doubt I'll be using this on customer projects soon!
@ShanesCows4 жыл бұрын
Fantastic! Glad it helps Jeremy.
@AlanShieldsJr4 жыл бұрын
Please demo different Form entry types, "to the next level" ;-} with repeating entries; like items in an order. What do you think?
@ShanesCows4 жыл бұрын
Look for my video on repeating tables like infopath I think that is what you are looking for. 😀
@asifkhawaja4 жыл бұрын
Heyyyy Shane. Another good one as usual. Thanks.
@ShanesCows4 жыл бұрын
Thanks 😊
@humzasagheer39362 жыл бұрын
Hi Shane, loved the video! I'm curious to know if there's a video after this where you explain or show how to add more items to the gallery like a camera or comments? Also is there a way to show a number automatically get updated when a person attempts a questions like '2/7 questions' done?
@krishnaagarwal86104 жыл бұрын
Absolutely great!!!! Learnt many things today, plain AWESOME 👍🏻👏🏻👏🏻👏🏻👏🏻
@ShanesCows4 жыл бұрын
Rock on!
@andresp27774 жыл бұрын
This is Gold!!!! Thanks Shane
@ShanesCows4 жыл бұрын
Thank you 🙏
@sujaysooknanan34304 жыл бұрын
Shane, you're awesome man. Thanks for this!
@ShanesCows4 жыл бұрын
Glad to help you :)
@carolevandenberg14744 жыл бұрын
Hi, Shane! I would love a recording on creating Charts in a PowerApp - would be very timely for my current work-at-hand!!!
@ShanesCows4 жыл бұрын
Hey Carole I don’t use charts much. They aren’t very good. I usually use powerbi
@haisamrazzak96913 жыл бұрын
Hi Shane, can you please show a way to build a checklist in which the "Preparer" and "Reviewer" both check off items, for example there are questions and two users select "Yes" and "No"
@ShanesCows3 жыл бұрын
I will consider it. 😀
@dainiuszivelis41534 жыл бұрын
Thanks Shane, as always very useful!
@ShanesCows4 жыл бұрын
Glad to help. 😀
@bschraders2 жыл бұрын
Thanks Shane, it took me whole long weekend to update the "wide list" app I made to use this data model using a junction table. It appears to work great, although I am running into an issue. (1) If the 'save chores' button is pushed twice, it adds a whole new set of answers to the Chore Answers list. Another snag I hit... what logic would you recommend to go back to a partially completed chore list? 👏
@GustavoPalaciosgap4 жыл бұрын
Thank you Shane, very helpful all your videos
@ShanesCows4 жыл бұрын
Glad you like them!
@frenamakenson98442 жыл бұрын
Nice demo
@ShanesCows2 жыл бұрын
Thanks 😊
@muyiwaishola31964 жыл бұрын
Thanks Shane. Keep up the great job! Hope to work with soon.👌
@ShanesCows4 жыл бұрын
Thanks 😊
@titusjv3603 жыл бұрын
@@ShanesCows uhu
@thoerzer4 жыл бұрын
Hey Shane! Thanks for all your videos, you are GREAT! One question: How about the SharePoint list's limit? I guess it's about 5000 rows. Isn't the limit easily reached with the method? Keep on your great work Thomas
@ShanesCows4 жыл бұрын
SharePoint doesn’t have a 5000 item limit. 😀 But it does get slow if you try to read big lists. If you have that much data I would consider another datasource
@thoerzer4 жыл бұрын
@@ShanesCows Thanks for the answer! Probably my company set the limit !?!? Anyhow, i can't use another data source, but I'll make it
@despotter713 жыл бұрын
thanks for this video it helps me very much. but is it also possible to put a image control in it and save the pictures in the sharepoint list
@ShanesCows3 жыл бұрын
I haven't tried but I don't see why applying this concept kzbin.info/www/bejne/aYLEmoBuiMqKnK8 wouldn't work.
@coranismyway90874 жыл бұрын
Great Video. You're awesome! Thanks!
@ShanesCows4 жыл бұрын
Thanks for watching!
@charlessterling3794 жыл бұрын
Great video thanks Shane!
@ShanesCows4 жыл бұрын
Trying to make you proud. 🤓
@aliendb3 жыл бұрын
Hi Shane. Love your work and I've learned a ton in a short time. This video inspired me to try to build a workout application. I've gotten the basic function to work with is great for a single user... adding routines to an "events" list easily adds to the gallery. I am stuck trying to see how I can use this model to now allow selection of multiple people, where an instructor would want to track each active members performance. I am trying two nested galleries, where the members are in the parent gallery, and the events row is in the child gallery. This also works (visually) But... i am stuck trying to grow the event list onChange from row1 to row2. Trying "forall" against the students list bit no avail... any thoughts if this technique generates row like ID'S (ThisItem) if you tried to apply this same thing but with more then one gallery listing of activity? Thanks for any thoughts. I know I could build it the traditional way but as of now... I don't know how many events may get added as traditional columns... cheers.
@constructioncarpentersltd77644 жыл бұрын
Hey Shane, I am just thinking ahead, but I am no master like you, but would this approach not be more hassle as the data set will grow very quickly and cause problem when trying to load collections in later down the road? Massive fan btw!
@ShanesCows4 жыл бұрын
It can generate massive amounts of data but I would prefer a long list than a smaller but wider list. Just depends on the though. Not sure there is a right answer 😀
@constructioncarpentersltd77644 жыл бұрын
Thank you for replying, after much thought and another go on this video and the penny finally dropping, I understand you logic now... You group the column entity in a SP list first which gives it an ID that you use to build relationships between galleries. Pure genius, thanks Shane 👌
@tiranirani65014 жыл бұрын
Hi Shane, apologies for the long post but can't see a simpler way to explain an issue. How about a video covering more in-depth stuff relating to the interaction between forms and dropdowns/comboboxes? I've been banging my head against this for 2 days and am possibly missing something!!! My test app consists of: SharePoint Lists ---------------- ---------- OrderHeader List: ID (Standard SharePoint list ID column) StoreID - Foreign Key - Number - references ID in Stores list OrderNumber - Text Stores List: ID (Standard SharePoint list ID column) - Primary Key StoreName - Text PowerApp -------- --------- Screen1 Gallery1: Gallery1.Items = OrderHeader Displays ID, OrderNumber, StoreName (StoreName is retrieved using Lookup to Stores list based on ID = StoreID) Form1: Datasource = OrderHeader Form1.Item = Gallery1.Selected Datacard1 - StoreID field deleted, inserted new StoreDropdown in its place Datacard1.Default = ThisItem.StoreID Datacard1.Update = Dropdown1.Selected.ID StoreDropdown.Items = ShowColumns(Store,"ID","Title") StoreDropdown.Default = ThisItem.StoreID Issue ----- ---- The store dropdown shows the list of stores and Dropdown1.Selected.ID reflects the correct value when selecting a store in the dropdown list. However, the dropdown does not display the correct store based on the StoreID value of the selected record in Gallery1 - it should change the store name based on the ID in the gallery record. It always shows the first store in the list of items. When submitting the form, the selected ID in the dropdown is not saved to the SharePoint OrderHeader list. It seems like there is a disconnect between the Dropdown on the form and the form's data. This behaviour appears to be the same in Comboboxes. Any suggestions would be gratefully received!
@ShanesCows4 жыл бұрын
Is it maybe a combobox? They use DefaultSelectedItems not default.
@ramshyam6044 жыл бұрын
Hi Shane. Thanks for the amazing content. Goes without saying how much help you are for the community! Have a question: I have exactly the same situation being solved except the answers can be an image, Yes/No or Text. For that, do you suggest I create multiple Answer columns like Answer_Text, Answer_Bool, Answer_Image, Answer_MultiSelect in both the Answer collection and in SharePoint and patch them separately like you showed, first patch Parent table (ChoreNarrow), then Answer table for only the Bool Answers and then Answer table for Image answers and so on.? Any suggestion would help. Thanks again for the great content.
@karteekabcd4 жыл бұрын
I am looking for something very similar too. We have 10 questions all having Yes or No and corresponding picture. Like, Question1 -- Is the door close? Yes or No and Question2 -- Attach a picture of the door. So, I would love to know the answer if that is possible to do using this new data model.
@ShanesCows4 жыл бұрын
Yes it is possible. For all text things I use one column and just define the type of input at the question level. I will do a video or class one day. For images I would have a third list where I stored those most likely.
@ramshyam6044 жыл бұрын
@@ShanesCows Oh I see. Thanks a lot for the input and waiting for the video. :)
@mozgus79ify4 жыл бұрын
Thank you Shane, exactly what I needed!
@ShanesCows4 жыл бұрын
Awesome 😎
@teresaagustin51914 жыл бұрын
Thanks Shane! This looks like a good strategy for an onboarding checklist app I need to make. Would check boxes or radio buttons work the same as yes/no drop downs or would some adjustments have to be made?
@ShanesCows4 жыл бұрын
Yup. In my Advanced class I showed off a more complex version with different controls. They all work. 😀
@anaadona41552 жыл бұрын
@@ShanesCows Hi Shane, I signed up for the training courses to learn more about this specific app. Can you let me know which video in there is the advanced class you are talking about? Thank you so much for the help!
@humzasagheer39362 жыл бұрын
@@anaadona4155 Could you let me know if you got access to the full version of this app and how?
@christopherho10134 жыл бұрын
Hi Shane, it is a useful video. May I check what will happen if the retrieve back the 'Chores Answer' will there be an error since it will exceed 500 entries? As now the column is reduced but the row is increasing. Thank you
@ShanesCows4 жыл бұрын
Only if the query to get the chores back isn’t delegable
@barnaliroy87034 жыл бұрын
Please make a video on making basic model driven apps with sharepoint list and also portal apps...These really help
@ShanesCows4 жыл бұрын
Model driven apps can’t use SharePoint as a datasource only cds. Sorry
@barnaliroy87034 жыл бұрын
Ok....but can we make a custom sharepoint entity in cds and then use it in model driven apps?
@jbwise20024 жыл бұрын
Super helpful, if I were to build an app to document the decisions call center associates make with customers, eg 40k customers, they call in about products they purchased and we need to ask 3 questions about each product, and we have maybe 5000 different products, how would we efficiently model that data? Thinking maybe. SQL of all customers, all products, and all Orders (matching customers to products). Would i add questions to orders list?
@artkarp4 жыл бұрын
Consider CDS for that kind of data row requirement.
@brandondoramus47584 жыл бұрын
Hi Shane! Your videos are very helpful! What would I do if I have a Gallery with 3 buttons as response options instead of a dropdown? Would I need to do a patch function for this?
@ShanesCows4 жыл бұрын
You can. Or have the buttons set variables then use the variable value when you save. 😎
@brandondoramus47584 жыл бұрын
@@ShanesCows thank you sir! Appreciate your willingness to help!
@PPramov4 жыл бұрын
Okay, this is awesome and I dove right in... and now I need a lifeline. I have a scenario where I have a SharePoint list that is providing the details for my fields, including field types. With this column, one of the options is 'choice'. I then have a column that contains the text for the choices. How do I make this work dynamically?
@ShanesCows4 жыл бұрын
I haven’t made a video on that yet. The basic idea is you need to have a way of tracking the choices. So I did it in my questions list.
@labahlabahoren4 жыл бұрын
I tried and followed the same, can't get the colChores collection appears on the gallery
@ShanesCows4 жыл бұрын
Not sure. View> collections and see if the collection has data
@dgreer083 жыл бұрын
I was having the same issue. My problem was that I had not made the screen visible (since the formula is on the "On Visible" property). Solution: create another screen that navigates to the "Narrow" screen. Play the app and navigate to the "Narrow" screen. When it becomes visible the collection will populate. I literally face-palmed when I figured this out. Hope this helps!
@AakashDhawanKash Жыл бұрын
@@dgreer08 Thank You for letting me know. I been in the same boat and struggling.
@olahenningsson69494 жыл бұрын
Hi Shane and thank you for yet another great video. I lack a dialogue about efficient and flexible data models in the Powerapps forums so I am grateful for this video. I wonder, is it possible to transpose the collection so that I can update a Sharepoint list instead of just add new rows? If, how?
@ShanesCows4 жыл бұрын
Ola yes, I don't see why not. Where I patch in new rows you wouuld need to do LookUp funciton to find the record you want to change. So you would need to keep the ID of the records in your collection.
@olahenningsson69494 жыл бұрын
Shane Young I`ll try to figure that out “in baby steps” of course. In the mean time I got a way to do by PK Hong with First and Last of the gallery.
@thomasboxler25364 жыл бұрын
Hi Shane, great video. Is this relationship model also good for common data service with it's limit of 300 entities?
@ShanesCows4 жыл бұрын
I think it would work well
@artkarp4 жыл бұрын
I believe the default entities on CDS is now 500. It can be increased beyond that with a request to MS support. And yes, this demoed data model scales and works way better than having 200+ columns.
@Eichenlaub4 жыл бұрын
Hi Shane, Do you ever go to edit an app in Powerapps and in takes forever to load or does not load? I am having that issue with one of my apps, could it be too big? Is there some limit? Thanks for all of the useful videos!!!
@ShanesCows4 жыл бұрын
Yes. If the app is too big it gets slow to open and slow to edit even. There are no hard limits. Just a feel. Sounds like you have the feel.
@glhuanto4 жыл бұрын
Hi Shane: I am new to PowerApps. I have been watching your PowerApps videos. Thank you very much for sharing. I have a question in this video. On Narrow screen, onSelect of "Save Chores" button, in ForAll statement, where did varRecord.ID come from? Did it come from "Set(varRecord,Patch('Chores Narrow',Defaults('Chores Narrow'),{Title:TestInput1_1.Text,ChoreDate:DatePicker1_1.selectedDate}));"?
@mohammadakmalabutaib1944 жыл бұрын
Can you show the block diagram (Share point Lists) and power Apps Screen.
@ShanesCows4 жыл бұрын
Sorry I don’t understand
@skarJones3 жыл бұрын
I saw that you defined _Purple to be a ColorValue in your OnStart and am trying to repeat that in my application, also. I believe I faithfully copied the form you provided, producing this code: Set(_LightestBlue, ColorValue("#08c5fb")); After running OnStart, I see that _LightestBlue is initalized as a color, but the variable has no value. I posted this question in the Power Apps forum, and was told to set the _LightestBlue variable to the hex itself, and then use that in the Fill as ColorValue(_lightestBlue), and this works. Clearly, your method is superior so, if I can get your method working, I can save keystrokes down the line. Would you mind explaining how you got your code to work, please? The forum question is, "Setting app colors in OnStart" in case you want to post it there. KrishnaV got one Solution credit; I will award your submission a solution, too. Thank you for your help, and these excellent, excellent videos.
@ShanesCows3 жыл бұрын
I can’t think of why this wouldn’t work for you. I do it all do the time. 🤔
@shimaurasheed69224 жыл бұрын
just the thing i wanted, you're awesome. Thank you so much :)
@ShanesCows4 жыл бұрын
Glad to help. 😀
@Ylotan4 жыл бұрын
Hi Shane. Which data type you prefer to use for storing Foreighn IDs?
@ShanesCows4 жыл бұрын
When using SharePoint as a data source? Either text or a number column.
@metalsnake004 жыл бұрын
Shane as always, rocking with powerapps :D, i came up with one question, is it possible to build an app where new employe fills out own info and it creates azureAD account strait a way?
@ShanesCows4 жыл бұрын
Not directly. We have done this but we used Microsoft Forms for the input and then had it trigger a flow that ran PowerShell. Not trivial but possible
@Salstravels4 жыл бұрын
Awesome work, Shane. Quick question? Does gallery not allow rich text input? If so, is there a work around for it without using forms?
@JGNiDK4 жыл бұрын
I've never seen rich text in a gallery. But maybe Shane knows better?
@andresfriss9194 жыл бұрын
hi, i have a project where the gallery has rich text, it works very well
@jinweitan7974 жыл бұрын
Hi Shane, just wondering this changes in terms of gallery to ask the questions, will there be a significant change towards set up of PowerBI in terms of data collection. :)
@ShanesCows4 жыл бұрын
Yes, your Power Apps data model change would mean you would have to slice PBI differently
@NightStreak46684 жыл бұрын
after 19 mins my brain strangled my throat!!!
@ShanesCows4 жыл бұрын
I hope that is a good thing? 😊
@jeremywiatkowski71352 жыл бұрын
Hi Shane, Is there a way to retrieve the submitted answers to the dropdowns and update /change existing submitted answers.
@maxcanada20103 жыл бұрын
Thank you Shane, exactly what I needed!, Also If updating the chores answer half the way , I want to exit and come back and to call back the chores narrow and continue the Chores answer, Please help on this
@glore2jc2 жыл бұрын
Create another sharepoint list that holds a variable for the users progress. On app start- create the variable based on logged in users information //See if they ever logged in before// If(IsEmpty(Filter(SPlistUserVariables, email = User().Email)), Patch(SPlistUserVaraibles, Defaults(SPListUserVaraibles), {Title: User().FullName, Email: User().Email, LastLogin: Now(), Status: “New” } ), Patch(SPlistUserVaraibles, Lookup(email= User().Email) {lastlogin: Now()} ) ) Then on the onchange ti the form- you have to patch directly to the data source not the collection. And on the first on change(use a variable for this) patch the user variable sP list referenced above and update the status ti “started”. Chores Narroe would include the USer() info and next login - the app on start would filter the narrow list for any entries made by logged User() in status “started” or you could filter the child chores answers too and if “true” the data populated and they can continue the survey. I hope that makes sense. It’s hard to type this stuff out on a YT comment
@georgewinters20664 жыл бұрын
Brilliant ! Thank you
@ShanesCows4 жыл бұрын
You're welcome!
@iansuffield3514 жыл бұрын
Hi Shane, this is awesome consideration. Wouldn't this start to run into issues with the data row limit in the sharepoint list feeding the app?
@ShanesCows4 жыл бұрын
Ian you do have to manage those SharePoint lists when you use it as a data source. SharePoint has pros but does have some cons and scale is one of them. :(
@avinoamrothenberg12444 жыл бұрын
@@ShanesCows In such case I'd use CDS as my DB and gain relationships too ;)
@bryanchaves56914 жыл бұрын
Just for curiosity. Would you still prefer the gallery input over a Form?
@ShanesCows4 жыл бұрын
I rarely uses forms. They are just so difficult.
@elizabetharcher85022 жыл бұрын
Thanks Shane can you use term store taxomology metadata as drop downs in the list or do they have to be independent sharepoint lists? Thank you
@warlumola4 жыл бұрын
Yess!!!! Thank you Shane
@ShanesCows4 жыл бұрын
You are welcome 🙏
@ktaber3173 жыл бұрын
Shane, how do you get your back button to dynamically hide on the home screen allowing the user to change the home screen name? Is that possible?
@jwvicho4 жыл бұрын
Hi Shane Can gallery filter a SharePoint list based on columns from another SharePoint list? I encountered PowerApps internal error trying to filter a SharePoint list based on a variable. I’ve 2 SharePoint Lists: 1) MData_ClaimsUsers (containing user’s info such as Name, Email, Section, Role etc.) - I used Email (single line text column) and Section (choice column) as filtering criteria for the other SharePoint List. 2) MData_Supplier-Section (containing Supplier Type (single text column) and Section (single text column) I’ve set global variables to identify the Section from MData_ClaimsUsers Set(varUser, User()); Set(varUserSection, Text(Lookup(MData_ClaimsUsers, CU_Email = varUser.Email, CU_Section.Value) But when I inserted varUserSection as part of Filter formula, I encountered error. SortByColumns(Filter(‘MData_Supplier-Section’, varUserSection = IsMarine), “SupplierType”, Ascending) Any advice to resolve the error or any other way for me to do the filtering or u have any videos about how to do SharePoint list as relational database for PowerApps?
@ShanesCows4 жыл бұрын
I show filtering a child/parent relationship in SHarePoint in this video kzbin.info/www/bejne/eqrPqaaOfrqsesU
@suzym10002 жыл бұрын
Shane, This looks very usefull ,however I can't get it to work . So please shine your light on this: When I use Set for the global variable collection to get the existion SPList, I have no results in the preview. Syntax is correct, List is recognized, There are columns and dummy-records available , but the content does not show. I get in the preview: "We did not find any data".
@utsukprani83444 жыл бұрын
Hi Shane, thanks for your videos. They are a great source of knowledge and help. I am kind of stuck with one issue and wondering if you can share some ideas. I have a SharePoint list with few columns. There is a column Name which is a free text column. And there is another column 'Potential Used By". This column is a multi-valued column where user can select from ComboBox multiple values. Sample data might look like this - Name1, ["UsedByA","UsedByB","UsedByC"] Name2,["UsedByA","UsedByB"] Name3,["UsedByC"] I need to create a Collection that will help me groupby UsedByA, UsedByB and UsedByC. Would that be possible to create a collection from above datasource that might look like below on which then I can group by UsedByA, UsedByB, and UsedByC Name1,UsedByA Name1,UsedByB Name1,UsedByC Name2,UsedByA Name2,UsedByB Name3,UsedByC Thanks for your time !
@ShanesCows4 жыл бұрын
Yes look at the Concat function. I have a video on it kzbin.info/www/bejne/d5-og5l9fqprndk
@viniciuspereira24593 ай бұрын
I have one form with more than 120 questions, this is going to save me when need to update. But i have more than 1600 itens on my masters list, after all is updated i will have more than 190k rows on details list. How to view that in Power apps?
@ShanesCows2 ай бұрын
That much data you are probably looking at Power BI 😎 Sorry, at that scale it is more than just a quick answer. I don't want to mislead you based on a quick sentence. Hopefully your data source is up for the task also. Hint, SharePoint is not if that is what you were thinking.
@nickchapman75624 жыл бұрын
Hi Shane, How would you manage this solution if they for example are doing an inspection and the inspections are throughout the day? so they open the app do a couple of inspections, they submit and close, reopen later to carry out more insepctions (repeat) until they are ready to submit that days inspections at the end of the day. I have tried to use the SaveData\LoadData to store the collection but for some reason when i reopen the app and hit the reload data nothing happens? using this in other scenarios it works as expected?
@ShanesCows4 жыл бұрын
Sorry I am behind on comments. kzbin.info/www/bejne/hKjFopd3bs9re80 Did you see my inspection app video?
@mikenicholaou82463 жыл бұрын
How would you add the child records to a Dataverse table and relate them to the parent record?
@mikenicholaou82463 жыл бұрын
I want to expand on my question. First, make the assumption that the parent-child relationship in these two Dataverse tables is established by explicitly creating the relationships using the "Add New Relationship" menu item in Dataverse, and that it's a one-to-many type relationship. So somehow, behind the scenes, a relationship link is established. Now imagine there is a PowerApps screen with a gallery of parent records next to a form containing controls linked to the fields in the child records. When it's time to submit the form, how is the linkage to the parent record established? In this video, which uses SharePoint as the database, the ID field in the child record was manually created and set to the value of the parent ID. Although this approach could be used in Dataverse, it doesn't appear to take advantage of the established relationship. How should it be done?
@ShanesCows3 жыл бұрын
This video kzbin.info/www/bejne/oYeopZ1thsmFj7s
@Itsprincessa01 Жыл бұрын
Hi Shane, how do i patch only selected answers and not the blanks. so just the answered questions and not patch questions that were not answered?
@Itsprincessa01 Жыл бұрын
because the list will keep getting longer and the blanks will keep taking up all the space.
@ShanesCows Жыл бұрын
ForAll(Filter(collection, Field Blank), Patch(logic))
@Itsprincessa01 Жыл бұрын
@@ShanesCows thank you Shane
@danielaholzner78924 жыл бұрын
Hi Shane, I created this questionnaire with 2 dropdowns per question. I'm finding that it is behaving very strangely, like selecting a response option in one dropdown automatically selects a response option in the second dropdown. I know this sounds as though I have some linkage somewhere but I don't... just wondering if you can reproduce that?
@ShanesCows4 жыл бұрын
Did you set the default property of the Dropdown to thisitem.fieldname ?
@daniela-brownella4 жыл бұрын
@@ShanesCows I have yes.. on both (in my case thisitem.fieldname1 for dropdown1 and thisitem.fieldname2 for dropdown2). I also note that this behavior only occurs for dropdowns, radio buttons work as expected but just take up too much space...
@ilkkaalhoke61953 жыл бұрын
For some reason I cannot get the following part to work. //ThisItem, {Answer: Dropdown2.Selected.value}); Has something changed in powerApps??
@ShanesCows3 жыл бұрын
I don't think so. Can you leave a new comment with your full formula and I can take a peek.
@jean-philippedelaune26074 жыл бұрын
Simple et efficace !
@ShanesCows4 жыл бұрын
Thanks 😀
@danielszelagiewicz22623 жыл бұрын
Will it work with DataVerse as a source as well?
@sokgat70194 жыл бұрын
Amazing!!! Thank you very much.:-)
@ShanesCows4 жыл бұрын
Glad you liked it!
@TheBantick4 жыл бұрын
Hi Shane! What if each checklist was not going to be completed on the first attempt. Each checklist was a work in progress over the course of several months? How can we go back and edit each one without creating new entries for each time it is updated?
@ShanesCows4 жыл бұрын
Save them as a status of draft. Create a gallery that lets people see their draft forms. Load the previous responses in when they edit the draft.
@TheBantick4 жыл бұрын
@@ShanesCows Have you previously created a video on how this is accomplished?
@brendanc37054 жыл бұрын
@@TheBantick I am also looking into solving this issue, just trying to get my head around collections enough to make this work. At the moment I am working on two buttons, one for submit inspection when the user has completed it fully in their first attempt, then a "save progress" that saves as a draft, as Shane has mentioned. My problem so far, is that I have been working on a collection which means the data is lost when the user closes the app etc (at least that has been my experience so far). I am now looking at have a SharePoint List that is Draft instead of Result. Then enable the user to view completed inspections or active (draft) inspections, which when selected, pulls the data from the Draft SP list. Still fumbling through this so it may still not work.....
@TheBantick3 жыл бұрын
@@brendanc3705 Any luck with your endeavor?
@humzasagheer39362 жыл бұрын
@@TheBantick I am also interested if this was achieved? Would be a life saver if you could let me know.
@MsAmyrock4 жыл бұрын
Hey Shane! Thanks for this...I’ve thought often about how to make question fields dynamic and felt there MUST be a better way! Great video. I have a question which I probably know is not possible, but thought I’d ask anyway: My client wants to put all of their questions on one screen that the user does not have to scroll up or down. So basically I’m looking for a gallery that increases horizontally and not vertically so that it fills the screen with no scrolling. Sort of like columns of questions. Any ideas?
@ShanesCows4 жыл бұрын
Columns have a number of columns settings you could mess with. There is a lot of dynamic settings just have to get real creative 😀
@moxaku4 жыл бұрын
Very good ! :-)
@ShanesCows4 жыл бұрын
Thanks 🙏
@danielbell91924 жыл бұрын
Hi Shane, great video again, I’m currently building a timesheet app which has a similar set up to this and some of your points will help. One thing I have been wondering about my own app though is that if hypothetically it had 250 Columns in the SP list and you were to change to this model the SP list that stores the answers will not be wide now but if you get 1,000 entries your gonna end up with a list that’s got 250,000 rows. Is that going to affect performance? My app will theoretically have up to 100 rows of data per week per employee, do you see this as an issue? Is there a row limit. I’m assuming as long as you avoid the blue squiggles that it’s should be ok and all the data can be pulled back easily enough as I’m going to need to lookup records for reporting.
@artkarp4 жыл бұрын
At 250K rows of data you might consider using CDS instead of SharePoint. CDS is designed for relational data and scales to millions of rows by design.
@user-bk8db7ud6k3 жыл бұрын
You are the greatest fucking Powerapps guy EVER. The spinner thing is so brilliant... Thanks!
@ShanesCows3 жыл бұрын
Awe shucks! Thanks. 🐶
@avinoamrothenberg12444 жыл бұрын
Shane, as usual - ya hit the nail right on it's head. That's a great sample of proper Relational DB Normalization, just the way it SHOULD be 👍🏻
@ShanesCows4 жыл бұрын
Thanks 🙏
@ramshyam6044 жыл бұрын
Hello Shane. This worked like charm EXCEPT until we hit ComboBox. Cannot patch ComboBox On Change because it changes each time a selection is made. So, the only way we saw out is to not patch OnChange of ComboBox instead patch everything collected from combobox using a submit button which because is inside the gallery looks bad because it repeats once per question. Any alternate for this in your experience?
@ramshyam6044 жыл бұрын
I was able to solve it. The issue was that because of On Change on ComboBox, the gallery was getting reset. (May be I didn't set the defaultselecteditems property on the combobox right). While I used colChores as the items for Gallery, I created a copy of colChores called colGalChores and then patched my answers to colGalChores no issues. I removed the default property on the controls too and had no issues. I know you mentioned in this video that the Default property is very important to be set right in this case but I couldn't figure it out correctly for Combobox and the above solution worked. Thanks again for the great content..!!
@ShanesCows4 жыл бұрын
Glad you got it.
@emiruzunovic67814 жыл бұрын
@@ShanesCows Hi, I experienced the same issue as Ram Shyam, gallery restart on update and since screen si scrollable it never returns to the same Y value so you end up lost in question. I tried to patch to the same local collection, I tried to patch with a lookup to the different collection, I tried different controls, radio, button, and so on with the same result. So I ended up having something similar to your "Wide" solution. If you have any idea that would be great. Thanks
@Saif_Ali_Khan_13014 жыл бұрын
Shane what will happen to powerapps form and microsoft flow if the person who has created it has left the company and his email address is now disabled? If forms and flow will stop working then how to make it work again ? how to avoid such situations? Please guide me
@saracoolidge37224 жыл бұрын
Hi! We had a similiar situation. So we created a generic user account that our entire IT dept has access too. Now, when anyone sets up a flow, they grant ownership permissions to this generic username as well.
@Saif_Ali_Khan_13014 жыл бұрын
@@saracoolidge3722 okay I understand but in MS flow each triggers and actions are having a connection to be set by default it takes the logged in user profile, in order to make the forms run smoothly we should change connection in actions to that generic account
@Saif_Ali_Khan_13014 жыл бұрын
@@saracoolidge3722 why I am saying this because When I was new to power apps I created a very big workflow with 10 update actions each updating 15 fields atleast and there was several parallel stage approval process too. After creation when it had to go live, I was handing it over to support team, they said they want there Team generic account access to be given so that email address can be changed for each notification etc. And then when I was about to leave the company in 2 months, so I had to change all the connection after giving owner access, Everything was fine but When I changed connection from my account to any other account for update action, it resets the update action😒😒😒 and I had to sit back and reconfigure everything which I had created in last 15 - 20 days
@SteveGarciaJr3 жыл бұрын
Hi shane.. can you teach me.
@ShanesCows3 жыл бұрын
Hey Steve we have lots of training and mentoring options at www.PowerApps911.com 😎
@Dantresinari4 жыл бұрын
Hi Shane, after watching your video I got right into creating. I’m running into a few errors on my dropdown and I was wondering if you could help me: When I try to set the Default to ThisItem.Answer I get this error: “Name isn’t valid. The identifier isn’t recognized.” When I set OnChange to Patch(colInspections, ThisItem, {Answer: dropAnswers.Selected.Value}) I get 2 errors: ThisItem - The specified column ‘Author’ does not exist. The type of this argument ‘Answer’ does not match the expected type ‘Text’. Found type ‘Error’. Could you tell me what am I doing wrong? Thanks!
@saracoolidge37224 жыл бұрын
I am having the same issues as well! Great video, would love to get some help on these items.
@Dantresinari4 жыл бұрын
Sara Coolidge thanks for sharing. I’ll update if I’m able to figure out what is wrong.
@saracoolidge37224 жыл бұрын
@@Dantresinari - Thank you Daniel! I will do the same. I will say, I have built out the rest of the app despite these errors, and it KIND of works. It will still sync to your data sources, etc. However, my sharepoint "answers list" will only display the last submitted response for all the other questions (so if my response to the last question was "blue", all my other questions incorrectly show "blue" as the answer). So close, and yet so far. I am sure it relates to our dropdown errors.
@Dantresinari4 жыл бұрын
@@saracoolidge3722 I think I'm on to something here... instead of using "ThisItem" in the patch function I pointed to the item on my collection like this: Patch(colInspections, First(Filter(colInspections, ID = ThisItem.ID)), {Answer: dropAnswers.SelectedText.Value}). The error is gone and now the dropdown gets patched to the right question! 😊Give it a try.
@saracoolidge37224 жыл бұрын
@@Dantresinari - Thank you so much for sharing, glad to hear your app is working! I updated my OnChange property with your code and while it does seem to help with updating my collection in live time, I am still getting the dropdown errors, and my sharepoint list repeats the same last answer for each question. Did you also happen to make any changes to the Default property of the dropdown? Is it still ThisItem.Answer?
@willbee65913 жыл бұрын
Come'on... your kids do all this?!? Heck you ought to teach "PowerParenting with PowerApps" !
@ShanesCows3 жыл бұрын
Oh neck no Will. My kids do closer to none of that. 😂
@glore2jc2 жыл бұрын
This is exactly how I model my data and it’s definitely hard to show noners the benefit of this style. My issue is merging it all back together if I need the wide list. Parent: Roster (I expect to have about 5000 records in here- currently around 500) Child1.1: Roster PII Parent 2: missions Child2.1: mission Manning (using the names from the roster and I also need the roster PII- only about 200 records in here now, but there will be 10ks at some point) Right now I’m merging that 2.1 list into a collection that takes FOREVER to load in browser and crashes an iPad Pro. I need help with the on start “code”. I’ve tried ClearCollect(colMerge, AddColumns(Child2.2MissionManning, “RosterDATA”, Lookup(Roster, userID = userID), “RosterPIIDATA”, Lookup(PIIRoster, userID = userID) ) ) I like this version because it brings back the whole child record which is helpful if the company need to add more columns of data to those lists but I’ve also tried adding each individual column from the child records that I need to reference but that is tedious and also super slow to load. Please help! Thanks