sharepoint

Modifying fields for a Workflow Task in Sharepoint

Does anyone know how you can modify the fields in an out-of-the-box (OOTB) Workflow Task (specifically Priority and Due Date)? The OOTB Approval workflow doesn't allow you to set these fields (it allows setting a due date, but not a due time). I had a cunning plan to create a custom workflow in Visual Studio to set these fields automat...

SPWeb.ProcessBatchData() create strange folder name in sharepoint document library

Hi all i am using SPWeb.ProcessBatchData() method to batch create folders inside one document library. everything works fine expect after folders have been created, folders all have very strange name. for example if my document library's name is 000, then the folder name's is "1._000". I tried a lot of other properties, but i have no luc...

Subclassing SharePoint Objects

Hi, I want to subclass some SharePoint objects, such as SPSite, SPWeb, SPList, and SPListItem. Any idea how to do it? I cannot create an instance of my derived class since I can't construct the objects with a constructor. I usually used a container class to wrap the said objects, but I don't think it's a good solution since it doesn't ...

MOSS 2007 and Sql Server Reporting Services from dev to prod

When building a MOSS site in a development environment and incorporating Sql Server Reporting Service (SSRS) web parts how would I then go about moving these to a production environment? Would I need to duplicate the work to configure SSRS and then move these any pages/web parts that are referencing the SSRS? Would appreciate anyones t...

SharePoint file provisioning not working.

Hi there. I have created a feature in Visual Studio, using WSPBuilder to build the .wsp file, which contains some aspx files that need to be copied to the _layouts folder. I created the 12 hive structure in my project, copied all the xml files (feature.xml for example) to the right subfolders, put the aspx files in the right place and b...

Getting properties from SharePoint field controls

I'm creating a SharePoint publishing master page and would very much like to be able to take properties from SharePoint field controls such as <SharePointWebControls:UrlField FieldName="FAQ-Video" runat="server" /> and reuse them in object tags and jQuery elements. Does anyone know how to do this? ...

Configuring MOSS and Reporting Services on a Domain Controller

I'm working on a pretty standard MOSS virtual development environment. I have MOSS, sql 2005 and the machine is also the Domain Controller. I'm now doing some work with Reporting Services (SSRS) and integrating it with MOSS. I therefore installed SP2 to give me the option in SSRS of SharePoint integrated mode. I also installed the SSRS...

"Personalize this Page" changes on Personal View not saving - sharepoint

Edited heavily - Original question below. I have a custom list (installed from a feature) that is basically a calendar. The default month, week, and day views take advantage of a custom web part that injects javascript into the page for the purpose of adding background colors. Users who wish to add a Personal View can do so, however t...

SharePoint OOTB Workflow Problem

Hi all, I'm getting this error message when trying to add an approval workflow. There has been an error while loading the form. A required resource could not be downloaded. To try to resume the download, refresh the page. Any ideas why? (Googling didn't find any solutions, was wondering what this community had in mind) ...

Sharepoint and multiple workflows

I am designing a workflow for an absence request at my company. The problem is that whenever I to test the workflow, I don't know if it is SD or MOSS, but it creates a new instance of the workflow. It looks like this: Workflow Name (click to change settings)-----------------Workflows in Progress Review Absence-------------------------...

SharePoint features: How can I use wildcard assembly versioning?

I think this is likely to be a generic .NET assembly loading question, but in my specific case, I want my SharePoint Features to point to an assembly whose versioning is associated with the correct SVN revision number. My assemblies are now versioned as mentioned in this article. I'd like to be able to just configure my SharePoint feat...

CAS Policy for Sharepoint Application Page

I have an application page that I am creating in SharePoint to host in the LAYOUTS directory. The web project reference an external Assembly that access the file system to get files from a external file share. My problem is that I want to deploy the assembly to the application BIN directory (not GAC) and use a CAS permission policy to a...

How do I open up and examine a Moss webpart?

I want to look into one of the out of the box MOSS 2007 webparts and examine the code. After that I want to replicate some of the functionality and add some of my own. Any techniques? ...

Changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader....

I'm getting the following exception while sending ( or receiving ) a byte array to a C# service. There was an error deserializing the object of type System.Byte[]. The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryR...

Does SharePoint 2007 use FrontPage Extensions?

An automated security scan was performed on my WSS 3.0 site and it came up with some warnings based on the apparent presence of FrontPage Extensions. Namely it found files like /_vti_pvt/service.cnf, /_vti_pvt/services.cnf, and /_vti_bin/_vti_aut/author.dll by appending those locations to the site's main URL over the web. These are appar...

Custom field type dropdownlist sharepoint

Hi Everybody, I have created my custom field type for listing available users in to Dropdownlist. My Field class inherit from SPFieldChoice and FieldControl class inherit from DropDownChoiceField. Now I have written code inside FieldControl class as, this.ddlInfoBox = new DropDownList(); SPSite site = SPContext.GetContext(this.Cont...

Problem in creating Timer Job

Hi, I have created a site collection inside a web application with user A as a site collection adminstrator. I have added a link in site feature page. On click of that link I am trying to create a timer job.Below is the code executed on click of the link //Allow unsafe updates. SPContext.Current.Web.AllowUnsafeUpdates = true; //Get cu...

SharePoint 2007 WebPart not accessible to any user unless a local user accesses it first.

Hi, We are facing an issue with a SharePoint webpart we have developed. After every app pool process recycle, thw webpart is not accessible to any users unless a local user accesses the webpart page first. We recycle our application pools daily and unless a local user hits the webparty page, it is unavailable for all other users. The e...

SharePoint API: 2003 vs 2007

I have coded a solution that uses the 2007 API to traverse the SharePoint object model. Now I need to support SP 2003 as well. What is the best way to do this? Is it possible / recommended to use the 2007 api to get access to a 2003 SharePoint Farm? If I use the 2007 api, do I have to use the deprecated classes to (for instance) refer...

Adding Tasks programmatically into the taskList in sharepoint

hi, I have Task List on URL, what I want , when the page loads, the Task list should be loaded with all the aggregated tasks of its sub sites. I want to do it in C# ...