<?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 Tools</title><link>https://www.infopathdev.com:443/forums/135.aspx</link><description>Community support for Qdabra tools, including Bulk Edit Tool, Bulk Reassignment Tool, Document Deployer, UDC Editor Tool, LDAP test tool, QdUpgrade WinForm Tool, Query Builder, Excel to XML tool, InfoPath to ShP List Tool and EmailBuilder.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/118468.aspx</link><pubDate>Tue, 06 Mar 2018 14:25:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118468</guid><dc:creator>prashant99</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=118468</wfw:commentRss><description>check this link :

https://www.qdoscc.com/blog/how-automatically-retrieve-current-username-infopath-sharepoint-list-form</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/118467.aspx</link><pubDate>Tue, 06 Mar 2018 13:16:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118467</guid><dc:creator>Jester</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=118467</wfw:commentRss><description>&lt;p&gt;Good morning, I am having trouble locating the document you mentioned above. I need to collect either the PreferredName or the DisplayName of my Current User and place it in a Comment Field. UserName is a CAC number.... I need their name.... Any assistance is appreciated. Thank&amp;nbsp; you! Anne&lt;/p&gt;</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55309.aspx</link><pubDate>Wed, 26 May 2010 03:24:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55309</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55309</wfw:commentRss><description>&lt;p&gt;To type the username function into a formula box, you need to type userName() (notice the capital N) when &amp;quot;Edit XPath&amp;quot; is not checked, or xdUser:get-UserName() (all case sensitive) if it is checked.&amp;nbsp; The &lt;strong&gt;Insert Function...&lt;/strong&gt; button will take care of this for you.&lt;/p&gt;</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55302.aspx</link><pubDate>Tue, 25 May 2010 20:02:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55302</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55302</wfw:commentRss><description>&lt;p&gt;ok, I figued it out.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2a) create an action to set a fields value for the &amp;quot;query&amp;quot; field under the &amp;quot;queryFields group, use the function icon and set the formula to the concat() string.&amp;nbsp; this replaces the value of this field before you run the second action run the data connection.&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;&amp;lt;query&amp;gt;&amp;lt;columns&amp;gt;&amp;lt;column name=&amp;#39;ID&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Title&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;CalendarItem&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Modified_x0020_Comment&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;AssignedTo&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Editor&amp;#39;/&amp;gt;&amp;lt;/columns&amp;gt;&amp;lt;filter&amp;gt;&amp;lt;contains&amp;gt;&amp;lt;column name=&amp;#39;AssignedTo&amp;#39;/&amp;gt;&amp;lt;value&amp;gt;&amp;quot;, xdXDocument:get-DOM()/my:Tasks/my:UserInfo/my:UserName ,&amp;quot;&amp;lt;/value&amp;gt;&amp;lt;/contains&amp;gt;&amp;lt;/filter&amp;gt;&amp;lt;sort&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39; order=&amp;#39;ASC&amp;#39;/&amp;gt;&amp;lt;/sort&amp;gt;&amp;lt;/query&amp;gt;&amp;quot;)&lt;/p&gt;
&lt;p&gt;Note:&amp;nbsp;when I tried to use the&amp;nbsp;parameter username() vs &amp;quot;xdXDocument:get-DOM()/my:Tasks/my:UserInfo/my:UserName&amp;quot; it would not work, I had to&amp;nbsp;create a field in my main data source and have it&amp;nbsp;default to the username() &amp;nbsp;parameter.&lt;/p&gt;
&lt;p&gt;Can you explain why you could not just use the username() parameter and yet&amp;nbsp;the example uses the parameter current() ??&amp;nbsp; I assme the username() paramater is not in scope?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55299.aspx</link><pubDate>Tue, 25 May 2010 19:07:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55299</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55299.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55299</wfw:commentRss><description>&lt;p&gt;Hi Marzipan,&lt;/p&gt;&lt;p&gt;Whether you use GetDropDownEntries or GetListItemsStr, the same general steps will apply:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;1. Create the data connection using the first query string, but do not execute it on load.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. You need a rule that kicks off when the user enters a value or clicks a button (i.e. whenever the necessary info is entered into the form). This rule will have the following actions:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;2a) Set the value of &amp;lt;queryxml&amp;gt; to the concat() query.&lt;/p&gt;&lt;p&gt;2b) Query the data connection &lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;If this doesn&amp;#39;t work for you, please attach the xsn so that we may take a look at the data connections and rules. Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55297.aspx</link><pubDate>Tue, 25 May 2010 18:53:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55297</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55297</wfw:commentRss><description>&lt;p&gt;ok, i get that we cannot use the concat() in the data connection, I modified it so the query parameter so it is&amp;nbsp;not using a &amp;lt;filter&amp;gt; argument.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I don&amp;#39;t follow on how to configure the button to to return a filtered row set; I am using the GetListItemsStr not the GetDropDownEntries so the step-by-step example is not acurate.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55293.aspx</link><pubDate>Tue, 25 May 2010 15:40:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55293</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55293</wfw:commentRss><description>&lt;p&gt;Hi Marzipan,&lt;/p&gt;&lt;p&gt;I would encourage you to follow the existing documentation so that you may become familiar with the process. We have a User Guide and a step by step tutorial available here: &lt;a href="http://www.infopathdev.com/files/folders/integration_with_sharepoint/default.aspx"&gt;http://www.infopathdev.com/files/folders/integration_with_sharepoint/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;As for the error you encountered, it sounds like you are trying to use the dynamic query (concat) in the data connection wizard. However, it should be used in rules. The tutorial linked above explains how to set up your form for this. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error when querying sharepoint for displayname of editor column</title><link>https://www.infopathdev.com:443/forums/thread/55292.aspx</link><pubDate>Tue, 25 May 2010 15:22:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55292</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=135&amp;PostID=55292</wfw:commentRss><description>&lt;p&gt;I have successfully used the AD&amp;nbsp;web service to populate&amp;nbsp;my:Tasks/my:UserInfo/my:DisplayName&amp;nbsp; and display it on a form in a text field&lt;/p&gt;
&lt;p&gt;I have a button that then&amp;nbsp;run the data connection &amp;quot;GetListItemsStr&amp;quot; to query a SP list.&lt;/p&gt;
&lt;p&gt;I used the query builder to create the xml&lt;/p&gt;
&lt;p&gt;When I use this query string it return all items:&lt;/p&gt;
&lt;p&gt;&amp;lt;query&amp;gt;&amp;lt;columns&amp;gt;&amp;lt;column name=&amp;#39;ID&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Title&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;CalendarItem&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Modified_x0020_Comment&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;AssignedTo&amp;#39;/&amp;gt;&amp;lt;/columns&amp;gt;&amp;lt;filter&amp;gt;&amp;lt;ge&amp;gt;&amp;lt;column name=&amp;#39;Editor&amp;#39;/&amp;gt;&amp;lt;value&amp;gt;&amp;quot;&amp;quot;&amp;lt;/value&amp;gt;&amp;lt;/ge&amp;gt;&amp;lt;/filter&amp;gt;&amp;lt;sort&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39; order=&amp;#39;ASC&amp;#39;/&amp;gt;&amp;lt;/sort&amp;gt;&amp;lt;/query&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I use a this query generated by querybuilder to filter to the value of&amp;nbsp;the editor field&amp;nbsp;below, I get the error below:&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;&amp;lt;query&amp;gt;&amp;lt;columns&amp;gt;&amp;lt;column name=&amp;#39;ID&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Title&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;CalendarItem&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Modified_x0020_Comment&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;Status&amp;#39;/&amp;gt;&amp;lt;column name=&amp;#39;AssignedTo&amp;#39;/&amp;gt;&amp;lt;/columns&amp;gt;&amp;lt;filter&amp;gt;&amp;lt;eq&amp;gt;&amp;lt;column name=&amp;#39;Editor&amp;#39;/&amp;gt;&amp;lt;value&amp;gt;&amp;quot;, xdXDocument:get-DOM()/my:Tasks/my:UserInfo/my:DisplayName ,&amp;quot;&amp;lt;/value&amp;gt;&amp;lt;/eq&amp;gt;&amp;lt;/filter&amp;gt;&amp;lt;sort&amp;gt;&amp;lt;column name=&amp;#39;DueDate&amp;#39; order=&amp;#39;ASC&amp;#39;/&amp;gt;&amp;lt;/sort&amp;gt;&amp;lt;/query&amp;gt;&amp;quot;)&lt;/p&gt;
&lt;p&gt;The query cannot be run for the following DataObject: GetListItemsStr&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;The SOAP response indicates that an error occurred on the server:&lt;/p&gt;
&lt;p&gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.Throw(Exception e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlTextReaderImpl.ParseDocumentContent()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlDocument.Load(XmlReader reader)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Xml.XmlDocument.LoadXml(String xml)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Dbxl.WebService.QuerySharePointService.XmlFromString(String str)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Dbxl.WebService.QuerySharePointService.GetListItemsStr(String listUrl, String query, String queryOptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Any help would be apprecitated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>