Hot answers tagged

3

It is not entirely good practice. Problem is that you return list items in an instance of SPListItemCollection that contains items from SPWeb and SPSite that have been disposed (as the using closes). While it may work for basic field values, I don't recommend doing it like that as you will run into issues with some fields or properties. Perhaps you could do ...


2

Farm solutions are only unavailable if SharePoint Online is a consideration. SharePoint 2016 continues to fully support not only custom Timer Jobs, but Full Trust Code Solutions, as well. I feel that FTC solutions should be used when and where appropriate for customers who continue to use SharePoint On-Prem. If you can find alternative solutions that do not ...


2

Check this link: http://www.stuartroberts.net/index.php/2014/03/21/set-title-field-document-upload/ It just has solved the same problem for me. Basically it says that you have to use vti_title as name of the field, or use Item.Title property. About why it changed, I have no idea, maybe it was a SharePoint update or something.


1

This control passes filter parameters to a list view. What is it supposed to do on random wiki-page? It's somewhat understandable if your wikipage contains a webpart that displays document library where MMS navigation is active (list view). An approach to the closest you can get it to work is described in ...


1

Alternatively you could connect a Filter Web Part to a View of your Document library. Ref; https://support.office.com/en-us/article/Connect-a-Filter-Web-Part-to-a-List-View-Web-Part-4F3F6C10-0A1B-479D-8B4D-C4F1BF49BB3F


1

If coding is option, Then you can create a timer job or console application and then schedule it to run daily. It will check whether today is review date and update the status accordingly. The code will be something like below using (SPSite site = new SPSite("Your site URL")) { using (SPWeb myweb = site.OpenWeb()) { SPList olist = ...


1

The workflow will run for each item that meets the retention policy. When the timer jobs process the information and finds an item that is to expire, it will do what ever is specified as per the policy. If is to move it to the recycle bin, it moves all matching items to the recycle bin. If it is run a workflow, it runs a workflow on each item. This process ...


1

I don't think you need to learn C# and Asp.net for branding. For branding you will need to have knowledge of HTML and CSS. You can get tons articles on Google for SharePoint 2013 branding . For e.g. http://en.share-gate.com/blog/where-and-how-to-start-branding-sharepoint C# and Asp.net comes in the picture when you want to develop custom solutions which ...


1

I can think of three ways in which this code has gone wrong. The long URL that you are mentioning is actually a view inside a site collection which is not the root site collection. Meaning that you are trying to access a the root site collection instead of the actual site collection. The easiest way of knowing this would be to check if there is a "sites" ...



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