The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

7
votes
3answers
1k views

Moving a site to a different site collection

I am looking for a C# script that will move a site with all permissions and content to another site collection. Google isn't helping me or maybe i dont know what exactly to look for. e.g. I have a ...
0
votes
2answers
462 views

determine if the `Metadata Navigation and Filtering` feature is activated on a site collection

Is there a way to determine if the Metadata Navigation and Filtering feature is activated on a site collection? I've looped through the farm features, site features and web features but I can only ...
0
votes
3answers
260 views

How to extentd ListProperty control by custom properties and methods

My question is regarding a custom control which I created. This custom control derives from a ListProperty control. public class CustomListProperty: ListProperty Normally to call ListProperty on ...
1
vote
1answer
100 views

How to declare and use extended control in master page

Regarding my question, I have an OOTB control called ProjectProperty, which i can call in sharepoint like that: <SharePoint:ProjectProperty Property="Title" runat="server" /> I want to extend ...
1
vote
1answer
428 views

Error with Asp Dropdown List in SharePoint 2010

To start with, I have a template setup that came from Microsoft for Timecard Management. This template basically tracks the project someone is working on and the specific task. On one page, it is ...
1
vote
3answers
2k views

Redirect from ItemAdded event

I am using an ItemAdded event handler for doing some validation. If my validation fail is it possible to redirect the user to another page. Ideally it would be good to show the page in a dialog box. ...
1
vote
3answers
5k views

Programatically, how do I change the default document content type of a Document Library in SP2007?

I have 40 document library lists and I have to change the default document content type for these document libraries. In UI, this is possible by On the document library, go to Settings > Document ...
0
votes
1answer
181 views

Using an event receiver to validate a page

I need to evaluate certain properties of a page whenever it's being saved/published as part of a custom validation I need to implement. I notice properties has both Cancel and ErrorMessage properties ...
3
votes
2answers
478 views

Content Deployment and Migration API not importing no error thrown

The following http://blogs.technet.com/b/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-4.aspx provides the follwoinf code to import and ...
6
votes
5answers
1k views

Pros and cons of code vs. no code in SharePoint development?

Here's my situation: I work in a user area and have been tasked with creating usable SharePoint sites for different areas. Some are doc management, some are collaborative work spaces, some are task ...
0
votes
1answer
5k views

An example of databinding the repeater control?

I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
2
votes
2answers
1k views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
0
votes
1answer
257 views

Ajax or jquery enabled Tab Zone Webpart with SourceCode

I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again. We are ...
0
votes
1answer
414 views

Problem tying textfield to a content type field

I have a SharePointWebControls:TextField control on the page. It's tied to a field that has been defined as normal in the xml (I've gone through this with a fine tooth comb so I'm 99.999% sure the ...
0
votes
1answer
981 views

How to find invalid character in SharePoint item value

I try to create a dataset with Reporting Services from a SharePoint list (inside the root web). When I want to build the query for the dataset I get the following error: ...
3
votes
1answer
444 views

Share Point Timer Job Not Executing Code In Overriden Excecute Method Of SPJobDefinition

My goal is obviously to exceute some code periodically through SharePoint and I cant get it to work correctly. I started off by creating an empty sharepoint 2010 project(farm solution). Then, I added ...
0
votes
2answers
540 views

Add a column to an existing site from a site column

I have a feature that will add 2 columns to site columns. However I need to add them to the list. Because its an existing development and the didnt start from scratch using feature versioning, I ...
0
votes
1answer
334 views

How to get Site Map of ASP.NET page from where I am navigated to current page

I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it. For example: I was here A > B > C > D > E (E has a link to Z) now I am here A ...
0
votes
1answer
262 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 ...
2
votes
3answers
3k views

Updates are currently disallowed on GET requests. To allow updates on a GET, set the 'AllowUnsafeUpdates' property on SPWeb

I want to update the user profile details through the code however it is throwing the below exception "Updates are currently disallowed on GET requests. To allow updates on a GET, set the ...
6
votes
3answers
799 views

sharepoint caml is fast - how?

We all know that Caml is faster than using linq, since linq internally gets translated to caml. But can anyone explain how caml is best to do sharepoint queries or how it is fast or what makes it ...
2
votes
2answers
275 views

Get ContentTypeOrder of a specific folder using CAML and/or SharePoint web services

I am trying to get the ContentTypeOrder of a specific folder using SharePoint web services and caml queries. I am using the GetListItems() method of the Lists.asmx web service. The resulting xml ...
0
votes
2answers
90 views

Steps to deploy a Site Definition having a custom Master page

we have custom site definition with a custom master page, I copied it from Control Templates, made changes to "ONET.XML" and master page they are using. I also renamed site definition folder name and ...
0
votes
1answer
60 views

I have a site Template , I want to create another site template based on this template but using different Master Page

I have a Site Template A .wsp file, I want to create another Site Template B based on Site Template A but I want it have a different Master Page. I know how to do it in a site definition but I dont ...
0
votes
1answer
64 views

I want to give a user with minimum permissions the ability to use a content editor

Just one particular content editor. So the user's permissions will still apply (i.e. they are not an editor so typically cannot edit) but will still have access to a content editor's rich editing ...
2
votes
0answers
598 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
1
vote
1answer
120 views

how to find out parent web address from where we navigated in a userControl

I have a Web 1 and Web 2, I also have a link of Web 2 in Web 1 using a link button in a SharePoint Site. Now If I click on Link button situated on Web 1 it takes me to Web 2, I Have a User Control on ...
1
vote
1answer
124 views

