sharepoint - CQWP - displaying Author, Check Out To, etc... from multiple libraries -


i have cqwp created lists document icon, title, author, checked out to, , last modified. displays fine if point @ single document library when point subsite, in order see documents libraries, icon , title nothing else. missing? here code itemstyle.xsl:

   <xsl:if test="count(preceding-sibling::*)=0">     <div style="float:left; width:32px;">&#160;</div>          <div style="float:left; width:15%; padding-right:15px;">name</div>     <div style="float:left; width:10%; padding-right:15px;">created by</div>     <div style="float:left; width:10%; padding-right:15px;">checked out</div>     <div style="float:left;">last modified</div> </xsl:if>     <div class="item link-item">        <xsl:if test="string-length(@documenticonimageurl) != 0">            <div class="image-area-left" style="width:25px;">                <img class="image" src="{@documenticonimageurl}" title="" />            </div>        </xsl:if>        <div class="link-item">        <xsl:if test="count(preceding-sibling::*)=0">         </xsl:if>            <xsl:call-template name="outertemplate.callpresencestatusicontemplate"/>            <div style="float:left; width:15%; padding-right:15px;">             <a href="{$safelinkurl}" title="{@linktooltip}">                 <xsl:if test="$itemshavestreams = 'true'">                   <xsl:attribute name="onclick">                     <xsl:value-of select="@onclickforwebrendering"/>                   </xsl:attribute>                 </xsl:if>                 <xsl:if test="$itemshavestreams != 'true' , @openinnewwindow = 'true'">                   <xsl:attribute name="onclick">                     <xsl:value-of disable-output-escaping="yes" select="$onclicktargetattribute"/>                   </xsl:attribute>                 </xsl:if>                 <xsl:value-of select="$displaytitle"/>             </a>         </div>            <div style="float:left; width:10%; padding-right:15px;">              <xsl:value-of select="@author" />             </div>            <div style="float:left; width:10%; padding-right:15px;">              <xsl:choose>               <xsl:when test="string-length(@checkoutuser) = 0">                checked in               </xsl:when>               <xsl:otherwise>                <xsl:value-of select="@checkoutuser" />                </xsl:otherwise>              </xsl:choose>                          </div>            <div style="float:left;"><xsl:value-of select="ddwrt:formatdate(@modified, 1033, 2)" /></div>        </div>    </div> 

here code cqwp:

