Does moss have a built in way to schedule file and folder deletion besides "disposition approval"? (i.e. every 90 days) If not built in, what options are out there? Thanks.
View Complete Post
We are using a third party wsp in our solution which directly adds the web parts into the web application store rather than the web part gallery(References to them are present
in IIS site's wpcatalog directory). We want to remove these web part files so that the users will not be able to add these web parts to pages directly. Or any other modification so that users will not be able to add these directly. Is there a way we can
do this programmatically?
I have a folder, which contains sub folders. For example: Doc is the root folder. Inside it has 2 sub folders named Doc1 and Doc2.
Doc1 contains 2 sub folders - fol1 and fol2.
"fol2" folder does not contain any files, where as "foc1" has a file in it. I am trying to get the count of files modified in last 30 days. Against each of the sub folders,and the corresponding parent folder i want to show the count of
modified items. I am getting the sub folders count, but that count is not getting updated to the parent folder.
I am missing a small part of updation, but not sure where it is. This is the code i have used:
public static void GetOpenItems()
SPFolder folder = list.RootFolder;
int mouas = 0;
if (folder != null && folder.Name.CompareTo("Forms") != 0)
//Get Individual Folder Total
foreach (SPFolder subFolder in folder.SubFolders)
if (subFolder.Name.CompareTo("Forms") != 0)
mouas = CountFilesInFolder(subFolder, System.DateTime.Now.AddDays(-30));
subFolder.Item["Files_Count"] = mouas;
static int CountFilesInFolder(SPFolder folder, DateTime startDate)
I have a CCS file that I used with my MasterPage, however I wanted to move it with my other Style Sheets to a folder called StyleSheets. But when I update the:
<link href="~/StyleSheets/SS_TDBG.css" rel="stylesheet" type="text/css" />
I lose my background image?
Here is my StyleSheet:
color: how to set a client folder to get upload and download the file. i create a web site for uploading and download but i require that a folder create in client side if client download the file these file automatically save
i create a web site for uploading and download but i require that a folder create in client side if client download the file these file automatically save
How to fetch a file name of specific file type from a specified folder. To simplify
Assume 'Test.xxx' is the file name in 'D:\test' folder. Need a sp which takes the drive as input parameter and fetch the output 'Test'.
Thanks in advance.
I need to copy a folder from a file share to my local C: drive. Is there an easy way to do this in SSIS, or do I have to write a DOS batch file and execute it from SSIS.
Any help would be appreciated