Hot answers tagged

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.


3

Some things to look at: The item level permissions on the library - This can hide files from admins if it is set to only be visible to the creator. Manage files which have no checked in version - This can hide files from the admins if you have required metadata that is not supplied. The file remains checked out to the uploader as a draft until the metadata ...


3

Rather than using $(document).ready() try this: <script> _spBodyOnLoadFunctionNames.push("ButtonFunc"); function ButtonFunc() { $('.ms-qcb-leftzone').append('<li class="ms-qcb-item"><a href="http://www.google.com">ButtonName</a></li>'); }) </script> If this doesn't work check that the selector $('.ms-qcb-leftzone') ...


3

Which event is your Event Receiver trigging on? Because the -ed receivers are asynchronous by default (which could explain the behavior you're seeing). So, either use ItemUpdating event for your receiver, or explicitly mark your ItemUpdated receiver as synchronous (in the XML or code based on how you are adding the receiver) For XML: ...


3

Stop using PATH and use Content Types. It makes requirements like this a breeze. Create a new content type based on Document. Assign the content type to the library. Optionally remove the Document content type Assign the documents in the library to your content type Crawl the content Find the content with a result source ContentType=MyContentType


3

Document Libraries in SharePoint consist of your main/core documents. For example a word document, excel, PowerPoint, Visio, pdf, csv, notepad etc. Form libraries consist of XML forms (InfoPath Forms). The scope of answer will very huge as there are so many different scenario. But major difference is Document Library is used to maintain the documents ...


2

Document Library: is used for storing documents Form Library: is used for storing InfoPath forms http://www.bizsupportonline.net/blog/2014/what-is-sharepoint-form-library.htm


2

IDs of documents generated by Doc ID service is something like N3SITE-424387581-13. If we try to break the Id N3SITE-424387581-13 we can notice that N3SITE: is the prefix which we have in Document ID settings. 424387581: Is the random number generated by SharePoint. 13: is nothing but the normal ID of a document. N3SITE and 13 are quite easy to ...


2

AllDocStreams stores the actual binary content of a document. In 2010, this would store the binary content of each file, while in 2013/2016 it would only store the difference from the previous version.


2

In SharePoint 2010, versioning stores complete copies of previous versions. The size you are seeing is all the previous versions. Some things to combat this, in your versioning settings in the libraries, set maximum number of major and minor versions. After setting that, you'll need to perform some scripted maintenance to purge the versions. You would ...


1

Assume you have a column in your DocLibA view that is a single value lookup column to a column in DocLibB (it actually doesn't matter which column in this case). You can use Client Side Rendering to change the default link, which is to the display form of the item in DocLibB, to the item itself. Place this code on the view page of DocLibA. The only change ...


1

There are couple of ways to achieve this Using anchor tag you can specify which section of the page it should scroll to Using JavaScript you can find the group element. The scroll to that element by handling the click event.


1

You can break permission inheritance on the library settings. Then remove all users from the permission list. Add Site Owner group.


1

This is not easy as you think. Following are the steps you can try Create an array and store the list of document libraries and their default view URL. You can use JSOM to get this information. On each page load check the URL and see if the URL exists on the Array If exists then execute your script to create dynamic button on the ribbon.


1

My organisation has the domain myorg.com and my email address is something@myorg.com. Our SharePoint farm uses the sub-domain sp.myorg.com and any email enabled lists will use ListName@sp.myorg.com. Of course there is still the issue of duplicates if different sites have lists with the same name. A naming convention, for example incorporating the site name ...


1

Try changing the page to an .aspx instead of a .html - if I remember correctly there's a security measure preventing using .html files in the newer versions of SharePoint. Edit: If it's not an option to change the file type you can change the setting. For further information please see this post (I can't take credit for anything other than finding it): How ...


1

Go to list setting modify view. Select Created column. Click save. You will be able to see created date as well. It is OOTB column.


1

You can do it quite simply by including a little bit of JavaScript on the page. Either add it through a script web part of save to a file and add the file through a content web part. window.onload = function () { document.getElementById('inplaceSearchDiv_WPQ4_lsinput').placeholder = 'Ex: SMS12345'; ...


1

The answer I have found is that Chrome prevents hyperlinks from working in the Word web app unless you have the IETab extension installed in Chrome (and you are using it).


1

Alternate solution, Open site in designer Navigate to List and Libraries click on library name Right bottom - Custom actions - New Provide button name, description Provide url of your view in Navigate to URL Provide image url and sequesnce number as to where you want the ribbon button to be viewed.


1

The easy way to do that is by using JSLink and attach to the current view. In the js file that you are going to use in the JSLink, you can use jQuery and target the following UL with this class ms-qcb-zone ms-qcb-leftzone (This ul contains the New, Upload, Sync, etc) . You can add an li at the end with the button you want with link to the view.


1

I tested your script and found the problem. The answer is here http://stackoverflow.com/questions/35225511/sharepoint-csom-copy-roleassignment your last lines should be: # Apply the permission roles to the list. $clientContext.Load($folder1.ListItemAllFields.RoleAssignments.Add($usr, $usrRole)) ...


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).


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

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

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 ...



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