View Complete Post
When try to open a folder in a moss 2007 document library in Explorer View, the folder does not open.
I am using IE7 and the path of the folder does not contains more than 100 characters.
Also it opening on few on the machines which has IE7.
Is There any one know how to link document library folder is to external site
I have document library with having some folder in the same ,i have displayed my library in the page as Treeview, so when i click on any of the folder in the library i need to navigate allitems.aspx page i.e default view page of the document library ,the
document library having views.Suppose when i am in other view i have selected folder from library treeview folder is changing but view not navigate to default view.
I am trying to create an EventReceiver which gives me the parent folder for currently added documents. For this reason I created an ASPX Page which I display through a "Page Viewer Web Part" on my Sharepoint. Within this
Page I can create new folders in my Document Library. This is working fine. My problem is that I want to create an EventReceiver. The event is firing and I can debug it, but my properties object seems to be missing something. I am not able to get the name
of the parent folder.
Is this because I am displaying my site through a "Page Viewer Web Part"? But that would be strange because I am able to write into my document list.
public override void ItemAdding(SPItemEventProperties properties)
using (SPWeb web = properties.OpenWeb())
string url = properties.BeforeUrl.ToString();
url = url.Substring(0, url.LastIndexOf("/")); URL is ""
1) Should I i
Can anyone help me with the below issue, I am facing this from so long and didn’t figure out solution yet for the same. :(
I want to send an email through SharePoint designer workflow only when a folder is created in document library (not file uploaded/updated event). Please provide me solution about how I can achieve this through SharePoint designer
as don’t have enough coding acquaintance.
How can I change the folder icon in the default document library view? The catch is, I don't need to do this across the board, instead, I need a custom folder icon based upon the individual folder's properties.
I'm aware of the file ..\Web Server Extensions\12\TEMPLATE\XML\DOCICON.XML, but that's not what I need.
My initial thought, was to find the page that sharepoint uses as the template, find the <img> src attribute, and chnage it from
to something like
my GetIcon.aspx page would then look up the folder's properties, and return the expected .gif file. However, I don't know which file is used.
I been trying to add new custom folder content type to the document library programatically in my sandbox environment and it does show up on the document library. But, when I move same code to the almost similar configured SP2010 environment, adding
new folder content type to the document library doesn't show up on the document library's new menu.
Here is the code? Since this code works fine in my sandbox environment, is there any other settings I should check on the server environment which would cause hiding content type on new menu of document library.
static void Main(string args)
SPSite spSite = new SPSite("http://sp2010vm");
foreach (SPWeb spWeb in spSite.AllWebs)
spWeb.AllowUnsafeUpdates = true;
//For each site, cycle through lists
bool isDocLibraryExists = false;
foreach(SPList spList in spWeb.Lists)
if(spList.Title == "Classified Documents")
isDocLibraryExists = true;
if(isDocLibraryExists == true)
//Create new doc library
SPList splist = spWeb.Lists["Classified Documents"];
//Create Content Type
SPContentType documentContentType = spWeb.AvailableContentTypes["Classified Documents Folder"
Is it possible to add a new folder to my Shared Documents (SharePoint) from my network shares? Let's say i have this \\10.238.150.94\My Pictures and i want to add this folder to my Shared Documents.
I need some code using the webservice to check if a Folder, Document Library or SubSite exist. The purpose is basically to check if it exists before trying to create it.
I've found that I can detect a Document Library (but not Site or folder) with this:
list = list.GetList("MyDocLib");
It returns some information if found one and an error (Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-
I am new to sharepoint 2010. I want to disable "New Folder" server ribbon menu under document library only if I am at level greater than 2 in document library. If level is <=2 "New Folder" ribbon menu should be enabled. How I should
achive this enable/disable feature of existing "New Folder" menu item?
I want to retreive the url for the folder in the document library using visual studio.And I also want to retreive the subfolder url.Pls help me.
I have created visual webpart ,through this webpart i am creating the folders dynamically in shared document library.
here my thing is if i create folder with specific name,want to set custom icon instead of default icon
please any one help me on this.
Is it possible to bind a SharePoint library to a windows folder, so when a file is added the folder an event is created in SharePoint?
Or do I have to write code to watch the folder and add it via a workflow?