{"id":2375,"date":"2017-09-07T11:27:47","date_gmt":"2017-09-07T09:27:47","guid":{"rendered":"http:\/\/www.itidea.nl\/?p=2375"},"modified":"2017-09-07T11:34:37","modified_gmt":"2017-09-07T09:34:37","slug":"how-to-create-cascading-drop-downs-using-powerapps","status":"publish","type":"post","link":"https:\/\/www.itidea.nl\/index.php\/how-to-create-cascading-drop-downs-using-powerapps\/","title":{"rendered":"How to create cascading drop downs using PowerApps"},"content":{"rendered":"<p>In SharePoint Online an app can be easily created using PowerApps to manage data. In this post I want to show you how to create cascading drop downs in an app and save the data back to SharePoint.<\/p>\n<p>Start with three lists:<\/p>\n<ol>\n<li>Location list &#8211; location<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/1-PowerApps-cascading-dropdown-Location-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2385\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/1-PowerApps-cascading-dropdown-Location-list.png\" alt=\"1-powerapps-cascading-dropdown-location-list\" width=\"223\" height=\"281\" \/><\/a><br \/>\n<em>Figure 1 &#8211; contents of Location list<\/em><\/li>\n<li>Training list &#8211; training name, lookup to location, price<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/2-PowerApps-cascading-dropdown-Training-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2384\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/2-PowerApps-cascading-dropdown-Training-list.png\" alt=\"2-powerapps-cascading-dropdown-training-list\" width=\"762\" height=\"539\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/2-PowerApps-cascading-dropdown-Training-list.png 762w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/2-PowerApps-cascading-dropdown-Training-list-300x212.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/2-PowerApps-cascading-dropdown-Training-list-600x424.png 600w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><\/a><br \/>\n<em>Figure 2 &#8211; Contents of Training list<\/em><\/li>\n<li>Schedule list &#8211; lookup to location and training; schedule date<br \/>\nNo content yet.<\/li>\n<\/ol>\n<h4>Purpose<\/h4>\n<p>The purpose is to create a screen in the PowerApps app to select a Location and after the selection the items shown in the Training drop down will be narrowed to the trainings defined at the specified location in the Training list. To fulfill the schedule a date can be filled and the item can be saved to the list in SharePoint.<\/p>\n<h4>Create an app<\/h4>\n<p>From the Schedule list in SharePoint create a new PowerApp.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/3-PowerApps-cascading-dropdown-Create-an-app.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2383\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/3-PowerApps-cascading-dropdown-Create-an-app.png\" alt=\"3-powerapps-cascading-dropdown-create-an-app\" width=\"628\" height=\"174\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/3-PowerApps-cascading-dropdown-Create-an-app.png 628w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/3-PowerApps-cascading-dropdown-Create-an-app-300x83.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/3-PowerApps-cascading-dropdown-Create-an-app-600x166.png 600w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><br \/>\n<\/a><em>Figure 3 &#8211; create an app<\/em><\/p>\n<p>Give the app a name and select &#8216;Create&#8217;.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/4-PowerApps-cascading-dropdown-Name-the-app.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2382\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/4-PowerApps-cascading-dropdown-Name-the-app.png\" alt=\"4-powerapps-cascading-dropdown-name-the-app\" width=\"334\" height=\"525\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/4-PowerApps-cascading-dropdown-Name-the-app.png 334w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/4-PowerApps-cascading-dropdown-Name-the-app-191x300.png 191w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/a><br \/>\n<em>Figure 4 &#8211; name the app<\/em><\/p>\n<p>PowerApps is building the app out of the box with three screens: browse, detail and edit. The app is now fully functional and can be tested by selecting the Preview button (Play) in the top right of the screen.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/5-PowerApps-cascading-dropdown-Preview-button.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2381\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/5-PowerApps-cascading-dropdown-Preview-button.png\" alt=\"5-powerapps-cascading-dropdown-preview-button\" width=\"191\" height=\"59\" \/><\/a><br \/>\n<em>Figure 5 &#8211; the Preview button<\/em><\/p>\n<p>The app shows no data, because there is no data in the Schedule list.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/6-PowerApps-cascading-dropdown-Browse-screen-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2401\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/6-PowerApps-cascading-dropdown-Browse-screen-1-300x219.png\" alt=\"6-powerapps-cascading-dropdown-browse-screen\" width=\"300\" height=\"219\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/6-PowerApps-cascading-dropdown-Browse-screen-1-300x219.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/6-PowerApps-cascading-dropdown-Browse-screen-1-600x438.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/6-PowerApps-cascading-dropdown-Browse-screen-1.png 722w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<em>Figure 6 &#8211; browse screen<\/em><\/p>\n<p>The Plus sign can be selected to navigate to the EditScreen in &#8216;New Item&#8217; mode and a new item can be added to the list.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/7-PowerApps-cascading-dropdown-Select-a-training.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2379\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/7-PowerApps-cascading-dropdown-Select-a-training-238x300.png\" alt=\"7-powerapps-cascading-dropdown-select-a-training\" width=\"238\" height=\"300\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/7-PowerApps-cascading-dropdown-Select-a-training-238x300.png 238w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/7-PowerApps-cascading-dropdown-Select-a-training-600x757.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/7-PowerApps-cascading-dropdown-Select-a-training.png 716w\" sizes=\"auto, (max-width: 238px) 100vw, 238px\" \/><\/a><br \/>\n<em>Figure 7 &#8211; select a Training<\/em><\/p>\n<p>After selecting a Location all items in the Training list are displayed to select from. Select one and fill in a date and the item can be saved to SharePoint.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/8-PowerApps-cascading-dropdown-Save-to-SharePoint.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2378\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/8-PowerApps-cascading-dropdown-Save-to-SharePoint-300x91.png\" alt=\"8-powerapps-cascading-dropdown-save-to-sharepoint\" width=\"300\" height=\"91\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/8-PowerApps-cascading-dropdown-Save-to-SharePoint-300x91.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/8-PowerApps-cascading-dropdown-Save-to-SharePoint.png 470w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<em>Figure 8 &#8211; item saved to SharePoint<\/em><\/p>\n<p>This is what you get in the out of the box PowerApp created from the Schedule list:<br \/>\na functional app bound to the data source selected from where the app was created in SharePoint.<\/p>\n<h4>Cascading drop downs<\/h4>\n<p>To create the cascading drop downs functionality the approach is a bit different. The Schedule list has no knowledge of what Training is given in what Location. The Training list is. The Training list doesn&#8217;t has to be aware of all Locations. The Locations list is.<\/p>\n<p>The easiest approach is to create a new Form screen from the Insert tab, New Screen button.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/9-PowerApps-cascading-dropdown-New-Form-screen.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2377\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/9-PowerApps-cascading-dropdown-New-Form-screen-170x300.png\" alt=\"9-powerapps-cascading-dropdown-new-form-screen\" width=\"170\" height=\"300\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/9-PowerApps-cascading-dropdown-New-Form-screen-170x300.png 170w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/9-PowerApps-cascading-dropdown-New-Form-screen.png 522w\" sizes=\"auto, (max-width: 170px) 100vw, 170px\" \/><\/a><br \/>\n<em>Figure 9 &#8211; new form screen<\/em><\/p>\n<p>This screen consists of an EditForm and some controls, like the icons left and right at the top, the title label and the rectangular blue bar at the top.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/10-PowerApps-cascading-dropdown-Contents-of-a-screen.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2395\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/10-PowerApps-cascading-dropdown-Contents-of-a-screen.png\" alt=\"10-powerapps-cascading-dropdown-contents-of-a-screen\" width=\"193\" height=\"183\" \/><\/a><br \/>\n<em>Figure 10 &#8211; Contents of a screen<\/em><\/p>\n<p>Controls have to be added to the screen (not the edit form! Make this control smaller if there isn&#8217;t any room left on the screen) to be able to select a Location and a Training by selecting Controls, Drop down from the Insert tab.<\/p>\n<p>The drop downs have to be connected to two different data sources:<br \/>\nThe Location drop down has to be bound to the Location list.<br \/>\nThe Training drop down has to be bound to the Training list.<\/p>\n<p>To do so select Data source from the View tab, connect to the appropriate SharePoint sites and add the two lists mentioned.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/11-PowerApps-cascading-dropdown-Add-data-sources.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2394\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/11-PowerApps-cascading-dropdown-Add-data-sources-256x300.png\" alt=\"11-powerapps-cascading-dropdown-add-data-sources\" width=\"256\" height=\"300\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/11-PowerApps-cascading-dropdown-Add-data-sources-256x300.png 256w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/11-PowerApps-cascading-dropdown-Add-data-sources.png 324w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/a><br \/>\n<em>Figure 11 &#8211; add data sources<\/em><\/p>\n<p>The &#8216;_1&#8217; is added because the name is already been used by the ootb PowerApp created.<\/p>\n<p>To bind the Location drop down to the appropriate data source you have to select the drop down, select the property &#8216;Items&#8217; and put in the value &#8216;Location_1&#8217;. The drop down is populated right away.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2402\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1-1024x477.png\" alt=\"12-powerapps-cascading-dropdown-bind-dropdown-data-source\" width=\"598\" height=\"279\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1-1024x477.png 1024w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1-300x140.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1-768x358.png 768w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1-600x280.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/12-PowerApps-cascading-dropdown-Bind-dropdown-data-source-1.png 1081w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><br \/>\n<em>Figure 12 &#8211; bind a drop down to a data source<\/em><\/p>\n<p>To create the cascading functionality the binding of the Training drop down will be dependent of the selection of the Location drop down.<br \/>\nThe &#8216;Items&#8217; property has to Filter the Training_1 data source where the selected Location in the drop down is the same as the Location lookup value in the Training_1 data source (=the Training list in SharePoint). The formula has to be:<\/p>\n<blockquote><p>Filter(Training_1,LocationLookup.Id = DropdownLocation.Selected.ID)<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2406\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1-1024x432.png\" alt=\"13-powerapps-cascading-dropdown-cascading-dropdown\" width=\"598\" height=\"252\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1-1024x432.png 1024w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1-300x127.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1-768x324.png 768w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1-600x253.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/13-PowerApps-cascading-dropdown-Cascading-dropdown-1.png 1102w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><br \/>\n<em>Figure 13 &#8211; cascading drop down<\/em><\/p>\n<p>Hit the Preview button (Play) in the top right of the screen to see this working in the browser, but it works in design mode already.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/14-PowerApps-cascading-dropdown-Select-location-training.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2391\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/14-PowerApps-cascading-dropdown-Select-location-training-300x249.png\" alt=\"14-powerapps-cascading-dropdown-select-location-training\" width=\"300\" height=\"249\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/14-PowerApps-cascading-dropdown-Select-location-training-300x249.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/14-PowerApps-cascading-dropdown-Select-location-training-600x499.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/14-PowerApps-cascading-dropdown-Select-location-training.png 717w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<em>Figure 14 &#8211; select a location and see the training items listed<\/em><br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/15-PowerApps-cascading-dropdown-Select-other-location-training.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2390\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/15-PowerApps-cascading-dropdown-Select-other-location-training-300x273.png\" alt=\"15-powerapps-cascading-dropdown-select-other-location-training\" width=\"300\" height=\"273\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/15-PowerApps-cascading-dropdown-Select-other-location-training-300x273.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/15-PowerApps-cascading-dropdown-Select-other-location-training-600x546.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/15-PowerApps-cascading-dropdown-Select-other-location-training.png 723w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<em>Figure 15 &#8211; select another location and see the training items listed for that specific location<\/em><\/p>\n<blockquote><p>All right, the cascading drop downs are working!<\/p><\/blockquote>\n<p>Last things to do are:<br \/>\nto add the Schedule date field and<br \/>\nsave it all back to SharePoint.<\/p>\n<p>And this is why I choose a new Form screen in the beginning, we&#8217;re going to use this now to make the saving back to SharePoint work. Of course a new Form can be added to a screen all the time.<br \/>\nAs the form displays it isn&#8217;t connected to any data yet.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/16-PowerApps-cascading-dropdown-Form-not-connected.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2389\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/16-PowerApps-cascading-dropdown-Form-not-connected-177x300.png\" alt=\"16-powerapps-cascading-dropdown-form-not-connected\" width=\"177\" height=\"300\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/16-PowerApps-cascading-dropdown-Form-not-connected-177x300.png 177w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/16-PowerApps-cascading-dropdown-Form-not-connected.png 521w\" sizes=\"auto, (max-width: 177px) 100vw, 177px\" \/><\/a><br \/>\n<em>Figure 16 &#8211; form not connected to any data<\/em><\/p>\n<p>Since the Schedule list was already added as a data source, the form can connect to it by setting the &#8216;DataSource&#8217; property to &#8216;Schedule&#8217;.<br \/>\nIn the right pane &#8216;Form customization&#8217; the layout and fields to show in the form can be chosen.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2388\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization-1024x709.png\" alt=\"17-powerapps-cascading-dropdown-form-customization\" width=\"598\" height=\"414\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization-1024x709.png 1024w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization-300x208.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization-768x532.png 768w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization-600x416.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/17-PowerApps-cascading-dropdown-Form-customization.png 1109w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><br \/>\n<em>Figure 17 &#8211; Form customization<\/em><\/p>\n<p>To save the data back to SharePoint we&#8217;re going to set the Location and Training values in the EditForm to the same values as the cascading drop downs at the top of the screen have.<br \/>\nTo do so select the Location data card in the Form and update the &#8216;Default&#8217; property to<\/p>\n<blockquote><p>{&#8216;@odata.type&#8217; : &#8220;#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference&#8221;,<br \/>\nId:DropdownLocation.Selected.ID,<br \/>\nValue:DropdownLocation.Selected.Title<br \/>\n}<\/p><\/blockquote>\n<p>For choice and lookup fields this is the way to save the field back to SharePoint.<br \/>\n@odata.type : has to have value #Microsoft.Azure.Connectors.SharePoint.<strong>SPListExpandedReference<\/strong><br \/>\nId : for lookup it&#8217;s the column id in the list<br \/>\nValue : the value of the field shown in the lookup<\/p>\n<p>As you may notice you can&#8217;t update this property\u2026<br \/>\nTherefor you have to unlock the data card by selecting the icon or text &#8216;Unlock to change properties&#8217;.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2408\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2-1024x538.png\" alt=\"18-powerapps-cascading-dropdown-unlock-data-card\" width=\"598\" height=\"314\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2-1024x538.png 1024w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2-300x158.png 300w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2-768x403.png 768w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2-600x315.png 600w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/18-PowerApps-cascading-dropdown-Unlock-data-card-2.png 1106w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><br \/>\n<em>Figure 18 &#8211; unlock the data card<\/em><\/p>\n<p>Now update the Default property.<br \/>\nIf you did it right the value in the drop down in the Form updates immediately.<br \/>\nDo the same for the Training field.<\/p>\n<p>Then the controls in the EditForm can be hidden to show only the ScheduleDate field and that&#8217;s it!<br \/>\nHit the Preview button again, select a Location, Training, fill in a ScheduleDate and press the &#8216;Submit item&#8217; button at the top right of the screen.<br \/>\nIf you don&#8217;t see the ScheduleDate field set the Form in New mode, it probably is in Edit mode now.<br \/>\n<a href=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/19-PowerApps-cascading-dropdown-Schedule-list-update-from-PowerApp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2386\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/19-PowerApps-cascading-dropdown-Schedule-list-update-from-PowerApp.png\" alt=\"19-powerapps-cascading-dropdown-schedule-list-update-from-powerapp\" width=\"459\" height=\"206\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/19-PowerApps-cascading-dropdown-Schedule-list-update-from-PowerApp.png 459w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2017\/09\/19-PowerApps-cascading-dropdown-Schedule-list-update-from-PowerApp-300x135.png 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/a><br \/>\n<em>Figure 19 &#8211; Schedule list update from PowerApp<\/em><\/p>\n<h4>Summary<\/h4>\n<p>In this post I showed you how to create cascading drop downs and how to save this back to SharePoint. It contains a few caveats, but it&#8217;s quite doable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In SharePoint Online an app can be easily created using PowerApps to manage data. In this post I want to show you how to create cascading drop downs in an app and save the data back to SharePoint. Start with &#8230; <a class=\"more-link\" href=\"https:\/\/www.itidea.nl\/index.php\/how-to-create-cascading-drop-downs-using-powerapps\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[37,47],"class_list":["post-2375","post","type-post","status-publish","format-standard","hentry","category-office-365","tag-office365","tag-powerapps"],"_links":{"self":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/comments?post=2375"}],"version-history":[{"count":12,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2375\/revisions"}],"predecessor-version":[{"id":2411,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2375\/revisions\/2411"}],"wp:attachment":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/media?parent=2375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/categories?post=2375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/tags?post=2375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}