Skip to main content
5 votes

how to copy files from one document library to another in sharepoint using jsom

function copyFiles(sourceLib, destLib){ var context = new SP.ClientContext.get_current(); var web = context.get_web(); var folderSrc = web.getFolderByServerRelativeUrl(sourceLib); context.load(...
Gautam Sheth's user avatar
  • 30.9k
4 votes

Can the Content Query Web Part be used to show all tasks marked as Complete during the current week?

Yes you can use CQWP to show the completed tasks through last week by filtering the following: The [Task Status] column equal to Completed Once the task set to completed, the [Modified Date] will be ...
Mohamed El-Qassas MVP's user avatar
3 votes
Accepted

Selective can view content of cqwp

You can turn audience targeting on the list. Go back to each of the files and target them to the appropriate audience and then just use one webpart that honors the audience targeting. You can better ...
Hardik's user avatar
  • 7,733
2 votes

Aggregated view for Display Form for SharePoint 2013

Just go to your display form, edit the page and add the listview webpart of the other list you want to get data from. Edit the properties of this listview and add a webpart connection that connects ...
Christoffel de Gruyter's user avatar
2 votes

Project Dashboard in SharePoint 2013

Try something like this. You will need to add this JavaScript and a reference to jQuery on your page. It uses jQuery deferred/promises to wait for three REST calls to return successfully before ...
Submits's user avatar
  • 3,254
2 votes

Viewing List Data via CQWP, need XSLT to modify the content look in CQWP Webpart

Without XSLT you cannot change the view of list in Content Query Web Part. XSLT don't include any tough scripting and coding it is just formatting like table tag. Please refer this link to get more ...
Codec's user avatar
  • 1,340
2 votes
Accepted

how to set the column name in the web part property edit

Based on our conversation above and at the discussion . The issue is related to your code for this field in your custom Item Style. You should be aware of the internal column name that you have used ...
Mohamed El-Qassas MVP's user avatar
2 votes

how to set the column name in the web part property edit

Actually the column's internal name is different StartDate. Now it's working fine.
Ram's user avatar
  • 2,444
2 votes
Accepted

Custom Fields for Content Query Web Part for Pages Library

You should create/modify the itemStyle for your CQWP with your custom field like AreticleDate. Steps: Open your Root site via SharePoint Designer. Go to all files > Style library > XSL Style Sheets >...
Mohamed El-Qassas MVP's user avatar
2 votes
Accepted

Remove Fields from Custom Content Query Web Part

Edit the Content Query web part . Get the selected Custom Style Name at Presetnation > Style > Item Style. via SharePoint Designer > Open your Root site. Go to all files > Style library > XSL Style ...
Mohamed El-Qassas MVP's user avatar
2 votes

Is Content Query Web Part available on SharePoint 2016 standard edition

Based on this article Simply, What’s new and deprecated features in SharePoint Server 2016 ? it's not a deprecated feature So it's should be shown at publishing site . If you are using team site ...
Mohamed El-Qassas MVP's user avatar
2 votes
Accepted

Display Item based on Item order in Content Query Webpart

In content query web part there is a property Presentation > Sort Item by. Use that to sort your results. Check this blog
asim nadeem's user avatar
2 votes

Content query group by field

Let you have below information: <Person> <Student> <Info Country="England" Name="Rich" Age="20" Class="C" /> </Student> <Student> <Info ...
Divya Sharma's user avatar
  • 1,461
2 votes

Display Content Query in slideshow

You need some decent JavaScript skills to do this. The Microsoft term to search for is Display Templates to rewrite Content Query output with JavaScript into the HTML you want. See: https://en....
Danny '365CSI' Engelman's user avatar
2 votes

How to create an accordion of several content query webparts?

One possible option to achieve this is as follow: Create a custom page layout. Design your accordion there Keep empty webpart zones in the each accordion box. Create the page with new page layout. ...
Aakash Maurya's user avatar
2 votes
Accepted

CQWP ItemStyle: how to display background of description with conditional formatting

If you do not wish to add style sheet as explain by @JJD then just update your item style sheet as below : <div class="description"> <xsl:attribute name="style"> <xsl:choose> ...
Bhaskar Dhone's user avatar
2 votes
Accepted

CQWP / CAML - Query returned a greater number of results than the web application's query throttling limit

My initial thought is that this must be by design- clearly the CAML for this particular query is not that complicated to envision or write, but there is also apparently a high performance cost to ...
Chris Odegard's user avatar
2 votes

How to show additional SP task list fields in CQWP

You can customize the item display template of the CQWP to show more item information. By default, the XSL style sheet that controls the presentation of the Content By Query Web Part renders item ...
JoannaW_MSFT's user avatar
  • 6,621
2 votes
Accepted

Content Search Webpart missing "new" Items from List Query

Since it is a search web part a search crawl has to run before they will show up in the web part. The list view web part is not dependent on search, this is why they show up in the list view web part ...
Josh McClanahan's user avatar
2 votes
Accepted

Content query webpart for show attachment

Try below code and see if it works for you: <xsl:element name="SharePoint:AttachmentsField"> <xsl:attribute name="runat">server</xsl:attribute> <xsl:attribute name="...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

How to display Page Content field in itemstyle.xsl

PublishingPageContent is a List Item column. Using the standard functionality it is not possible to display the content of a page. You could however extend the Content Query Web Part with custom ...
Gautam Sheth's user avatar
  • 30.9k
1 vote
Accepted

Search content webpart only show documents from current user

I switched the content search webpart to advanced mode and then in the query section, have added the below query: Author:{User.Name} See below screenshot, this will bring all the items created by ...
Gautam Sheth's user avatar
  • 30.9k
1 vote

My xslt doesn't work

Firstly, don't tell us that something "doesn't work". Tell us how it fails. Error message? Wrong output? Give us a clue! I don't know whether disable-output-escaping actually works in your particular ...
Michael Kay's user avatar
1 vote
Accepted

Split up @ArticleStartDate Month and Day to resemble a calendar page

I was able to get it to work with the code below using month, day 01-31, and abbreviated name of the day: <div class="articledate"> <div class="ArticleMonth"> <xsl:value-of select="...
Jennifer Nordyke Hart's user avatar
1 vote

how to copy files from one document library to another in sharepoint using jsom

Hi below is the code to upload the document to the library and to access the file from library you can just use direct URL of the document. this code was taken from MSDN article and url of the page is ...
Raghavendra C's user avatar
1 vote

Custom DispForm.aspx Form

Try to use JQuery by Adding the following code based on your field title and value <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script> ...
Mohamed El-Qassas MVP's user avatar
1 vote

Custom DispForm.aspx Form

Never done it before on SharePoint Designer.. But in case you wanna give a try using jslink, you could follow this link: Customize List Form Fields in Display Form (DispForm.aspx) using JS Link in ...
Andy Wijaya's user avatar
1 vote

Content Query Web Part / XSLT Variable Name

After your above variable, add a second variable: <xsl:variable name="ReleaseDate"> <xsl:value-of select="ddwrt:FormatDateTime(@ReleaseDate, 1033, 1)"/> </xsl:variable> I used ...
anonymous's user avatar
  • 407
1 vote
Accepted

How to query multiple lists using Content Query WebPart (SharePoint 2013)

It is possible to query multiple subsite with a content query web part. You only need to find the correct match (display template) or be able to edit in XML the one that is closer.
susan's user avatar
  • 2,678
1 vote

Which Webpart to fetch data from Multiple Columns in Multiple SPS 2013 List?

I would like to add one line that this question seems to be Opinion based. So in my opinion if I have to work with the given requirement I will definitely go with CSWP. Because this covers all the ...
Aakash Maurya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible