Showing posts with label SharePoint 2013. Show all posts
Showing posts with label SharePoint 2013. Show all posts

Sunday, September 6, 2015

Delete a list items using JavaScript library code in SharePoint 2013

Would like to delete 13000+ records from the list in SPO.
SCRIPT  BEGIN
var itemId;
var oListItem;
 $(document).ready(function() {
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', sharePointReady);

    });

function sharePointReady(){
    var clientContext = new SP.ClientContext("XXX");
    var oList = clientContext.get_web().get_lists().getByTitle('Workflow History');
for LOOP
{
    this.oListItem = oList.getItemById(itemId);
    oListItem.deleteObject();

    clientContext.executeQueryAsync(
        Function.createDelegate(this, this.onQuerySucceeded),
        Function.createDelegate(this, this.onQueryFailed)
    );
}
}
SCRIPT END
https://msdn.microsoft.com/en-us/library/office/jj163201.aspx#BasicOps_SPListItemCRUD

Tuesday, August 4, 2015

SharePoint 2013 has Out-of-box "Word to PDF Conversion". With "Print to PDF"

SharePoint 2013 has another awesome feature that lets Out-of-box "Word to PDF Conversion". With "Print to PDF"
http://www.learningsharepoint.com/2012/10/15/word-to-pdf-conversion-in-sharepoint-2013-via-print-to-pdf/
It doesn't work if you apply IRM feature on the document library.

Thursday, June 11, 2015

SPEasy Form for SharePoint List customization.

Customizing list form is part of daily job. Got a new tool over internet to customize the form in a simple way.
Have a look @ http://speasyforms.com/


Sunday, May 17, 2015

How to check logs using Correlation ID in SharePoint 2013 Online environment

Recently for one of my application, got some issue and we have Correlation ID. We contact the MS support team for the reason.
Most of the issue might solve by viewing the logs.But in SP Online we can't find the root cause by our self for the problem.

Got the shocking info from them.
http://community.office365.com/en-us/f/148/t/155804.aspx