Tag Info

New answers tagged

3

I asume you are filtering by site and not by library. You could do something like this: $ignoreSites = @("http://siteurl/site1", "http://siteurl/site2") Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $siteURL = $args[0] $site = Get-SPSite($siteURL) $webs = $site.AllWebs | ? {$_.Url -notin $ignoreSites} foreach($web in $webs) { ...


5

This is a demonstration how you can copy files, folders and Document Set programmatically. If you want to move just files (documents) inside same SharePoint site and keep all versions of that file, an example is shown in the method MoveFileWithVersions. If you have folders that contain multiple files and you want to move one folder with all files that are ...


0

You could disable the "SharePoint OpenDocuments Class" add-on in IE. In chrome this is already disabled since chrome did away with npapi. In Firefox you can disable the "Microsoft Office 2010" plugin - the one that says "This plugin allows you to open and edit files using Microsoft Office Applications" You will want Office Web Apps set up before you do ...


0

You can use email event receivers for this. Check a similar question here : How to enable an Event Handler to intercept upload from email in document library


0

If the Content Organizer feature is activated in your site: Make sure that the user has at least "Read" permission on the Drop Off Library (in case the Drop Off Library has broken inheritance permission).


0

The article is a bit old but it explains what could be the problem: https://technet.microsoft.com/en-us/library/cc287981(v=office.12).aspx To allow this feature to work, the document libraries allow anonymous insertions from e-mail attachments. You cannot control who has rights to add attached documents to this document library. However, you can ...


0

is you set the credentials for the context? i think you missed this so it gives you a error context.Credentials = new NetworkCredential(this.UserName, this.Password, this.Domain);


-1

Make another folder name should be as short as possible, Copy from existing folder to new file, and open.


1

I'm assuming you're using OneDrive? If so, then see page 138 from the book "SharePoint 2013 How-To" - it talks about how the blue icon in the shape of two round arrows pointing at each other means that the documents are still synchronizing.


2

When a document library is defined as "Site Assets Library" in library Advanced Settings, then SharePoint will upload items into subfolders in the designated Site Assets library.


0

Not by Default, because it is saved in the "copied" item. The source-item doesn´t know if it is copied (btw. it coudld even be copied multiple times).


0

Background Document libraries are actually just a special kind of list in SharePoint. This means that for every document uploaded to a document library, a list item and a file are created. The list UI and CSOM calls allows you to manipulate the metadata (list item) or the document (file). These types of operations are mostly handled at the logical layer. ...


0

Problem is that this is SharePoints' way of storing metadata in your file. SharePoint also does this to your word files. This is desired behaviour.


1

Depending on what you are using the html files for, you can try changing the extension. For example, call a file content.html.txt. One thing I store html files for is to link them to content editor web parts. In that case the extension doesn't matter.


1

By Default search should bring you results across all Sites (the users has Access to). Or you did somehow scoped the results to current Site


0

So the correct answer for me is added in the original post. I added the ?&expand=Properties to the URL - which expanded the properties inside the same request. I then had to update my (Java) classes that represent my JSON data to reflect the same changes. Note that I did use JSON in my responses rather than XML as above mentioned.


0

Utilize the "Additional Filters" of the content query webpart, and use the following string for matches to the column you want to match on : [PageQueryString:filtervalue1]


2

It is even best practice to title the (New) View first with a URL save name (without spaces) eg: AllDocuments That way a readable URL is created: /AllDocuments.aspx (instead of /All%20Documents.aspx) Then edit the View again and set the Title to: All Documents So yes, it is perfectly safe to edit Titles And it is safe to change the URL as well... Even ...


0

Remove the width and text-overflow:ellipsis from the CSS on the object Or overrule it with your own CSS


0

One possibility is that they are files that have no checked in version. If you upload a file but do not check it in then you can see the file in SharePoint, but no one else can. You also cannot see those files in SharePoint Designer.


0

You can try this instead: /_api/Web/Lists/GetByTitle('Document Library')/Items?$expand=File This will not only retrieve the file properties, but the list item properties as well.


0

After some research time I found the way to show that little dropdown :) You have to include in your custom form this: <SharePoint:ChangeContentType runat="server" id="ContentType_" ControlMode="Edit"/> In order to be able to select the content type you want for your item


0

If you want to get the ID of the item for the corresponding file, you may simply try: $file.Item.ID


0

Open SharePoint Designer with Administrator previlages. It will show all files.


1

Just wanted to add to this... BEWARE... So the idea is sound.. Index the Modified date then for the view, only show N number of days that will return < 5000 items. Modified (Indexed) >= [Today]-90 The problem is that the moment you add a Formula into your view's filter box, that view will no longer show up for Alerts Subscriptions. Modified ...


0

Personally, I would get the user with Full Control (or the site admins), to create themselves a private view, as opposed to a public one. Within the public view, items will be filtered using the [ME] attribute, whereas you can then specify the parameters of the private/personal view you have created. Additionally, within the general permission levels of all ...


0

