<?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>Qdabra Template Parts</title><link>https://www.infopathdev.com:443/forums/126.aspx</link><description>Qdabra Template Parts can be used in your InfoPath forms right away, and you can customize as needed. This forum is for support concerning the Address Blocks, Contact Blocks, Hide-Show section and the Electronic Signature Template Parts.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/57730.aspx</link><pubDate>Fri, 06 Aug 2010 13:04:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57730</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57730.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=57730</wfw:commentRss><description>&lt;p&gt;Unfortunately, we don&amp;#39;t have documentation for this specific scenario. However, to learn more about how to use the SortTable command I would recommend:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;the qRules sample form, which is included in every installation of qRules, under &amp;lt;PROGRAM FILES&amp;gt;\Qdabra Software\Qdabra Rules Library\. This form contains different views for many of the commands, illustrating how each is used.&lt;/li&gt;&lt;li&gt;the qRules User Guide, which contains information about the syntax for the command and additional observations to keep in mind as you develop the InfoPath solution.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;You will need a rule that calls SortTable on the data (set this up after ContactSelector is verified working). Can you try it out and let us know if you run into issues? Thanks!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/57709.aspx</link><pubDate>Thu, 05 Aug 2010 20:19:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57709</guid><dc:creator>dsnightthunder</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57709.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=57709</wfw:commentRss><description>&lt;p&gt;How would I go about doing that?&amp;nbsp; I could not find anything in the Forum or anything...&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/57650.aspx</link><pubDate>Wed, 04 Aug 2010 21:47:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57650</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=57650</wfw:commentRss><description>&lt;p&gt;With qRules, you have the SortTable command -- after you query for data, you could sort it....&lt;/p&gt;
&lt;p&gt;So you know -- sometimes we won&amp;#39;t find a post that has been added to an old thread, so do feel free to start a new thread next time you have a question. &lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/57649.aspx</link><pubDate>Wed, 04 Aug 2010 21:25:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57649</guid><dc:creator>dsnightthunder</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=57649</wfw:commentRss><description>&lt;p&gt;Is there any way to alphabetically sort the results with the Contact Selector?&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/55154.aspx</link><pubDate>Thu, 20 May 2010 22:53:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55154</guid><dc:creator>kerriejones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=55154</wfw:commentRss><description>&lt;p&gt;Hi Mel,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There in lies the problem, I am not using the Qdabra version.&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/55125.aspx</link><pubDate>Thu, 20 May 2010 13:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55125</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=55125</wfw:commentRss><description>&lt;p&gt;Hi, kerriejones -&lt;/p&gt;&lt;p&gt;If you&amp;#39;re using Qdabra&amp;#39;s Contact Selector XTP, then I&amp;#39;d assume you have qRules injected in your template, correct? If so, I believe you can use the qRules Delete command to select your Contact Selector repeating group. The command syntax will be something like: Delete /xpath=/my:myFields/my:group/my:repeatinggroup.&lt;/p&gt;&lt;p&gt;Hope that helps! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/55086.aspx</link><pubDate>Thu, 20 May 2010 01:09:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55086</guid><dc:creator>kerriejones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=55086</wfw:commentRss><description>Hi Mel, 
&lt;p&gt;Can you please give some assistance with the contact selector?&amp;nbsp; What I need to do, is clear out the details previously selected when the user clicks on a specific checkbox.&amp;nbsp; I really would like to do this via rules and not code.&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Account&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;People Picker&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Displaying Name&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;User Name&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Text Box&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;George&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Password&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Text Box&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Passw0rd&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;Created By&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Text Box&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Fred&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;Clear All Details&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;Check Box&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;b&gt;X&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;When the user checks the &amp;quot;Clear all details&amp;quot; checkbox, I would like to clear all of the other fields.&amp;nbsp; I have everything working well except for the contact selector field.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/53217.aspx</link><pubDate>Tue, 30 Mar 2010 01:30:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53217</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=53217</wfw:commentRss><description>&lt;p&gt;Hi selch, sorry - you will have to clear the &lt;b&gt;name &lt;/b&gt;and the &lt;b&gt;email &lt;/b&gt;attributes as well, i.e. not only the Alias field. So in your rule, add the actions to set those attributes to blank.&lt;/p&gt;&lt;p&gt;Hope that works! :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/53156.aspx</link><pubDate>Fri, 26 Mar 2010 17:01:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53156</guid><dc:creator>selch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=53156</wfw:commentRss><description>&lt;p&gt;Sorry Mel, one last thing.&lt;/p&gt;
&lt;p&gt;As per previous posts in this thread, I&amp;#39;m using the contact selector to grab a list of email addresses. I&amp;#39;m using the eval statement you gave me - &lt;font color="#ff3300"&gt;&lt;strong&gt;eval(eval(&lt;u&gt;Alias&lt;/u&gt;, &amp;#39;concat(@my:email, substring(&amp;quot;;&amp;quot;, 1, string-length(@my:email)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) &lt;/strong&gt;&lt;/font&gt;&lt;font color="#000000"&gt;to do this. Now, when my user chooses to hide the Contact Selector I&amp;#39;m setting the Alias field to Nil to clear out any selections they&amp;#39;ve made. I&amp;#39;m also setting the field that&amp;#39;s using the eval function to Nil to clear out the gathered email addresses. That works fine.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;However, let&amp;#39;s say the user changes their mind and they show the Contact Selector again and decide to select some people to email. The Contact Selector appears and no users are select as we&amp;#39;d expect. (Because we cleared the Alias field.) Great. BUT, when they select a new person with the Contact Selector the field that contains the eval function populates with any previously selected user&amp;#39;s email addresses and the newly selected person&amp;#39;s email address - even though we&amp;#39;ve set that eval field to Nil when we hid the Contact Selector before. Almost like it&amp;#39;s caching the email addresses&lt;/p&gt;
&lt;p&gt;Make sense? Ideas?&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/53147.aspx</link><pubDate>Fri, 26 Mar 2010 14:59:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53147</guid><dc:creator>selch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=53147</wfw:commentRss><description>&lt;p&gt;Perfect, thanks!&lt;/p&gt;
&lt;p&gt;I was setting the Alias&amp;#39; Name attribute field to blank and that only sort of worked. :)&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/53133.aspx</link><pubDate>Fri, 26 Mar 2010 06:49:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53133</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53133.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=53133</wfw:commentRss><description>&lt;p&gt;Hi, selch - a rule that sets the &amp;#39;Alias&amp;#39; repeating field of the UserList group to blank (i.e. no value) when your users choose to hide the ContactSelector section should do the trick. Hope that works. Let us know otherwise. :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/53113.aspx</link><pubDate>Thu, 25 Mar 2010 21:49:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53113</guid><dc:creator>selch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=53113</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Mel and all, related to this thread, can you help with with a rule that would remove all users that were selected using the Contact Selector in one fell swoop? I&amp;#39;m hiding and showing the section that contains the Contact Selector. If they choose to hide it I&amp;#39;d like to make sure it also removes any users they may have added using the selector.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks much! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/51370.aspx</link><pubDate>Wed, 03 Feb 2010 20:38:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51370</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51370.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=51370</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re most welcome! I&amp;#39;m so glad you&amp;#39;ve got it all working! :)&lt;/p&gt;&lt;p&gt;Cheers! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/51369.aspx</link><pubDate>Wed, 03 Feb 2010 20:36:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51369</guid><dc:creator>selch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51369.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=51369</wfw:commentRss><description>&lt;p&gt;Wow. That hurt my brain a bit but I got it! Thank you SO much!&lt;/p&gt;</description></item><item><title>Re: Contact Selector XTP help please</title><link>https://www.infopathdev.com:443/forums/thread/51312.aspx</link><pubDate>Tue, 02 Feb 2010 16:42:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51312</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51312.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=126&amp;PostID=51312</wfw:commentRss><description>&lt;p&gt;Selch - glad those worked for you. You can obtain the users&amp;#39; email addresses by adding a data connection to the Qdabra Active Directory Web Service, GetUserInfo method.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In &lt;b&gt;Tools &lt;/b&gt;&amp;gt; &lt;b&gt;Data Connections&lt;/b&gt;, add a receive data connection to a web service.&lt;/li&gt;
&lt;li&gt;Enter your AD web service URL and select the &lt;b&gt;GetUserInfo &lt;/b&gt;method.&lt;/li&gt;
&lt;li&gt;Leave the &lt;i&gt;username &lt;/i&gt;parameter blank and disable ‘automatic retrieve’ on form open.&lt;/li&gt;
&lt;li&gt;In your main data source, &lt;b&gt;Alias &lt;/b&gt;field, add another attribute such as ‘email’. It’s XPath should be something like: &lt;i&gt;/my:myFields/my:UserList/my:Alias/@my:email&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Modify your &lt;b&gt;&amp;gt;&amp;gt;&lt;/b&gt; button ‘Insert User’ rule by adding the following at the bottom of your Actions list:&lt;br /&gt;a. Set the value of the GetUserInfo &lt;b&gt;&lt;i&gt;username &lt;/i&gt;&lt;/b&gt;parameter (&lt;i&gt;/dfs:myFields/dfs:queryFields/tns:GetUserInfo/tns:username&lt;/i&gt;) to the resulting FindUsersByName &lt;i&gt;&lt;b&gt;value &lt;/b&gt;&lt;/i&gt;node (&lt;i&gt;/dfs:myFields/dfs:dataFields/tns:FindUsersByNameResponse/tns:FindUsersByNameResult/tns:entry/@value&lt;/i&gt;).&lt;br /&gt;b. Query using the ‘GetUserInfo’ data connection.&lt;br /&gt;c. Set the value of the qRules &lt;i&gt;&lt;b&gt;Command &lt;/b&gt;&lt;/i&gt;node to: &lt;font color="#006600"&gt;&lt;i&gt;&lt;b&gt;concat(&amp;quot;SetValue /xpath=/my:myFields/my:UserList/my:Alias[last()]/@my:email /value=&amp;quot;, &lt;u&gt;Value[Key = &amp;quot;mail&amp;quot;]&lt;/u&gt;)&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;; where &lt;i&gt;Value[Key = &amp;quot;mail&amp;quot;]&lt;/i&gt; is your resulting GetUserInfo &lt;b&gt;Value &lt;/b&gt;node, filtered such that &lt;b&gt;Key &lt;/b&gt;is equal to &lt;b&gt;mail&lt;/b&gt;.&lt;ol&gt;



&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;Lastly, in your &amp;#39;eval&amp;#39; formula, change &lt;i&gt;@my:name&lt;/i&gt; to &lt;i&gt;@my:email&lt;/i&gt;. Your formula should be something like: &lt;font color="#006600"&gt;&lt;i&gt;&lt;b&gt;eval(eval(Alias, &amp;#39;concat(@my:email, substring(&amp;quot;;&amp;quot;, 1, string-length(@my:email)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hope that helps!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>