Repeating cascading list from flat data source

B

Bernhard Straub

Hi,

My data source is a SharePoint list with one column e.g. category, another
column e.g. type.

In InfoPath I want to have a repeatable region, first column a drop down
list which is populated from field category, second column with a drop down
lost from type.

When a category is selected the "type" drop down list should only display
the values which have the same category.

in this tutorial I almost found what I need:
http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91

However, the data source in this example uses an XML file with the values
set as attributes. Using a SharePoint list I have different elements to use.

I guess that's the reason why the XPath syntax from the example doesn't
work. My XPath knowledge is very limited, does someone have a hint or an
online resource that can help me?

Best regards
Bernhard
 
G

Greg Collins [InfoPath MVP]

This should work the same, just don't use the @-symbol which indicates an attribte. The concepts are identical though.

--
Greg Collins [InfoPath MVP]
Visit http://www.BrainTrove.com
Visit http://www.InfoPathDev.com


Hi,

My data source is a SharePoint list with one column e.g. category, another
column e.g. type.

In InfoPath I want to have a repeatable region, first column a drop down
list which is populated from field category, second column with a drop down
lost from type.

When a category is selected the "type" drop down list should only display
the values which have the same category.

in this tutorial I almost found what I need:
http://www.infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91

However, the data source in this example uses an XML file with the values
set as attributes. Using a SharePoint list I have different elements to use.

I guess that's the reason why the XPath syntax from the example doesn't
work. My XPath knowledge is very limited, does someone have a hint or an
online resource that can help me?

Best regards
Bernhard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top