A folder is a virtual container where files can be stored.
0
votes
1answer
19 views
web.GetFolder() - value does not fall within the expected range. Sharepoint 2010
Below is the code to check if folder exist in doc library on a subsite and if not than create it.
using (SPSite site = new SPSite(sharePointSite))//"http://testsite.dev"))
{
...
0
votes
1answer
424 views
Create a folder structure in a discussion board
How can I create a folder structure in a discussion board? I have already tried this solution:
1) Create a new Site Content Type say called 'Thread Folder' based on the Folder Content Type with ...
1
vote
0answers
9 views
Set Created By field for Folder in Document Library
I need to migrate documents from xml to Document Library. We can use Files.Add method to create documents with created by and modified by fields. How can we update / create Folders in Document Library ...
0
votes
1answer
38 views
How to get SPListItemCollection from a SPFolder?
I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and ...
0
votes
1answer
46 views
PowerShell: Upload documents to folder in document library
I'm using SharePoint Foundation 2010.
I have to make a PowerShell script that copies a structure found on a network share. Its all good except for one thing... I know how to make Document Library's ...
0
votes
1answer
33 views
Setting permissions on folder not working
I am using SharePoint 2010.
I set permissions on my folder but yet everyone can still see and access the documents in the folder. What is going on here?
0
votes
1answer
32 views
Create a tree of folders in the list instance of a document library
I created a document library list (in visual studio) and I want to set a tree of folders in the list instance not programmatically but in the element.xml file
3
votes
1answer
2k views
Sharepoint document library folders
I've got a problem "browsing" folders in my Sharepoint 2010 document library.
In my opinion there are two ways of accessing folders, but I can't see the difference.
1) ...
1
vote
3answers
374 views
SharePoint document library permissions by level?
I've got a SharePoint document library with a folder structure as follows:
The library is called Customers. Inside of this library, there are about 150 folders for each of our different customers. ...
1
vote
1answer
28 views
Unable to approve folder in Master Page Gallery
I am an administrator/developer and I have created a news site publishing site and all everything in the "Master Page Gallery" Needs to be approved. First I tried to use 'PublishingSite.PageLayouts' ...
1
vote
1answer
38 views
In a SharePoint List I cannot see items that are in a folder
I have a sharepoint list (Not Library), where I am programatically adding in a folder:
SPList list = web.Lists[ListID];
SPFolder parent = list.RootFolder;
SPFolder child = ...
1
vote
1answer
190 views
SharePoint 2010 Add new item link disappears with broken inheritance
Hello Stackexchange SharePoint masters :)
I've been a long time reader of this marvelous source of information but at long last I could not find a solution to a problem I encountered so I figured it ...
1
vote
1answer
518 views
Hide content type on “Add new item” ribbon button in folder
I have a problem which concerns hiding content types in the "Add new item"-Ribbon-Button.
In Visual Studio, I defined 2 custom content types (derived from the default folder content type) and a ...
0
votes
2answers
55 views
Get All Items in a Folder (including ALL subfolders)
I am trying to get the count of the number of items in a SPFolder. I have tried several things so far however they seem to break once I add two subfolders. I want the total number of files in all ...
1
vote
3answers
78 views
Move Files from a SharePoint Library into a Folder
I have a problem. I want to move files from a SharePoint library into a folder using PowerShell. To be more specific I need to move all the files in the library for whose a SharePoint field value ...
0
votes
1answer
53 views
Search for specific folder in library with CAML
I'm looking for a way to search for folder which name starts of 'Foo' using caml query in list. How can I narrow results to return only folders?
0
votes
3answers
3k views
How to copy a folder in SharePoint?
Is there any way by which we can copy a folder from one SharePoint site to another SharePoint site?
I know how to copy documents but I am not finding any way to copy a folder which resides in a ...
0
votes
0answers
24 views
Creating Document Libraries Using WebDav Interface
I am currently developing an app that uses the WebDav HTTP protocol to communicate and handle interactions with a Sharepoint site. While I can use a MKCOL request to create directories within a ...
2
votes
1answer
745 views
CSOM Get ListItem of Folder
In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document ...
0
votes
1answer
23 views
About SPFolders & DocumentSets
I've been working in a feature for mi current project that involves folders. I've noticed that If you add files or subfolders to a folder and then you try to update the folder's metadata an exception ...
1
vote
0answers
29 views
Connect to a Shared Folder on a new computer
I have been using SharePoint Shared Folders as a backup and synching mechanism for my working documents on my laptop. I created a Shared Folder (I called it "Synchronize") for myself and keep all my ...
1
vote
0answers
362 views
Folder Content type gets lost when using a list template
I created a new folder content type that has several columns of data and then created some folders in a list using the content type. I then created a list template and included content. When I created ...
0
votes
2answers
95 views
can you organize Document Set libraries into Folder Heirarchy?
In my sharepoint designer workflow i create a document set when a project initiation form is submitted. the workflow creates the document set in a document set library. I'd like to organize a folder ...
0
votes
1answer
101 views
Sharepoint 2010 search not showing folders in results
I am stumped by this pretty unusual problem. One user cannot see folders as results when searching. Only files within the folder are shown. Only one user has this problem. Many other users with the ...
0
votes
0answers
95 views
ItemUpdating event not firing on folder rename w/ Windows Explorer
I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI.
However, if ...
1
vote
3answers
1k views
Creating Nested Folders via Client Object Model
I'm trying to create nested folders in my document library so it looks like this:
http://site/PublicDocuments/Folder1/Folder2/Folder3/
The document library "Public Documents" exists but none of the ...
0
votes
1answer
165 views
How to move a document from SharePoint folder to local directory in a drive?
I know there is a workflow to move documents from one folder (or a library) to a different one inside the SharePoint based on their approval status or version number etc. But I want to move the ...
4
votes
2answers
350 views
Get all Files from sub folder of a certain content type
my problem is I have a document library with sub folders. Also the document library got more than one content type.
Is there a way to create a CAML or LINQ query to get all files of a certain content ...
0
votes
2answers
230 views
getting my Document's parent sharepoint Folder
I have a sharepoint document library containing documents and folders (the folders are newly introduced as a new content type derived from folder) and I'm having an event reciever on document added ...
2
votes
1answer
90 views
copy the name of a folder to a column
Is there an out of the box way in SP2010 to copy the name of a folder to a column? Or a workflow to do it?
For example.
I have a folder content type called scholar and it will be named the scholar's ...
1
vote
1answer
1k views
How to change folder properties inside a sharepoint library
We have an existing SharePoint library that was created years ago for project management. The users who used to manage it are no longer with the company.
The library is setup with multiple folders. ...
2
votes
2answers
207 views
Get content Type order in C#
I am building a web part that would be added to the bottom of every library view and would display the folder content types making it easy to create a new folder (rather than having to go to documents ...
4
votes
3answers
2k views
How to get SP.Folder for SP.ListItem in SharePoint 2010 JavaScript Client Object Model?
I have a custom button on ribbon for document library and need to disable it if current SPListItem is an empty folder.
To disable button I use EnabledScript attribute of CommandUIHandler. I can get ...
2
votes
1answer
620 views
“+ Add Document” link missing for some users
Running SharePoint 2010. I have a library that has a folder for each user. Each user has contribute rights to their own folder. However, for some users, even if I give them Full Control, they never ...
9
votes
7answers
17k views
How can I move a document from one directory to another?
How can I move a document into a sub-folder and still maintain its version history from the old location in the new location?
1
vote
3answers
1k views
Item name / title when creating a folder
I am trying to create a list item with a folder content type by setting it's content type id to a folder content type id. The folder is created successfully but the title is set as 1_.000, 2_.000 etc.
...
1
vote
0answers
72 views
Unable to seperate normal and hidden folder such as “Forms” [SPFolder Object Model ]
While performing certain task in a console application, i am unable to separate normal folder and hidden ones such as "Forms","FormServerTemplates" etc. I am using SPFolder in the obejct model. I have ...
2
votes
1answer
159 views
How to parse a SharePoint URL to get CSOM objects?
Let's say the only input I have from the user is the full URL to a folder in a Document Library called "Public Documents":
http://intranet.contoso.com/SubSite/PublicDocuments/Folder/SubFolder/
Using ...
1
vote
0answers
70 views
“Choose folder” dialog in document library reacts really slow
While uploading a document into a library I want to choose in which folder the document should be uploaded.
When I choose a folder the PickerTreeView.aspx answers really slow.
Example image where ...
2
votes
1answer
455 views
How to create a folder in SharePoint 2010 document library using REST or HTTP methods
I am using Java to make calls to the SharePoint REST Interface to get list items of a document library and HTTP methods to upload documents to SharePoint. But, I am having a difficult time trying to ...
1
vote
2answers
84 views
Can i filter folders to show on different views
How can i make it so that certain folders appear on different views?
ex:
View 1 (Folder A, Document A1, Document A2, Document A3)
View 2 (Folder B, Document B1, Document B2, Document B3)
View 3 ...
6
votes
3answers
2k views
Show folders in document library that have a filter view
I am using SharePoint 2010
I have a document library with a view that Filter items only when a particular Column is true.
The problem now is that when I have a filter in my view the folders in my ...
3
votes
2answers
584 views
XsltListViewWebPart forgetting current web when being rendered on Layouts page
I'm adding a very simple XsltListViewWebPart to an application page. Like so:
XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" };
...
1
vote
2answers
226 views
How to hide / remove / rename “Name” propertie from folders
I have a content Type that inheritate from Folder (named F_CT) to content my other type elements (I_CT)... When I Click to create a new F_CT Sharepoint asks me how all the F_CT fields and "Name" as it ...
1
vote
3answers
1k views
The advised place to put images and css files
I've been looking on the net for some advise and explanation about where to put my custom css and images for the master page in sharepoint 2010.
I'm now busy with branding the portal and i'm a bit ...
0
votes
1answer
405 views
SharePoint search: show only folders in results
What is the best way to show only folders in the search results?
I've tried adding a search refiner for Content Type but the Content Type search refiner doesn't show up. And yes, I've added a new ...
0
votes
3answers
3k views
Count of Files Under a Folder in a Document Library
Is there a way to get a count of the files under a folder in a SharePoint 2010 (enterprise) document library?
3
votes
3answers
3k views
Why are documents inside a folder not showing when a filter is applied?
I added a custom column called Project (string) to a Document List.
I then set different views in different pages to filter on that column.
The problem is that, when applying the filter, documents ...
1
vote
1answer
1k views
When I create a folder porgrammatically get the error “Invalid item data — missing FileRef”
I trying to add programmatically the detested Folder.
I do the following
foreach (SPListItem reparto in reparti.Items)
{
var folder = dl.Items.Add(dl.RootFolder.ServerRelativeUrl, ...
0
votes
1answer
242 views
A folder item is not returned by SubFolder properties after its creation
I have a SharePoint list (not a library) that accept the creation of folders.
I have written a small utility method that allow me to create a folder hierarchy if it does not yet exists :
public ...