<metadata>   <type name="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c" />   <importerrormessage>cannot import web part.</importerrormessage> </metadata> <data>   <properties>     <property name="filter1chainingoperator" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+filterchainingoperator, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">and</property>     <property name="filteroperator1" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+filterfieldqueryoperator, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">eq</property>     <property name="direction" type="direction">notset</property>     <property name="filteroperator3" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+filterfieldqueryoperator, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">eq</property>     <property name="groupbydirection" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+sortdirection, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">desc</property>     <property name="datasourceid" type="string" />     <property name="chromestate" type="chromestate">normal</property>     <property name="systemviewfields" type="string" />     <property name="listname" type="string" />     <property name="filterdisplayvalue3" type="string" />     <property name="filterdisplayvalue2" type="string" />     <property name="filterdisplayvalue1" type="string">in progress</property>     <property name="filterfield1" type="string">{6e2d20e1-63ca-44c4-a57f-1f934d7f92ab}</property>     <property name="description" type="string">displays dynamic view of content site.</property>     <property name="datacolumnrenames" type="string" />     <property name="missingassembly" type="string">cannot import web part.</property>     <property name="pagesize" type="int">-1</property>     <property name="viewcontenttypeid" type="string" />     <property name="parameterbindings" type="string" />     <property name="helpurl" type="string" />     <property name="additionalfilterfields" type="string" />     <property name="datamappingviewfields" type="string">{94f89715-e097-4e8b-ba79-ea02aa8b7adb},lookup;{b9e6f3ae-5632-4b13-b636-9d1a2bd67120},computed;{543bc2cf-1f30-488e-8f25-6fe3b689d9ac},image;{fa564e0f-0c70-4ab9-b863-0177e6ddd247},text;{691b9a4b-512e-4341-b3f1-68914130d5b2},text;{1df5e554-ec7e-46a6-901d-d85a3881cb18},user;</property>     <property name="title" type="string">in progress</property>     <property name="feeddescription" type="string" />     <property name="usecache" type="bool">true</property>     <property name="xsllink" type="string" null="true" />     <property name="autorefresh" type="bool">false</property>     <property name="filter1iscustomvalue" type="bool">false</property>     <property name="fireinitialrow" type="bool">true</property>     <property name="filtervalue3" type="string" />     <property name="sortbyfieldtype" type="string">datetime</property>     <property name="manualrefresh" type="bool">false</property>     <property name="helpmode" type="helpmode">modeless</property>     <property name="allowconnect" type="bool">true</property>     <property name="itemstyle" type="string">withdocicon</property>     <property name="sampledata" type="string">&lt;dsqueryresponse&gt;                 &lt;rows&gt;                     &lt;row title="item 1" linkurl="http://item1" group="group header" __begincolumn="true" __begingroup="true" /&gt;                     &lt;row title="item 2" linkurl="http://item2" __begincolumn="false" __begingroup="false" /&gt;                     &lt;row title="item 3" linkurl="http://item3" __begincolumn="false" __begingroup="false" /&gt;                 &lt;/rows&gt;                 &lt;/dsqueryresponse&gt;</property>     <property name="filterincludechildren2" type="bool">false</property>     <property name="xmldefinitionlink" type="string" />     <property name="servertemplate" type="string">101</property>     <property name="titleurl" type="string" />     <property name="commonviewfields" type="string">modified,datetime,;modified by,user;checked out to, user;check in comment, lookup;author,user</property>     <property name="queryoverride" type="string" />     <property name="datasourcesstring" type="string" />     <property name="displayname" type="string" />     <property name="listguid" type="string" />     <property name="datafields" type="string" />     <property name="showwithsampledata" type="bool">false</property>     <property name="groupbyfieldtype" type="string" />     <property name="default" type="string" />     <property name="viewflags" type="microsoft.sharepoint.spviewflags, microsoft.sharepoint, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">none</property>     <property name="contenttypebeginswithid" type="string" />     <property name="allowhide" type="bool">true</property>     <property name="feedenabled" type="bool">false</property>     <property name="sortby" type="string">{8c06beca-0777-48f7-91c7-6da68bc07b69}</property>     <property name="filterbycontextterm" type="bool">false</property>     <property name="titleiconimageurl" type="string" />     <property name="playmediainbrowser" type="bool">true</property>     <property name="viewflag" type="string">0</property>     <property name="xsl" type="string">&lt;xsl:stylesheet xmlns:x="http://www.w3.org/2001/xmlschema" version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:cmswrt="http://schemas.microsoft.com/webpart/v3/publishing/runtime" exclude-result-prefixes="xsl cmswrt x" &gt; &lt;xsl:import href="/style library/xsl style sheets/header.xsl" /&gt; &lt;xsl:import href="/style library/xsl style sheets/itemstyle.xsl" /&gt; &lt;xsl:import href="/style library/xsl style sheets/contentquerymain.xsl" /&gt; &lt;/xsl:stylesheet&gt;</property>     <property name="filterfield2" type="string" />     <property name="chrometype" type="chrometype">titleonly</property>     <property name="cachexsltimeout" type="int">86400</property>     <property name="additionalgroupandsortfields" type="string" />     <property name="usesqldatasourcepaging" type="bool">true</property>     <property name="height" type="string" />     <property name="datamappings" type="string">author:|modified:|description:{691b9a4b-512e-4341-b3f1-68914130d5b2},shortcomment,text;{1df5e554-ec7e-46a6-901d-d85a3881cb18},author,user;|title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},title,text;|checkoutuser:|linkurl:{94f89715-e097-4e8b-ba79-ea02aa8b7adb},fileref,lookup;|imageurl:{b9e6f3ae-5632-4b13-b636-9d1a2bd67120},encodedabsthumbnailurl,computed;{543bc2cf-1f30-488e-8f25-6fe3b689d9ac},publishingrollupimage,image;|</property>     <property name="listurl" type="string" null="true" />     <property name="showuntargeteditems" type="bool">false</property>     <property name="allowminimize" type="bool">true</property>     <property name="groupby" type="string" />     <property name="filterincludechildren1" type="bool">false</property>     <property name="basetype" type="string" />     <property name="mainxsllink" type="string" />     <property name="asyncrefresh" type="bool">false</property>     <property name="filtervalue1" type="string">in progress</property>     <property name="filtervalue2" type="string" />     <property name="initialasyncdatafetch" type="bool">false</property>     <property name="autorefreshinterval" type="int">60</property>     <property name="filter3iscustomvalue" type="bool">false</property>     <property name="groupstyle" type="string">defaultheader</property>     <property name="allowzonechange" type="bool">true</property>     <property name="filterincludechildren3" type="bool">false</property>     <property name="enableoriginalvalue" type="bool">false</property>     <property name="itemlimit" type="int">15</property>     <property name="filtertype1" type="string">choice</property>     <property name="usecopyutil" type="bool">false</property>     <property name="filtertype3" type="string" />     <property name="filtertype2" type="string" />     <property name="filteroperator2" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+filterfieldqueryoperator, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">eq</property>     <property name="pagetype" type="microsoft.sharepoint.pagetype, microsoft.sharepoint, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">page_normalview</property>     <property name="filterbyaudience" type="bool">false</property>     <property name="itemxsllink" type="string" />     <property name="hidden" type="bool">false</property>     <property name="weburl" type="string">~sitecollection/dmwdocs</property>     <property name="headerxsllink" type="string" />     <property name="cachexslstorage" type="bool">true</property>     <property name="listsoverride" type="string" />     <property name="sortbydirection" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+sortdirection, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">desc</property>     <property name="filter2iscustomvalue" type="bool">false</property>     <property name="allowedit" type="bool">true</property>     <property name="feedtitle" type="string" />     <property name="filterfield3" type="string" />     <property name="mediaplayerstylesource" type="string" null="true" />     <property name="displaycolumns" type="int">1</property>     <property name="filter2chainingoperator" type="microsoft.sharepoint.publishing.webcontrols.contentbyquerywebpart+filterchainingoperator, microsoft.sharepoint.publishing, version=15.0.0.0, culture=neutral, publickeytoken=71e9bce111e9429c">or</property>     <property name="xmldefinition" type="string" />     <property name="websoverride" type="string" />     <property name="allowclose" type="bool">true</property>     <property name="contenttypename" type="string" />     <property name="listid" type="system.guid, mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089">00000000-0000-0000-0000-000000000000</property>     <property name="exportmode" type="exportmode">all</property>     <property name="nodefaultstyle" type="string" />     <property name="viewfieldsoverride" type="string" />     <property name="catalogiconimageurl" type="string" />     <property name="listdisplayname" type="string" null="true" />     <property name="width" type="string" />   </properties> </data> 

try editing web part property shown in screen shot.cqwp here have mentioned column names explicitly in 'fields display' section. please use display names. in case not showing author(created by) column .


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -