Tuesday, October 28, 2014

Column ‘HtmlDesignAssociated’ does not exist. It may have been deleted by another user.


Issue: Column 'HtmlDesignAssociated' does not exist. It may have been deleted by another user.  /xxxxxxx/xxxx. Undefined.

When you are trying to convert html page to masterpage form SharePoint 2013 design manager ,this error may occur due to following reasons.

The Causes of the Issue:

1) The publishing feature is not activated properly in site collection level or web level.

2)The Html file is not available in “/_catalogs/masterpage”. I.e. you are trying to insert the html file for the conversation process from another location except /_catalogs/masterpage”.

Solution:

1) Activate the publishing feature at site collection level and site level. If it is already activated make sure it was activated properly.

2) Upload your html file into /_catalogs/masterpage” location and try the conversation process again, because “HtmlDesignAssociated” column is not available for all document libraries.

Monday, October 27, 2014

Save Conflict: Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click back in your Web browser, refresh the page, and resubmit your changes

Issue: Save Conflict. Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click back in your Web browser, refresh the page, and resubmit your changes.

The Cause of the Issue: When you are attempting to update the SharePoint list item, which has been changed by another user since you opened it.

Cases

1) Mostly this problem will occur during the update of a SharePoint List Item in Event Receivers and Workflows, which are running whenever the item changes.

Example: I have a SharePoint workflow on custom list, which is running whenever the item changes. In my workflow code I’m trying to set the value to one of the custom fields, after setting the value to the custom field, I update the list item. Here the item was changed and the workflow again triggered on the same. We can solve this type of problem by disables firing event receiver or workflow while updating item.

2) Sometimes, it is necessary to update the same list item in our code parallel. At that time also this error will occur.

Solution: Instead of performing operations on the item which will get updated by another process, get the same item from SharePoint list based on Unique ID by using “SPList.GetItemByUniqueIdmethod.

Sunday, October 26, 2014

Retention Policy on a document library in SharePoint 2013



The following steps will explain how to enable Retention policy on a document library.

      1) Select the document library, to which you want to apply Retention Policy.

      2) Go to Library Settings of the selected document library. 

    3) Click on "Information Management Policy Settings" link present under Permissions and Management category.      


  
     4) Check the “Enable Retention” checkbox and Click on OK.



      5)  The following window will appear, by default the retention policy was applied on content types. So we need to change the retention policy to document library.  To achieve this click on “Change source or configure library schedule” link which is highlighted in the below screenshot.






6)  Select "Library and Folders" radio button and provide description. 




      7)  Under the description field "Add retention stage.." link is available. Click on that link.
  
      8) The following pop up will be opened.In this step we need to configure the retention policy conditions i.e; what causes the stage to activate and also specify the action when the stage is triggered.







     9)  Click on Ok to apply the retention policy on document library.




 10) If we want to generate a report for this retention policy click on the "Generate a File Plan Report for this library" link present on the above screenshot and  save this file in particular location in your site, and open this with Excel.

This file contains the information about Retention Policy as follow.





    Total Pageviews