Hopefully you do LinqToSharepoint in the correct way. However, I guess, you have a List where the requests itself are contained My Question is: Why don´t you activate Attachments for that list? That way you have all the necessary files attached to the corresponding request-Item and do not have to make an separate Request


-1

User must check in document (and publish) it so other users can see and edit it.


2

Has the user checked in the documents? The documents he added might still be checked out to him. Go to Library settings -> Manage files which have no checked in version to see these documents.


0

In SharePoint Designer just navigate to All Files navigation node (not List and Libraries node), find your document library there -> right-click library -> rename. The URL will change to your new name.


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


0

OK, by a lot of trial and error I have discovered that other users' checked out files only become visible once they have been checked in for the first time, and then checked out again. This must relate to the document not being considered a 'major version' until it's been checked in once. Thanks again, all, for your help.


1

Depending on the version settings you have, the usefulness of the column differs. It isn't as useful when there are documents that have not been published as major versions, anything less than 1.0. After the files are major versions where the files are visible to all, it becomes beneficial as everyone can see who has the file locked for editing.


4

I don't think this is a problem. Otherwise you could create a new View which looks the same as AllItems.aspx, set this as default view and give it your desired title.


0

There are a number of ways you can work around this. The simplest involves creating a placeholder or dummy document, and having a status column to indicate this. It's not a great option but its workable. You can start improving the solution by allowing other content types to be added. A common addition I use is a link to a document. Frequently you need ...


2

The usual 3 step process will help you narrow down your issue: Clear browser history and cache Restart your pc Try a different browser


0

I found the solution for my issue. I've to update the document library definition Schema.xml too. Something like this <Field ID="{F9BD72AE-1DB2-4D10-AF6D-A2F12B8D0408}" Name="DUMMY" DisplayName="DUMMY" Type="Choice" Format="RadioButtons" Required="TRUE" Group="DUMMY"> ...


0

You definitely want to have a look into Software boundaries and limits for SharePoint 2013 where Microsoft has put information regarding various aspects of SharePoint and how this might relate to performance. There are 3 main categories: Boundaries: Static limits that cannot be exceeded by design Thresholds: Configurable limits that can be exceeded to ...


0

The SharePoint supported limit for a document library in SharePoint 2013 is 30 million, with the file size being 2 GB per file. Just because the customer said 1 million doesn't mean it's all in one library, create some governance and separate the documents into their respective departments if it makes sense. ...


1

No, it is not possible. As Eric Alexander mentioned, renaming a document means recreating it (I wish it didn't!). Proof: in order to rename a file you need the "Delete" privilege. SP probably does something nasty there...


1

As @DannyEngelman correctly points out in his comment, there is no OOTB way for doing this. Integer field as you suggest yourself is one way, but hell to maintain. If you are working with an on-prem solution I'd rather suggest you create your own custom FieldType in which you can maintain an order - take a look at this question for guidance.


2

To get the default values of columns you first need to get the columns and then use the get_defaultValue() method to get the default value. this.list = webSite.get_lists().getByTitle("ListTitle"); this.fieldCollection = list.get_fields(); this.field = fieldCollection.getByTitle("FieldTitle"); Once you get the field you can use the below code to find the ...


2

Step 1: For Level 1 - Open Library in the ribbon at top under Library option . There is Share With as shown in below image Share With --> Advanced --> Stop inheriting. Here you will manage level 1 permission Stop inheriting permission and give read access. Step 2: For Level 2 - Click ... next to folder at level 2 and again ... like below image - There you ...


2

Actually, it doesn't matter that much if the end result is one item, a dozen or 4999. The SQL database must have fewer than 5000 items in the subset to be returned by the first filtering operation in the query to avoid table lock escalation. In your case, if the requirements don't change, you're fine, because the database shall filter documents by folder ...


0

I've found the solution, here's how to do it: I understand that you want the documents inside a document set all inherit the same metadata column from document set. You will need to set the metadata column as Shared Columns for the document set content type. Click Library Settings. Click on Document Set content type to edit it(If all the ...


0

You would want to go into the document library settings and look at the Column Default values link. In here you can set the default column values for files placed into the folders. They will automatically pick up the values specified on the folder.


3

From experience : As stated by others, you can have a view that returns more than the threshold (default 5000). There are three things that can be used to achieve this : Paging. Flat view with no filer/grouping/total. Filter/Grouping/Total, but you cannot use one of those on columns that are not indexed. If you need to do so, do it before reaching the ...


3

Posted comment answering the question The limitation is on page views. 1 page view can max contain 5000 items. If you have 150 items per page view, you should be fine.


1

In past I notice when a client had more then 5000 documents with many attachments 1. The performance was so slow 2. It was hard to navigate the right document for users. 3. For some reason the MS SQL Index was broken and items were not coming up search terms. it was just like asking for trouble. Its an issue your better of splitting it into folders or ...


0

New Documents uploaded to the library will receive version 0.1 You can use the Item Contextual Menu or Ribbon Button "Unpublish" to reset it from 1.0 to 0.1 but you have to do this per item. Depending on how many documents you have, you might want to just export all the documents, clear the folder and re-copy them back as 0.1 Test it on a different ...



Top 50 recent answers are included