Hot answers tagged

3

You could require content approval and turn on track changes. (In Word 2013, you can require a password to turn off track changes.) Then the person who has to approve the document can accept or reject individual changes once the document comes to them. Or, there's a "collect feedback" workflow that will route a document for comments.


3

Document library require content types that are inherited from Document Content Type. This is required because it needs a File field to store the file data. In case of Custom List, it is just like an Excel File with columns (Meta data) and don't require a mandatory File object (in case of doc lib) Also I don't think its a good design to have both using the ...


3

Break permission inheritance of that document library. Remove other users. Then only assign permission to the owners. This will hide the library from other users.


2

Yes it is possible to create *.docx file in document library using REST services. For more detail you can refer this MSDN article Files and folders REST API reference Let me know whether this helped you. Thanks


2

Using below mentioned functions you can upload document to Document library. Here you need to change the below mentioned code according to your needs like here it is mentioned document library name as "Project Documents" so please change it with your library name. You have to make three calls. The first uploads the file, the second retrieves the list item ...


2

The Windows Explorer view of SharePoint does not support views defined in SharePoint. Explorer view will simply shows the folders and documents present in SharePoint and ignore any views defined in SharePoint. Paul


2

You should be able to use SharePoint's draft item security here. Within the document library settings, select versioning settings then select the following: Require content approval for submitted items - yes Create major and minor (draft) versions Under draft item security select 'only users can approve items (and the author of the item). Ensure that ...


2

yes...there are two ways.. one is via coding where if login users are same as CreatedBy field than the documents will be visible or if user is with Owner access he will be able to see the documents. second is via out of box...create two views... One view display all documents and set its Audience Target to be only Owners... And create a second view where ...


2

There is no way to get around the limitation, but there is a tool that Microsoft gives you to shorten files and folders, and if it can't, will rename the file/folder to something like "Invalid". https://support.microsoft.com/en-us/kb/2933738 Alternatively, you can write a PowerShell script to rename any file/folder to a lesser limit, possibly by cutting ...


2

try this one: SPSite site = SPContext.Current.Site; SPWeb web = SPContext.Current.Web; SPList list = web.Lists[“Shared Documents”]; SPQuery query = new SPQuery(); //Condition to check the item type is folder or not query.Query = “<Where><Eq><FieldRef Name=’FSObjType’/><Value ...


2

On your SPQuery object, you can set the scope in the ViewAttributes property, as documented here: https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spquery.viewattributes.aspx ... SPQuery spQuery_temp = new SPQuery(); spQuery_temp.Query = "<OrderBy><FieldRef Name='Modified' Ascending='False' /></OrderBy>"; ...


2

If you reestabilish the inheritance, the folder with broken inheritance will keep the broken inheritance. So, it doesn't break unique permissions on children. Anyway, you can try it yourself simply creating a new test library and setting and breaking inheritance. I tried it my self too...


1

The total URL length limit is 256 characters - SharePoint won't allow you to upload a file or folder if the total URL length exceeds that. Note: There is no workaround to increase this Character limit for the files and folders.


1

I guess creating documents based on a template is not available in JSOM, however you can create such documents within a SP Lib, by directly using Office API method baked in SP core.js. Creating Documents via the Web App CoreInvoke('createNewDocumentWithRedirect2', event, '[template URL]', 'http://[server]' + (ctx.rootFolder == '' ? ctx.listUrlDir : ...


1

You could make a separate list (i'd use a discussion board) that ties to the document library through a lookup column to allow users to make comments/questions on a specific document. This separates the concerns of users having access to edit documents that they don't need to edit.


1

In general it's best to do it at the same site. Mainly, because users are familiar with that location. Secondly, it will be easy to copy any special permissions from the original library in the case permission inheritance was removed for it. For archives, your best solution depends on your business needs. If there will exist more than 10k 'active' ...


1

The URL changes when user clicks on the folder. It means the page always refresh after clicking on the folder in Document Library. It is the default behavior of SharePoint.


1

Another option could be a content query web part. You can configure the web part to get documents from your library and apply condition to show recently modified documents. You can point web part to a document library in parent site or even in sub site. This web part is also OOTB web part.


1

For external users, you may want to look into ACS, which you can configure to use Microsoft Accounts, Facebook, and a few others. An example reference can be found at https://blogs.technet.microsoft.com/meacoex/2013/12/25/authenticate-your-sharepoint-website-users-with-facebook/. This in and of itself is a deep topic you will want to do research on. For ...


1

You can use SharePoint Column type "Publishing Hyperlink" and you can directly provide provision to user to upload attachments from SharePoint Itself. Publishing must be enabled by a site collection administrator for these column types to appear. To enable publishing, go to Settings Small Settings gear that took the place of Site Settings.> Site Settings. ...


1

There is no inbuilt mechanism say OOTB facility to do such task. But still you can do this with little bit of lazy steps. Or also you can go with C# custom solution. For detail information of converting custom list to Document Library you can go with this SharePoint - Convert a list to a library once. Also if you have document attached in your current ...


1

Instead of going with easy approach you should choose best practice. This will help in the long run. Best practice is to create Content Types and add it to the document library. So first create a Document Content Type and add the required fields (site columns).



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