Steps to Implement Cascading Drop Down. Follow the steps in SharePoint UI. (Browser)


Steps to Implement Cascading Drop Down. Follow the steps in SharePoint UI. (Browser)
  • Create a custom List Name it as City List. and Rename Title as City, Insert two items into it.
  • Create a Custom List name it as District list and rename Title as District, Create a Column by Name City, of type look up. Get information from City List , City Column. And few items with corresponding to city column.
  • Create a Region List name it as Region list and rename Title as Region, Create a Column by Name City, of type look up. Get information from City List , City Column. And Create a Column by Name District, of type look up. Get information from District List, District Column.
  • Now in Region List, From the Ribbon Click on List Tools. Click on customize form .Form template will be imported to InfoPath.
  • Right Click on District Dropdown, Select Dropdown List box Properties, Select Get choices from external data then Add Data Source Click on Next.
  • Select List and Library and Click on Next. and Enter your web site url and click on Next
  • Select District List and Click on Next and Check on City, District and ID. Make sure that Sort by ID is enabled
  • Click on Next. And again click on Next and Finish. It Creates a Datasource1
  • Again in Dropdown list box properties at Entries click on Select XPath.   And click Filter Data.
  • In Filter data Dialog, Click on Add it opens Specify filter Conditions dialog.
  • In the first dropdown select “Select a field or group”. Now a select a City Field from District list 1 (Data source). Click on OK.
  • In the third dropdown select “Select a field or group”. Now a select a City Field from Main (Data source). Click on OK.
  • In the filter data dialog you will have condition as City = City. Click on OK
  • In Drop Down List box properties, choose d:ID in Value - section.
  • In Drop Down List box properties, choose d:Title in Display Name -  section then click OK to close 
Note: d:Id and d:Title( Region Column) can be selected from their corresponding  Select XPath button .

Click on quick publish to publish form in SharePoint 

Comments

Popular posts from this blog

[Solved ] ...The product key entered does not match any of the Windows images available for installation. Enter a different product key

SharePoint Search Service application content sources showing Paused

User Profile Synchronization Service Struck on "Starting" - Fixed