How to push a specific SPListItem through a workflow with code?

I would like to push a specific SPListItem to the final step in a State workflow, skipping all the intermediate steps (if a certain checkbox is checked). Currently, I have an event receiver hooked ...
3
votes
1answer
3k views

UserMulti Field not allowing multiple inputs

I am trying to add a muliiple user site column using the following: <Field ID="{FC2612C2-1C60-45C1-949A-A49BECD8DB02}" Name="test" DisplayName="test" Group="test" Type="UserMulti" ...
0
votes
1answer
376 views

Creating Custom Site Navigation for SharePoint 2007

I want to create Custom Site Navigation "Breadcrumb navigation" which will show where a user came from, ATM I am using default Navigation that shows where this specific web is located in the site ...
2
votes
1answer
1k views

Updating a SPFieldMultiLineText field

I have an SPListItem. I have a field on the item of type SPFieldMultiLineText. How can update the value of that field?
0
votes
2answers
317 views

Registering scripts with HttpModule

I'm trying to add a javascript link to my Sharepoint page via a HttpModule, using the 'OnPreRequestHandlerExecute' event. However nothing is happening and the script link is not added but i'm unsure ...
1
vote
0answers
44 views

How would we know, what kind of breadcrumb we are using in our portal

I am bit confused with Navigation in SharePoint, I looked at web.config and then site map, which is enabled and have several tags of " If we have a default NavigationProvider and a Custom ...
3
votes
1answer
176 views

Breadcrumbs Navigation Requirement Changed

Scenario I have 20's of site in a single site collection we can say "portal A", Now I have list of site collections, let me explain it using a tree Now we are creating breadcrumb navigation using ...
0
votes
2answers
3k views

How is Infopath 2010 “Sharepoint List Form” different from “Web Browser Form” and other form types?

If to create a new Sharepoint list, browse to it and click on ribbon a violet button with Infopath logo "Customize Form", one can edit fRom Infopath Designer a fOrm used for updating/editing and ...
0
votes
1answer
439 views

Creating a Windows Gadget that gets populated from a Sharepoint List

I am trying to create a Windows Gadget for a Intranet site with hundred of sites & different groups with different permissions. The intranet site is secured with SSL/https, I looked at google ...
0
votes
1answer
174 views

Sharepoint 2007 Windows Gadget [closed]

I am trying to develop a Gadget for Sharepoint 2007, which will authenticate a user and then fetch him a sharepoint list from a specific URL, For the last 4 days I have been working on it and came ...
0
votes
1answer
180 views

Getting Sharepoint Users and comparing them with SPList field

I have a Custom SPList that has a field "Assigned To", now I can add as many items as I want, and they can have same title and same User they are assigned to, but what I want is a script so that I ...
1
vote
1answer
143 views

Deleting a Custom List Item using a custom field Name

Normally we delete a List item using following code, using (SPSite site = new SPSite("http:web1/default.aspx")) { using (SPWeb web = site.OpenWeb()) { ...
0
votes
2answers
376 views

Get Document from Sharepoint 2007 document library to sharepoint 2010 document library

I have a requiremement in my project that i need to pull the document in Sharepoint 2007 document library and need to add it in Sharepoint 2010 document library. I have already developed that puuling ...
2
votes
2answers
526 views

Implementing Sharepoint Without the Ribbon

Today when I walked into the office I was greeted with a request to position the ribbon at the top of the page in our Sharepoint Intranet branding in such a way that it:- A. Does not obscure the ...
0
votes
1answer
410 views

backing up sharepoint 2007 lists

I want to backup my SharePoint 2007 Lists. Now I am not sure, if there is any possibility of doing it in C# code or If I will have to perform few actions like following some steps and make it do using ...
4
votes
4answers
3k views

Is SharePoint 2010 Server mandatory on Developers workstation?

I have been a Developer during the Classic VB/ASP days. I remember that we used have Client Tools (Visual Studio, SQL Enterprise Manager) on Developers Desktop and there used to be seperate high-end ...
1
vote
2answers
641 views

What's the sense in forcing to digitally sign the Infopath 2010 forms?

Whenever I create an Infopath Filler Form in Infopath Designer 2010 and attach C# code there, for example, to show a messagebox on a button click, I am getting: InfoPath cannot open the selected ...
3
votes
4answers
720 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
2
votes
3answers
653 views

Code Behind in Web Part Page that can interact with controls?

Classic SharePoint quandry, but so far the resources I've looked at haven't helped. On one hand, application pages work perfectly, but having them live in the 14 hive isn't ideal for a number of ...
1
vote
1answer
570 views

Does Anyone Any freeware/open source PDF converter we can use with sharepoint 2007

We currently using Active PDF software in our farm, which converts documents into pdf and merge them using our K2 back end coding, however I am looking for something easier, well doesn't matter even ...
1
vote
1answer
460 views

Start workflow only if some columns change

Does anyone have an idea how to stop custom approval workflow from running when a list item's ModerationInformation.Status is changed? I have a custom approval workflow that I wrote using Visual ...
2
votes
1answer
167 views

Server side equivalent of this Client Object Model code?

I have the following javascript: SP.ListOperation.Selection.getSelectedItems(); And I'm wondering if there is a Server Side Object Model equivalent to this that I could use in Page Load? The ...
1
vote
1answer
141 views

Missing XML namespace in results from List Service?

Related: http://stackoverflow.com/questions/11235139/how-to-get-this-attribute-using-linq-to-xml I am pulling the following data from the SharePoint list service: <Result ID="1,New" ...