Power Apps Combo Box DefaultSelectedItems

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

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

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

    Hours of looking on Microsoft's documentation and you salved my problem in 5 minutes. Well done!

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

    Although Ive watched these videos before, rewatching them and realizing its so much easier to follow when Ive gained more experience is satisfying. Loved when you renamed columns from result to value, its like telling powerapps “look at me, Im the captain now”

  • @danilogamut
    @danilogamut 3 года назад +6

    Saved my life on that comma-delimited source... Appreciate your videos man! Life saver!

  • @BriJ19
    @BriJ19 3 года назад +1

    Life saving video! 40 minutes from a meeting with clients and couldn't get my repeating tables with combo boxes to keep their values!!! THANK YOU!

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

    Hi Shane ! Thanks a lot for this tip I get more and more skilled with powerapps but I have to admit that you are my true master, I learnt powerapps and lanched a compagny thanks to your vidéos, out of this everything changed in my life as a total freelance now, when I will be richer I swear I'll propose you and family a plane ticket for holidays in Marseille and pay you a the best bouillabaisse on the vieux port ... I assume in one year or two ...
    thx

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

      Congrats on the success Sylvain. You did all of the hard work of learning and applying. No holiday required. Use your hard work and good fortune to take care of your family. That is all I want. 😊

  • @user-vi1ww4xh1t
    @user-vi1ww4xh1t Год назад

    I thank you from the bottom of my heart good sir. Your video gave me my confidence back, after spending 2h30 banging my head against a wall, trying to manage a combobox through its default property.

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

      Glad I could help, I hope your head doesn't hurt too bad. :)

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

    Yes! That tutorial gave me the right inputs to get my combobox working (had this in the items "Choices([@'Project Reporting'].Customer)" and could not get it to select (and remember) the item from the gallery that was selected. Now it's done through this in the defaultselecteditems box: "LookUp(Choices([@'Project Reporting'].Customer), Value = glr_Reports.Selected.Title)"

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

    This is awesome! I fall into the category that needed to watch well beyond the 5-minute mark. Great video, this answers EXACTLY what I was needing to know.

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

    Amazing. Here are some that I had a hard time discovering and some that I couldn't. Learning from this video made my app even better.

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

    After hours spent trying to figure out why the default selected item was displaying blank this finally cleared it up for me! (The mismatch of Result and Value column names) You're my hero!!

  • @Mr_Poppea
    @Mr_Poppea 3 года назад +4

    Looking under the hood like this is always expands my understanding. Thank you.

  • @anirudsaichenna3158
    @anirudsaichenna3158 3 года назад +1

    Great Explanation Shane, appreciate sharing your knowledge, I caught up into a problem with Combo box and almost spent a day trying to resolve, but had no luck, and I started looking for help over internet and came across your video which helped in solving my problem in less than 30mins. thank you very much

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

    Ohhh my godd.. Thanks alot I was searching for setting the default value of a combo box from a text box since 3hrs. You just explained it in an excellent way. Thanks alot. Keep doing more videos like this😍

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

    After all this time, these still do my head in, plus I had to clear out a table again and again and have the items column renamed to value from a more logical name...but it finally worked. Thank you!

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

    Shane - I am truly a fan... I was in the same boat as another commenter - nothing seemed to work. But then I re-watched and applied the {Value: "ItemName"} method you used in the hard coded section for my issue - and it worked like a charm. Whoo Hoo, THANKS!

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

    3 yrs later you solved my issue! Thank you for your videos!

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

    I was struggling to get a comboBox to work with a default value from a Sharepoint item. This helped me a lot, thank you!😁

    • @ShanesCows
      @ShanesCows  2 месяца назад

      Glad you got it, combo boxes are so frustrating.

  • @olivaadak
    @olivaadak 3 года назад +1

    seriously you are a life saver! this turorial gave the idea how I should go with this defaultSelectedItems. thanks!

  • @GwenJones-mx9vl
    @GwenJones-mx9vl 8 месяцев назад +1

    Thank you for going the extra mile! Those are the videos that help! Anyone can be basic!

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

      You are so welcome!

  • @KrystalHawkins-c6w
    @KrystalHawkins-c6w 11 месяцев назад

    I have referred back to this video so many times. Thank you for continuing to make useful content!

  • @ssccservlearn
    @ssccservlearn 6 месяцев назад +1

    Saved the day for me today! Was beating my head against the way trying to figure out how to show previously selected values from a hard-coded dropdown list.

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

      Awesome, glad to help. 😎

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

    THANK YOU. You helped me solve my immediate problem, and you helped me to better understand some of the fundamentals MUCH better than I did 15 minutes ago!!!!

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

    Excellent video. Concise, yet thorough, as usual.

  • @optimisesocialmedia
    @optimisesocialmedia 3 года назад

    Shane! I love you!!!!!!! I have been baching my head against a wall for days on this problem and you come up trumps again. Thank you !

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

    Still valid in 2024. Help me save so much time figuring this out by myself. Real guru

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

      Awesome, glad to help. DefaultSelectedItems is one of the hardest concepts in Power Apps.

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

      @@ShanesCows thank you Master

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

    When I have an issue I almost always end up at your videos! I just need to start coming here first :)

    • @ShanesCows
      @ShanesCows  3 года назад

      You do. 😜 Glad to help.

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

    Thank you! Thank you! Thank you! The last method has made my day. Was worth watching the whole thing. Great Content Shane, Really appreciate you taking the time to explain these quirks in a simple way.
    My case was that the user can select a button to set the default form data.
    Button onSelect: UpdateContext({tempStr:TrimEnds(Concat(LookUp('Cert-FormDataTemplates',TemplateName = localTemplate,Stages).Value, Value&" "))})
    my combo box has this code;
    items: ShowColumns( Filter('Cert-ChoicesDataList',Not(IsBlank(Stages))),"Stages")
    DefaultSelectedItems: Filter(ShowColumns( Filter('Cert-ChoicesDataList',Not(IsBlank(Stages))),"Stages"),Stages in tempStr)
    I tried so many forums and got nowhere until I watched this. You are brilliant!
    Thanks mate

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

      Awesome. Makes my day when someone understands the deeper concept then just the answer. Good job! 🐶

  • @franknielsen7713
    @franknielsen7713 3 года назад +1

    F..... awesom with the solution with renaming columns. Have saved me hours of work if I had just taken my time to watch the whole video. THX again Shane 🤦‍♂️🤦‍♂️🤦‍♂️

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

    thanks for the tip about the split function and the renaming the column from result to Value

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

    Thank you Shane! I've created a AppSettings SharePoint list where I am storing app settings (defaults for filters, showing or hiding table columns, etc). Being able to grab a comma delimited string and set the DefaultSelectedItems from the SharePoint column is key to the success of this feature request in my solution...thank you!!

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

    Still useful today after being posted 14 months ago. Matching the items column header within the defaultselecteditems and renaming the column to match it fixed my issue. Thanks

  • @Consciousphotography
    @Consciousphotography 3 года назад +1

    Thank you for your contribution. I was struggling with the combo box and was looking for some help

  • @davidesparza4905
    @davidesparza4905 3 года назад +1

    Shane thanks for all your videos, you keep me inspired on learning new stuff, you're my idol :) !

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

    Great video. Exactly what I was looking for. Keep up the awesome work.

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

      Glad it helped!

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

      @@ShanesCows Hey Shane is there a way to set multiple persons as a default in a people picker using this code: {
      Claims: Concatenate(
      "i:0#.f|membership|",
      User().Email // Person email
      ),
      Department: "",
      DisplayName: User().FullName,
      Email: User().Email, // Person email
      JobTitle: "",
      Picture: ""
      }

  • @pisanchitphanthanakorn1304
    @pisanchitphanthanakorn1304 3 года назад +1

    Wow what a great tricks. You alway teach me new thing. Thank you so much Shane

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

    It's a shame I can only subscribe and like once. Excellent content. These are great times, with all the development that Microsoft is putting behind PowerApps.

    • @ShanesCows
      @ShanesCows  3 года назад

      Thanks for the support. 🐶 We will take your once and appreciate it.

  • @17avskadoo
    @17avskadoo Год назад +1

    You did so much heavy lifting buddy kudos to you.
    Awesome job, Thanks a lot !!!!

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

      Happy to help. Have a great day. 🐶

  • @erik8362
    @erik8362 3 года назад +1

    Great video as always. Just a quick insight I had: When selecting defaults on a combobox with a database table source, you can not use a function as a filter criteria as the query delegation will not work (e.g. LookUp(DBTable, Col1 = First(PowerBIIntegration.Data).col1). To solve this you first need to set a variable that can be used for filtering (e.g. Set(_varDBTable, First(PowerBIIntegration.Data).Col1 )); and default item= LookUp(DBTable, Col1 =_varDBTable)

  • @michaeldeabreu2020
    @michaeldeabreu2020 3 года назад +3

    Great Video Shane. I would love to see Combox used in a gallery. I have still not got this to work where you can have items in a collection the use a combobox within the gallery to 1) select values and then 2) Default the values when coming back to edit. Comboboxes in a gallery using the OnChange to patch a collection end up going into an infinite loop as the onChange and DefaultSelectedItems conflict.

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

      On change can cause loopiong. Maybe force the user to press a button to do the save instead of OnChange?

    • @jnotbusch
      @jnotbusch 3 года назад

      he did a very good video on changing just one record in a gallery and saving/updating it.

  • @andrewvalenzuela1790
    @andrewvalenzuela1790 3 года назад +1

    Thank you, I wish the powerapps docs had more example of how to use the various controls

    • @ShanesCows
      @ShanesCows  3 года назад

      😊 more is always better

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

    THANK YOU! Excellent, easy to understand, to the point!

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

      Happy to help. Have a great day. 🐶

  • @mcr-mso-85
    @mcr-mso-85 Год назад +1

    Again, thank you, Shane! You are a rockstar. That bloody combobox "Default" field is confusing, why did they keep it there if it doesn't have any use!

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

      I wish I knew, I wish I knew. 🥲

  • @prakashamc
    @prakashamc 3 года назад +1

    Great explanation, I have a collection of persons, I need to select default all the persons. Thanks.

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

    Thank you for another great video Shane.

  • @TraderZo1
    @TraderZo1 3 года назад +1

    You read my mind with this issue Shane! Multi Select filter to Multi Select!

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

    Hi Shane, I have had a lot of trouble setting the default selected items of a combo box when looking at a choices column.
    This seems to be a fundamental thing in Dataverse / Power Apps, using a combo box for a choices column but wow is it hard to find a way to set the default selected item.
    You mention the solution during the video, I use something like this: {Value: varRecord.'Choices Column'}. I use this in several places in almost all of the apps I build. Thanks for dropping that in there. I feel like this should be a bigger deal...
    This is the only place I have found this technique mentioned.

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

    Shane, you are very good, you saved me again.

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

    Thanks, my problem was whith record value and I could not understand the problem, you video was was amazing for me.

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

    Hi Shane, I'm loving your videos and they help a lot. Could you please help me understand how to pass a global variable into a combobox in a new form. So if I click from a Gallery onto a new page to add a record (1 to many for recording notes on a task), how do I pass the primary key into the notes form with foreign key. Thank you

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

    Thanks for the good info! What about add "ALL" be the first item in the combobox list?

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

    Pure spun gold, Shane

  • @TheRFreyre
    @TheRFreyre 3 года назад

    I am bookmarking this one. Thanks! One thing I wish you could cover in the future is how to populate a Person combobox with filtered people from another List. Like how do you show available Counselors in that combobox so that the user must select one of those. The problem is that a FILTER() in items will make that combobox loose its Person schema and you no longer can display Email, Picture, etc. out the combobox selection. Plus saving the selection and coming back to the form how do you do the DefaulSelectedItems to show what was previously selected and to display the Picture in a separate image control?

    • @DavidShaw-dc4re
      @DavidShaw-dc4re Год назад

      You could do a lookup, for 1 row, or a filter, for multiple selections, on the original data source using the selected items from the last combo box

  • @POng-lq6yj
    @POng-lq6yj Год назад +1

    Hello Shane,
    I have a question. I have a timesheet app. So I created a gallery that includes a combo box then it will be stored in a collection.
    As I add another row in the gallery, the defaultselecteditems in row1 is deleted.
    How can I retrieve the last record of my collection?
    Can you help me? Thank you

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

      In your DefaultSelectedItems ThisItem should be in there someway. Depending on how you stored it in the collection will determine how you put it in.
      Reminder, ThisItem represents the current record in the collection.

    • @POng-lq6yj
      @POng-lq6yj Год назад

      @@ShanesCows I am thinking if I create a variable to get the last record of my collection and put this variable in the defaultselecteditems property filter(collection, projectname = variable) of my combobox inside the gallery.
      Do you think it will work?

    • @POng-lq6yj
      @POng-lq6yj Год назад +1

      My only question is.. how can I get the last record of my collection? What is the syntax?
      so that I could create a variable from it :)

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

      @@POng-lq6yj Last(CollectionName) Will return the last record. :)

    • @POng-lq6yj
      @POng-lq6yj Год назад

      @@ShanesCows Thank you. I’ll try it tomorrow. You have been so helpful with my journey to Power Apps. Love your videos!

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

    You are a true life saver. Thanks mate 👍👍👍👍👍👍 More thumbs up 👍👍👍👍👍 Thx

  • @joeeydrift
    @joeeydrift 3 года назад +1

    Thank you for this video. you are awesome Shane!

  • @papithasekar9567
    @papithasekar9567 3 года назад

    Thanks again for the good informative video Shan,
    IF you don't mind,can you tell me how to set defaultselected item from CDS to combobox

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

    Thanks...This really helps...👍👍 But one scenario that I still struggle with is when using combo box in a edit mode form..I want the already submitted value to stay as default selected items but at the same time, but at the same time, I don't want the user to again select the same items while editing the form... Because default selected items return blank values in the update property of the data field...This really misguided the users...Is there more intuitive way to achieve this?

    • @ShanesCows
      @ShanesCows  3 года назад

      I don't have any good ideas. ☹

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

    Fun to watch learning at the same time. Thanks a lot!

  • @chaddruck8694
    @chaddruck8694 3 года назад +1

    Thanks! Makes sense now on the combo defaults.

    • @ShanesCows
      @ShanesCows  3 года назад

      Happy to help. Have a great day. 🐶

  • @patrick2131
    @patrick2131 4 месяца назад +1

    Thanking you later. Great recap, Shane!

    • @ShanesCows
      @ShanesCows  4 месяца назад

      Appreciate it Patrick. 😎

  • @joepark8872
    @joepark8872 Месяц назад

    Thanks Shane. But... I have a list (built by someone else) which has a column with delimited items. This field should be the default selected items. (Why this column was made a single-line text field and not a choice field is beyond me.). I can bring back the choices and split them into a table, like Split(ThisItem.'HUB-DisseminationMechanism',",") but I cannot use this in the DefaultSelected. I've tried {Value:} and I've tried Table({Value:}).
    Any ideas? The field might be CIDR, Custom Tools, FTP, QuickFacts and these should be the default selected.
    Thanks in advance!

  • @京萍李
    @京萍李 3 года назад +4

    I notice one trick in this defaultselecteditems. It shows the records you want in the combo box,while it will not be really selected if the user hit and select from dropdown lists. I solved this by coalesce function. Is there any neat solution? You know, as user seeing her/his name correctly selected in box, it is hard to ask her/him to select again..

    • @ShanesCows
      @ShanesCows  3 года назад

      Thanks for sharing! 🐶

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

      How to use that coalesce and where we have use it?

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

      have you fixed this issue when opening the combo box its not getting selected the value which are showing in default selected items???

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

    Really awesome... thanks for this video... it was very useful for me... :)

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

    Awesome video Shane I learned a couple of really cool stuff from this video!
    I have a question, how can I use the Combo Box and New Form thus when I type the name in the Combo Box, it shows me the record in Edit Mode Form?
    Thanks for your help!

    • @ShanesCows
      @ShanesCows  3 года назад

      You would want to set the Item property of the form to be the ComboBox.Selected assuming they both were usign the same data source

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

    Another nice video from you, Shane! Thanks (y) . Quick query - I have combo box as one of the field in my form. I selected - more than one value in combo box , (say 2 out of 5)and submitted the form. When I open the form in EDIT mode, how can I see those 2 values as preselected in combo box along with other 3 values?

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

      If you are using a Form control that should automatically be set, you shouldn't have to do anything. Did you check the DefaultSelectedItems. Did you also make sure your data is being saved to the data source.

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

      Hi Shane, Yes my data is being saved. I have 2 comboboxes in my form - 1 is single select, another multiselect. When I open form in EDIT mode , I am able to see previously selected values in the multiselect combobox but when I click on the down arrow to see the complete list - those pre-selected values are NOT highlighted. Highlight helps in identifying which values were submitted previously and which values have not been selected earlier. Please note; for both comboboxes, data is being fetched from another list.

  • @GoWstingray
    @GoWstingray 3 года назад +1

    Always rely on you Shane! Stupid past me stored a column as a text value, with the control in the app a combobox, then the customer says we want multiple values in that column. Crap i cant change it to a lookup now i will loose all my data! Split to the rescue with rename columns haha Thanks!

  • @DreW-bm7fc
    @DreW-bm7fc 2 года назад +1

    Thanks!

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

      Appreciate the support. 😎

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

    Thanks a ton for this video! Helped a lot!

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

    Great video as always. I ahve an issue though. When I set my DefaultSelectedItems to {Value: ThisItem.}, even though the item shows as a default, PowerApps thinks the ComboBox is BLANK until I go in and re-select the item? I need to some comparison logic to check if the default matches another cell, but it won't work until I go in and re-select the item again in the ComboBox??? Any ideas please!?

  • @Lillakort
    @Lillakort Месяц назад

    I use PowerApps with integrated sharepoint list. I have a problem when it comes to editing an item from the list:
    To be able to display the already selected item content in edit mode, do I have to set the DefaultSelectedItem = SharePointIntegration.Selected. This works. However, I have 3 input depending on each other, using filters. [Boat (Lv. 1), Main Component (Lv. 2), Sub-Component (Lv. 3)]. Which means that the choices in the comboboxes depends on the selection in the level above. For example two different boat choices, the main component drop down choices is depending on the selected boat, and the sub-component is depending on the main component. Therefore is there a need to reset the selections if any changes is made in a higher level. In the new item screen is the DefaultSelectedItem set to [], and I set the OnChange = Reset(…). This works, as the selection is set to blank. In the edit view is the same approach set to the item value, as it is the defaultselecteditem. I need to set the comboboxes on levels 2 and 3 to be blank OnChange in a higher level and not depending on the defaultselecteditem. Any suggestions?

  • @reivaxmik9058
    @reivaxmik9058 3 года назад

    Hi Shane, thanks for this. All your examples here works when the app is online, I was even using a collection and works just fine. But not if the app is offline. Any ideas or tips about this? Thanks

  • @ST-hb3xj
    @ST-hb3xj 8 месяцев назад +1

    Hi Shane, On a dropdown on the Modern Controls, do you know how to add a "Please select an option" before all the values from a Dataverse table and how to ensure that the dropdown does not show duplicate values?

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

      Distinct will help you only show unique values ruclips.net/video/VnadKWifkr8/видео.html
      New Table function can add something to your Table ruclips.net/video/APCeZxcIpdg/видео.html

    • @ST-hb3xj
      @ST-hb3xj 8 месяцев назад

      @@ShanesCows Hi, thank you for getting back to me. Your Distinct video works great on the classic dropdown, but there seems to be an issue with modern dropdowns. I'm not sure if Modern controls are really ready to be used to be honest, but thank you so much for getting back to me 🙂

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

    Just a tip. If you want to use combobox selecteditems as string use concat....for one item, concat(combobox.selecteditems, result & "") for few items concat(combobox.selecteditems, result & ",") well you will get an idea.

    • @ShanesCows
      @ShanesCows  3 года назад

      Yup. Very common pattern. I thnk I showed that in the combobox video. This one I was trying not to get too far off topic on defaults.

  • @rolyatecnal
    @rolyatecnal 3 года назад +1

    AT 8:14 I saw the Light! Thanks Shane!

    • @ShanesCows
      @ShanesCows  3 года назад

      Awesome Lance. Hope all is well. 😎

  • @johnheck1551
    @johnheck1551 3 года назад +1

    Another great video Shane. One question, have you done a video on combobox and how to display the current value from a selected gallery versus being able to select a item from the combobox on a new form and then how to write the new selection to the sql table that the form uses?

    • @alistairmonro
      @alistairmonro 3 года назад

      I just had this very issue, I had to save the selected record to a variable then use that like this.. If(editMode = true,Filter(Departments,Name = varSelectedItem.Department)).Name or this... If(editMode,LookUp(tbl_NonStockSuppliers,Name = varSelectedItem.Supplier,ThisRecord)) then just use patch/update for SQL

  • @s961201
    @s961201 3 года назад +1

    Great video - thanks🤩 will it work the same way if your source is peoplepicker connection? Let’s say I have gallery of projects. Within the form accessed from the gallery, I select the project team from O365 connection. Going back and forth between projects, will I be able to set the default selected team?

    • @ShanesCows
      @ShanesCows  3 года назад

      Yes, as long as the table matches it will be happy. 😊

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

    Hi Shane. I wanted to ask you what if I want to pass a collection in the combo box?
    Usecase: I have a collection of user names from a repeating section and want to pass that collection in the people picker field of SharePoint list? Can we do that?

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

      If I follow correctly then yes. ruclips.net/video/gsk14D-CYRE/видео.html Use that video to learn how to patch the field directly.

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

    Is there a way to say for text? instead of two dropdowns, I have Combobox and a search bar, and I want to do something similar so I can filter using both, but I can't figure out the right way of structuring the formula.

  • @SweetieRLY
    @SweetieRLY 26 дней назад

    Thank you Shane for your excellent videos 🙏🏻
    I have a form which is connected to two SharePoint lists, and I tried to filter a dropdown list so if one chooses Department A, the second dropdown list will be populated with its content from the other column from the same SharePoint list (the source of both dropdown lists is the same SharePoint list), but whatever I write in the formula nothing seem to work. Since the form includes DataCard and DataCardvalue, I believe I should write the formula different, but I don't know how. I'm aware there's a cascading solution, but I wanted to a create a straightforward solution, so users don't have to choose a value from the second dropdown list - it's will be populated automatically. Do you have any suggestions for each dropdown list?
    In addition, I have two departments in the SharePoint list which include multiple values, so I wonder how will they be displayed in the dropdown list? Will the first value be populated? I prefer it will work this way, and not display multiple values.

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

    Shawn one problem in this, if you want to save it combobox value so you will use combobox.selecteditems, at that time default selected item will not going to save it shows blank, please check the scenario, but its come when you selected values manually, default values not come in selecteditems

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

    Hello Shane, it's been great learning, And I wanted to know something, please help me come out of the issue as follows:
    We have a Form with a combo box that allows multiple selections, we selected 2-3 office365names from the list and save it, when we try to open that record again, it should load the selected items in the combo box without touching any item if we submit again, it should still hold those values in the database,
    In my case, it is storing multiple values and while editing it is showing the values in the combo box, but when I click on submit, without touching anything, the combo box values are getting vanished. it should still hold the values.
    Thank-you
    I am looking forward to hearing from you.

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

    I have a combo box that is a multiselect it is called UnitCombobox . It is pulling the data from collection UnitNames . It writes the multiple unit names to the column in the library column called Unit. When I open up the form I can't figure out how to Filter the UnitComboBox to show the DefaultSelectedItems that are assigned to the record. It is always blank. I can only make it work if there is only 1 unit in the column not multiple. Here is the code currently DefaultSelectedItems = Filter(UnitName, Title = ThisItem.Unit) only works if there is only 1 unit name not multiple.

  • @mahalakshmi1404
    @mahalakshmi1404 3 года назад +1

    Hi thanks for the information..I want to hide the another text input control based the selected value in this checkbox (inside gallery).. what should I writ in the visible property of that text input

    • @ShanesCows
      @ShanesCows  3 года назад +1

      ruclips.net/video/s85i8UWw2QM/видео.html I have a whole video on ways to do it. 😀

    • @mahalakshmi1404
      @mahalakshmi1404 3 года назад

      @@ShanesCows Thankyou.. It helps me lot

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

    Hi Shane,
    I want to set current logged in user as default selected person then can add more people from people picker combobox. Below things I have done and hoping you would help!!
    I have people picker combo box and data source is SharePoint. Combo box is set to true to allow multiple selection. On AppStart I set "Set(CurrentUser, Office365Users.MyProfile());" I have datacard which to I used DefaultSelectedItem and set "CurrentUser". To update item property of datacard I used "DataCard1.SelectedItems" but seems like it says record expected then when I change to "DataCard1.Selected" then it only takes 1 value which I selected and removes DefaultSelectedItem and other selection.

  • @tristangeoffroy9286
    @tristangeoffroy9286 3 года назад

    Shane, thank you very much, I mean really MUCH ;-) I spent so much time on this apparently easy thing. …

  • @codeklaudia9696
    @codeklaudia9696 3 года назад +1

    Thank you for the video!! Is it also possible to store multiple items selected from a combobox into a global variable (array) to pass it to the next screen?

    • @ShanesCows
      @ShanesCows  3 года назад +1

      ClearCollect(yourCollection, Combobox1.SelectedItems)

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

    Hello Shane, thanks to your tutorials I have recently build my first app. Your presentation is clear and understandable and energy is great! Thank you. I have however ran into a problem and I cannot find a solution anywhere. I want to use combobox to filter the records in vertical galery. The items of the combobox are added with Distinct function. The filter works, but the options are invisible . The user can choose them but is unable to see which option he is choosing. Have you ever ran into such problem? is there a remedy for this?

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

      Check the Field you are displaying in the Combobox. It is over on the right under the data source.

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

      @@ShanesCows Hello, yes, the issue was in the Field propoerty. Apparently when Distinct is used to fill the combobox the Result field must be added to the fields. Thanks!

  • @paulwohnoutka8489
    @paulwohnoutka8489 3 года назад +1

    Thanks Shane, always appreciate your videos. I'm using the steps provided in your repeating table videos and have added a combo box to the gallery. The combo box selections do save in the collection. When I create a new record in the gallery, the context in the saved text fields remain on the display but the combo box selected item disappears. What am I missing?

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

    Tak!

    • @ShanesCows
      @ShanesCows  7 месяцев назад

      Thank you for the support. 😎

  • @filipuppsall-sjogren114
    @filipuppsall-sjogren114 3 года назад

    Hey Shane... thanks for all the great videos.
    I tried something and didn't manage to solve it... so I changed my approach... but I'm curious to see you show how it can be done.
    I had one gallery and one form to show that record... and then I had another smaller form for users to fill out "requests" on the selected gallery Record...
    The second form had one prepopulated field for the "Record ID" from the selected gallery record, so I could keep track on which record the request was attached to.
    However in my attempts to be "clever" I used two sharepoint lists... where that ID-column in the second list was linked to the ID-column of the first list.
    Now, no matter how I tried I couldn't get that column populated with the selected records ID when I submitted the second form.
    So finally I just turned it into a simple number column to get it to work.
    But I would love to know how it was supposed to be done... because I think I was close...

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

    Hey Shane great video. I do have a question for you or anyone in the comments. I am building a app that connects to SharePoint data source and i have a combo box that shows the list but I have multiple items the same name I have used distinct to filter the other out but when i do the "Allow Searching" flips to false and when i flips it back it it changes again. Is there a way to keep the search function?

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

    Once again, great content Shane, thank you very much!
    In one of my apps my registering several items according the distinct value of a table. For instance, it starts asking for a item, and then the quantity box shows up to insert a value. When I put the quantity the 2nd box item shows up, but the box shows the item I choose in the 1st. Do you know a simple way of removing the value from the 1st box in the 2nd box?
    Best regards.

  • @gouthamreddykotha1767
    @gouthamreddykotha1767 3 года назад

    How to auto populate combobox values based on another combobox selected value. Please help me. I have two lookup fields.for example, If we select A in lookup1 then lookup2 should auto populate whith apple which is one of the option in lookup 2 .

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

    This is great if it's the first time submitting an item, however, when the user selects a different option when editing the item, it defaults back to whatever you had set the DefaultSelectedItems. How to change it on edit so that doesn't always return to default and retain the existing option selected by user?

  • @Shinsha-vaami
    @Shinsha-vaami 3 года назад

    Hi Shane,
    Could you please make a video on below scenario
    Autocheck check boxes based on the value in another field, check box items are coming from SharePoint list column

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

    I have been doing this for a WHILLLLE now. Probably as long as you considering I started playing in Preview circa 2016. This dhoozey always has me coming back to the books. Just one of those things, I guess. This actually adds a little more complexity when you have Dataverse as a source and the fields in your form are CDM choices such as "Months" or "Fiscal Years". Because it stets the items property to Choices(Months) and Choices(Fiscal Years) rather than Choices([@YourDataSource].Column).

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

      Thanks for sharing. 😀

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

    Hi Shane! Thanks for the combobox tutorial. I have a question though. I'm trying to get the default values inside the combo box within the 'defaultselecteditems' property. While it does show the values inside the combobox, the values cannot be retrieved or displayed and the combobox is considered as empty unless the values are re-selected.
    Is there a workaround for this? thanks!

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

    Does the DefaultSelectedItems actually set the field value? I need something that physically sets the field value based on another field. Visually it seems like it works on my app, but when i go do a form submit. Its not actually saving the field.

  • @mabenantokozo5433
    @mabenantokozo5433 3 года назад

    Hey man thanks for the video.
    Can you make the video about setting default selected item for a combobox that is an Office 365 User Search then patching it to sharepoint?

  • @greenberetsp
    @greenberetsp 3 года назад +1

    Thanks Shane, you are the best!!!!!!