<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filter Values in Dropdown field from extarnal SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/98983.aspx</link><pubDate>Sat, 06 Sep 2014 10:06:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98983</guid><dc:creator>ronko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98983</wfw:commentRss><description>Hi Jennifer,

thank you for your reply.
I should try it and post my feedback immediately.

Thank you and Regards
Martin</description></item><item><title>Re: Filter Values in Dropdown field from extarnal SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/98968.aspx</link><pubDate>Fri, 05 Sep 2014 23:48:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98968</guid><dc:creator>JenniferLindsay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98968</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Martin,&lt;/p&gt;&lt;p&gt;What I would do is load all of your list items into the data connection behind the dropdown (I assume your values are from an external data source) and then&amp;nbsp;use the Filter Data option to put a filter&amp;nbsp;the data source entries as follows - my:KostenstellenIdsToShow&amp;nbsp;contains d:ID.&amp;nbsp; This should cause the dropdown to display only the values for which the ListItem ID is contained in your KostenstellenIdsToShow field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Let me know if that works for you or if you need more detailed steps.&lt;br /&gt;&lt;br /&gt;EDIT: just realized this won&amp;#39;t work! because if 54 is in your field with Ids,&amp;nbsp;but 4 isn&amp;#39;t, it will still think that 4 is in there!&amp;nbsp; Well here&amp;#39;s a possible hack: is there any way that you can surround the entire string of Ids with semi colons?&amp;nbsp; For example instead of:&lt;/p&gt;&lt;p&gt;3;54;2;6;4&lt;/p&gt;&lt;p&gt;could you make it:&lt;/p&gt;&lt;p&gt;;3;54;2;6;4;&lt;br /&gt;&lt;br /&gt;That way every Id number is preceded by a semi colon and followed by a semi colon, and then your filter can be:&lt;/p&gt;&lt;p&gt;my:KostenstellenIdsToShow contains concat(&amp;quot;;&amp;quot;, d:ID, &amp;quot;;&amp;quot;)&lt;/p&gt;&lt;p&gt;Which would prevent confusion between 4 and 54, for example.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Filter Values in Dropdown field from extarnal SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/98913.aspx</link><pubDate>Tue, 02 Sep 2014 21:47:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98913</guid><dc:creator>ronko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98913</wfw:commentRss><description>Hi all,

i have a field with Ids connected with semicolons like 3;54;2;6;4. I want that the values in a Dropdown shows only the ListItems with this Ids
So I need some filter definition with expression that compares the values from my field with d:ID and fill the dropdown

When I use substring-before(xdXDocument:get-DOM()/my:myFields/my:DebugInfoTexte/my:KostenstellenIdsToShow, &amp;quot;;&amp;quot;) = d:ID it takes the first one i need to but every value from the field.
I hope it is clear what I mean.

Thank you very much for any help
Martin</description></item></channel></rss>