Is it possible to use a content query web part to pull and display rows/items from an Excel spreadsheet saved in a SP library?

I have an Excel spreadsheet that I want to upload to an SP library. Is it possible to display these items (in a non-excel format, more like an SP list format) in a web part? 

Have you tried using the Excel web part
Display Excel content in an Excel Web Access Web Part

Similar Messages

  • Content Query Web Part gives error when trying to edit

    Hello there,
    When I put the page in edit mode and try to edit the content query web part I get an unexpeced error. When searching the correlation ID from the error message I see this message a lot:
    07/08/2014 11:51:03.72
    w3wp.exe (0x5370)                      
    0x49D8
    Web Content Management        
    Publishing                    
    7fz0
    Medium  
    ConsoleUtilies.GetContextualControlMode had no currentPage so the current SPWebPartManager mode cannot be retrieved.
    The error message says something about Publishing and I had an Publishing issue before the CQWB issue happened.
    The thing is that the CQWB is dependent on the Publishing feature. The publishing feature when turned on (as site collection feature) creates Content types.  One of these content types was removed because when I tried to create a new publishing site
    I got an error about a missing content type.
    I deactivated the site collection publishing feature (after deactivating it on all sites where it was activated) and then activated it again so it reacreates the content types. This was working, since now I can create Publishing sites again.
    The problem is that I can not edit the CQWB anymore. But it is still showing the query in correct lay-out. Also when I add a new CQWB I have the same issue. I can add it, but not edit.
    I also made a new test site collection and here everything works fine. I tried to copy the .webpart from the test to the problem-sitecollection, but the webpart is just not editable on my broken site collection.
    Does anyone have any idea how to fix this? Im assuming it has something to do with the publishing issue I had....
    Please help......

    I disabled all publishing features on all subsites
    Then I disabled the site collection publishing feature
    Then I enabled the site collection publishing feature again 
    I enabled publishing feature on the subsites where I want to use the content query web part and also on the subsites where the query is coming from
    So: Yes, the publishing feature is enabled

  • Content Query Web Part Fields Documentation?

    Hello community, I have a question about content query web part. I want to use it to display information from a custom large list with more than just the title and description columns that the default allows. For example, I have a list with 50k items in
    it and 20 columns. I want to be able to create multiple CQWPs to display select data and select columns for the appropriate users.
    I am looking for good accurate documentation to help implement this. I seem to be finding multiple methods that people are using and I am not sure what is best in terms of performance - which is ideally why I want to use the CQWP in the first place (prevent
    people from loading the 50k item list over and over).
    By default, the content query web part looks great for displaying links to specific documents, but I am hoping that it can be configured to essentially create a mini-list of the large list.
    EDIT: Forgot to mention that this is with a custom content type and all custom fields.

    Figured this out a few days ago. Found that there really wasn't any documentation that helped me tremendously or explained in a way that I could understand it completely (user error??). There was one video that I found on YouTube that helped considerably.
    I took some of what he did, but found that I could accomplish what he did with less than what he showed.
    Pretty sure that by now everyone knows how to do this, but anyway, here is what I did:
    I just exported a content query web part (after adding a blank one to a page), edited the CommonViewFields and the ItemXslLink (pointing to a copy of the original ItemStyle.xsl). Rename the copy of the file to whatever you want and then SAVE it locally (you
    will upload it later to the Web Part Gallery or directly to the page for use when complete).
    Create a new template at the bottom of the copy of the ItemStyle.xsl file (similar to all of the other templates that you see throughout the page).
    Then make sure that the name that you selected for the name attribute of the template tag is exactly the same as the name that you will put in single quotes in the match attribute. Again you can use the existing templates on the page as a guide.
    Copy and paste some of the existing variables to your template (add them between the opening and closing template tags). For instance, I added the 'SafeLinkUrl' variable, which I copied from above, so that I could have it render when I select my template
    when I configure the web part on the page.
    Then you can create new fields utilizing the
    <xsl:value-of>
    tags. Utilize the select attribute to get the field name that you want; use the examples in the page to help guide you. You can use plain old HTML to style your content. For example, I created a table to display my results.
    The CommonViewFields property from the .webpart file should have the field names that you want to add in them already (because you edited that earlier).
    Add the new CQWP that you just modified to the page that you want and select the template name from the drop-down to get the template that you created. You should then see your new fields there too!
    This worked for me. If anyone needs clarification on what I wrote, let me know. Anyway, I know that I am a few years too late, but whatever - hopefully this can help someone else.

  • Can a content query web part dynamically query items from a particular that exists in multiple subsites

    I have a site collection with multiple subsites. All of the subsites have a list called "Status" which is using content types for its column management.
    I want to use a content query web part in the parent site level to query 1 item from everyone of these subsites. Is there a way to do this?
    The only way I can do this is if I create an individual content query web part for each subsite as I did not find an option for my content query to query from multiple subsites at once.

    You can do it using CQWP. For instance, if you have a site column called 'Rollup' that is part of your content type, that will be part of all your subsites custom list 'Status'. On the root site CQWP set the source to 'Show item from the following site and
    all subsites' and choose your root site (first image below). Then add 'additional filters' and set the value to 'Yes' as shown in second figure below; you will be able to roll up all the data to the root site like below. Now, you need to decide what query
    field you will use that is unique and that can roll up. 
    Srini Sistla Twitter: @srinisistla Blog: http://blog.srinisistla.com

  • How to display all the surveys using content query web part

    Can you please tell me how to display all the surveys using content query web part in more details? I also created a subsite and multiple surveys in that site. Then, I inserted a Content Query Web Part and select the List Type to be "Survey",
    however, it returned nothing. Did I miss anything?

    Hi,
    OOTB Survey List does not contain any
    Content Types and it has the following structure:
    Response entry is represented by
    List Item
    Response entry consist of questions and answers, where Question correspond to
    Field and Answer to Item value respectively.
    For querying Survey List via CQWP  the following properties could be used
    BaseType 
    <Lists BaseType="4">
    ServerTemplate
    <Lists ServerTemplate="102">
    Example
    To retrieve all the responses from Survey lists, specify List Type property as shown on picture
    Reference:
    http://stackoverflow.com/questions/17280778/display-all-surveys-using-content-query-web-part
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Pass Content Query Web Part ToolPart Value to XSL

    I have extended the Content Query Web Part by adding a textbox control ToolPart.  This is working, i.e.  I am able to see the control, add a value in the textbox and save it.  Is it possible to pass the value of this ToolPart textbox to the
    xsl file?  I found this article: http://blog.sharepointexperience.com/customitemstyle/ that describes how to first see all fields being passed to the webpart by creating a temporary
    itemstyle with this code: 
    <xsl:for-each select="@*">P:<xsl:value-of select="name()" /></xsl:for-each>
    I believe I next need to modify CommonViewFields of the *.webpart file to include the fields I would like to pass to xsl.  
    My question is how do I know the name of the field SharePoint is using to store the value of the textbox toolpart?  The toolpart textbox is generically named (i.e. _textbox), so I do not think I can derive the the field name from the textbox created
    in code.

    try these links:
    http://blogs.msdn.com/b/ecm/archive/2006/10/25/configuring-and-customizing-the-content-query-web-part.aspx
    http://msdn.microsoft.com/en-us/library/office/bb447557(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/bb850574(v=office.12).aspx
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Content Query Web Part - in 2010 but Catalog-Item Reuse in 2013

    In SharePoint 2010 I exported this SharePoint Links List to be a WebPart that I can put for things.  It's our company's "Popular Links."  "WE" decide what is "Popular."  We have a few that I am sharing here. 
    In 2010 I got this to be a web part that I can pop onto multiple sites on our site collection.  Now in 2013, I'd like to use Search if possible to get this to work.  I tried and it didn't come out right.
    SharePoint 2013 Enterprise Edition RTM dec 2013 CU
    I tried the Items Matching a Tag and I set a tag to be "Popular Links" and set the tag on the items below in this graphic.  I then set it to look only at these.
    This is on the same page on the "home" page, publishing turned on.  I don't have the "feel" of the first "list" that I did on the graphic above.  It's not CSS as it is on the same page using the same master page. 
    Also when I click on the link it takes me to the displayform.aspx?id=1 page and I want to have the user just click the hyperlink.
    Could I / should I use the Catalog-Item Reuse feature with publishing and get a new site collection setup with this?  I am frustrated as I'd like to "share" information in another site, just as this "perfect" example (for me) to
    show this information multiple times.
    Thank you!

    CQWB is supported for Publishing Sites or site having publishing feature turned on, on other it will not work as expected.
    You can add it on the page from ribbon insert web part> from categories select Content Rollup > next pane slect Content Query.
    http://info.axceler.com/Blog/bid/116286/Content-Query-Web-Part-vs-Content-Search-Web-Part
    http://www.cwheeler76.com/Lists/Posts/Post.aspx?List=9a19060b-0efe-4368-8360-b07d23dc5c7b&ID=6&Web=916c3f13-7f62-4b71-b302-6fd9106b4bb2
    here is MSDN to customize it:
    http://msdn.microsoft.com/en-us/library/ff650512.aspx 
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to display the field name in the tabulated view for a content query web part

    I have added a content query web part changed the web part file to include custom columns imported and reffered itemstyle.xsl
    to include the tabulated view for the content query.
    However the way it is displayed is such that only the content is displayed.
    As i am using a tabular view wto display the data, i want to display their field names as well.

    Hi  ,
    According to your description, my understanding is that you need to display the field in the tabulated view for a content query web part.
    For your issue, please refer to the code as below:
    <xsl:template name="VendorCustomStyle" match="Row[@Style='VendorCustomStyle']" mode="itemstyle">
    <html>
    <table width="100%">
    <xsl:if test="count(preceding-sibling::*)=0">
    <tr>
    <td width="8%" valign="top"><div class="item"><b>Vendor ID</b></div></td>
    <td width="12%" valign="top"><div class="item"><b>Vendor Name</b></div></td>
    <td width="50%" valign="top"><div class="item"><b>Vendor Description</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Country</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Vendor Date</b></div></td>
    <td width="10%" valign="top"><div class="item"><b>Created By</b></div></td>
    </tr>
    </xsl:if>
    <tr>
    <td width="8%" valign="top"><div class="item"><xsl:value-of select="@VendorID" /></div></td>
    <td width="12%" valign="top"><div class="item"><xsl:value-of select="@Title" /></div></td>
    <td width="50%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Description" disable-output-escaping="yes" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Country" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Date" /></div></td>
    <td width="10%" valign="top"><div class="item"><xsl:value-of select="@Author" /></div></td>
    </tr>
    </table>
    </html>
    </xsl:template>
    For more information, please have a look at the blog:
    http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
    http://msdn.microsoft.com/en-us/library/ms497457.aspx
    http://clarksteveb.hubpages.com/hub/Customized-Content-Query-Web-Part-CQWP-in-SharePoint-2007-with-results-Tabbed-Grouped-and-in-an-HTML-Table
    http://blog.sharepointexperience.com/customitemstyle/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Content Query Web Part - Custom ItemStyle.xsl to display image with hyperlink

    I don't have access to InfoPath or SharePoint Designer to edit the ItemStyle.xsl. So any solution suggested is preffered to be a manual change to ItemStyle.xsl
    I use Content Query Web part (in the main site) to list all the Wikis created in the a sub-site. The idea is to link each wiki to its printable version stored elsewhere.
    The wiki has custom column say "Link" that hold hyperlinks to the printable version.
    I want to create a column in the content query web part that displays an image (same image for all wikis stored in the site Assets) but on clicking takes me to the printable version page.
    I got the image displayed but the hyperlink takes me to the location where the image is stored and not to the printable version page.
    <!--Variable declared to read the link from the column Link-->
    <xsl:variable name="PDFLink">
    <xsl:value-of select="@Link"/>
    </xsl:variable>
    <!-- Image to the hyperlink-->
    <a href="{$PDFLink}">
    <img src="../Images/Icon.jpg"/>
    </a>

    Hyperlink column is treated a little different. The field, by default, puts the URL and then the friendly name concatenated together, but separated by a comma. So I created two variables one that pulls everythng before the comma and the other after. Then
    the html "a" tag looks like this:
    <!--Variable declared to read the link from the column Link-->
    <xsl:variable name="ActualLink" select="substring-before(@LinkColName,',')"/>
    <xsl:variable name="FriendlyName" select="substring-after(@LinkColName,',')"/>
    <!-- Image to the hyperlink-->
    <a href="{$ActualLink}"><xsl:value-of select="$LinkColumnName"/>
    <img src="/Images/Icon.jpg">
    </a>

  • Content Query Web Part and special characters in file names

    Hi All,
    Is there an out-of-box way to display periods in a file name if I am displaying a document library files? I do not want to end up doing a custom item style if possible.
    For example, file name is 8.5x11Letterhead.docx, 8.5x11Resume.pdf etc.  I do not want to display the file names as 85x11Letterhead.docx.
    Thanks

    Hi,
    Would mind providing a screenshot about how your Content Query Web Part rendering in your environment?
    In my environment, it displays the filename which contains periods:
    I would suggest you create a new page and insert a Content Query Web Part to perform the test again.
    Feel free to reply with the test result or if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Issues with Content Query Web Part List Override

    I have modified a Content Query web part to show all checked out documents across my site collection. I used this property to get the checked out documents:
    <property name="QueryOverride" type="string"><![CDATA[<Where><Geq><FieldRef Name="CheckoutUser" LookupId="TRUE"/><Value Type="int">0</Value></Geq></Where><OrderBy><FieldRef
    Name="CheckoutUser"/></OrderBy>]]></property>
    It fails when trying to view across the site collection and gives this error:
    "There is a problem with the query that this webpart is issuing. Check the configuration of this webpart and try again."
    However, it works for sub-sites.
    Thus, I followed this blog to modify the ListsOverride property: http://geekswithblogs.net/simonh/archive/2013/05/08/increasing-the-number-of-lists-a-content-query-webpart-can.aspx I modified the property to:
    <property name="ListsOverride" type="string"><![CDATA[<Lists Servertemplate="101" MaxListLimit="2000"></Lists>]]></property>
    But now I am getting this response:
    This query has returned no items. To configure the query for this Web Part, open the tool pane.
    Can anyone tell me what the problem is? I cannot find anything in the ULS logs that would indicate a timeout from the SQL server or any other type of error.

    Hi Susan,
    According to your description, my understanding is that there is something wrong when you override content query web part property.
    As you said, the query override works for sub-site, I suggest you check the data in the parent site whether the data is valid.
    Here are some detailed articles for your reference:
    http://rmanimaran.wordpress.com/2010/10/19/getfind-all-checked-out-documents-from-a-document-library-using-caml/
    http://msdn.microsoft.com/en-us/library/office/aa981241(v=office.14).aspx
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • How to display names without file extension in Content Query Web Part in SharePoint 2010

    I try to display names in Content Query Web Part  but it shows file extension. I cannot find a way in CQWP editor that can exclude file extension.  Is there a way to display names excluding file extensions thru settings in the CQWP editor?
    I have to edit the code in SharePoint Designer, right?
    Thanks in advance for any tips!

    In the file ContentQueryMain you have already a function to get the file without extension.
    So we just can use this:
    <xsl:call-template name="OuterTemplate.GetFileNameWithoutExtension">
    <xsl:with-param name="input" select="$DisplayTitle" />
    </xsl:call-template>

  • Content query web part

    Can Content Query Web Part collect data from multiple site collections?

    In some cases yes, but its always been problematic due to security boundaries.  In SharePoint 2013 its much better to use the Content Search Web part to aggregate content from multiple site collections.
    https://msdn.microsoft.com/en-us/library/ff647394.aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Color coded calculated list column in content query web part

    I have a calculated column in a list for displayig color coded values using the link
    http://blog.splibrarian.com/2012/06/06/using-calculated-columns-to-add-color-coding-to-your-sharepoint-lists/
    Now for rollup i am using the lists to display them in a content query web part so i have updated the .webpart file and imported and added, made changes in the item style and uploaded ad finally inserted the web part in the page.
    But while diplaying hte custom column, it is being eing displayed as
    string;#<DIV style='font-weight:bold; font-size:24px; color:green;'>•</DIV>
    As you can notice it has appended string;# before the text. How do i avoid this? Thanks

    <xsl:value-of-select="@RAG" disable-output-escaping=“yes”
    />

  • Error When inserting Content Query Web part onto the page

    i am using share point 2010 and when i am trying to insert content query web part onto the page i am getting the following error
    i checked the correlation id in the logs file but could not find anything useful in it.
    please suggest why this problem occuring everytime when i try to insert content query webpart onto the page

    Hi,
    Check the correlation id in your logging files are the best way to investigate.
    Did you check these files with "SharePoint ULS Log viewer". Maybe, that will be more easy for you to get the correlation Id.
    Moreover, check the account's permissions with which you try to insert your webpart.
    Regards.
    Gilles Martinez
    Twitter
    Blog
    Please mark as helpful/answer if this resolved your post

Maybe you are looking for