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

learn more… | top users | synonyms (3)

0
votes
1answer
1k views

Event receiver for a custom List

I created a custom Event Receiver using WSP builder, and in elements.xml file i have given the ID of list which i find in elements.xml of List definition of particular list. I also activated the ...
1
vote
2answers
717 views

Add lookup field to list from a RootWeb

I have the site collection rootweb called Main Site. I have many subsites called according to the year, 2012, 2011, etc. In the rootweb, there is a list called Products. In the subsites there is a ...
0
votes
1answer
185 views

Timer on a SharePoint List

I came across a very interesting scenario I need a Timer for Item added Event receiver for a SharePoint List and this list is being added to hundred of Webs. Now each List needs a timer job, which ...
0
votes
1answer
357 views

Adding column to a SPList

Normally I create a New List if I want to add an additional column to a List that already exists in a web. Wondering what would be the best option, should I create a new list with additional column ...
1
vote
2answers
2k views

Error using SPRequest when the SPWeb is already disposed

Is this correct way of using the SPSite and SPWeb and the SPList. private SPList list; pulic void getList() { using (SPSite site = SPContext.Current.Web.Site.WebApplication.Sites[0]) { using ...
0
votes
1answer
337 views

Check if any user is currently logged in

I have a userID/userName, and I want to know if that user is currently loggedon to the SharePoint site. The SPUser object does not seem to have any of these properties. I looked at ...
1
vote
3answers
277 views

WCF service request limit

I have setup a WCf service in my project using this tutorial: http://msdn.microsoft.com/en-us/library/ff521581.aspx However, I'm POSTing lots of byte[] data to the service tocreate a file. I ...
0
votes
1answer
555 views

Claim auth from ADFS

I asked this question @StackOverflow[1] but maybe this is a better location for it: I try to connect to a SharePoint Online instance via a WPF-Application (C#). I have found this article[2] that ...
0
votes
1answer
295 views

Difference between SP 2013 Preview development environment and SP 2013 Server Preview

Just going through few projects provided by Microsoft for sharepoint 2013 developers I seen requirements for development tools, it says This sample requires the following: Visual ...
2
votes
1answer
2k views

Difference between Client Side API vs Server Side API

I am just going through this SharePoint 15 Training video and they are mentioning these terms again and again but am not sure with them though. MSDN Video talking about Sharepoint APIs I think the ...
3
votes
1answer
2k views

Web Part zone index not working

I am installing a web part on a few different pages. I have set my zone index to 0, yet they still wind up below the other web parts on the page. Here is my code: TasksWebPart ...
0
votes
1answer
609 views

get custom fields only from a sharepoint list

Can anyone tell me how can I get the custom fields from a sharepoint list? I don't want to get all the fields like hidden, just the custom ones or the ones in the default view. The end result will be ...
1
vote
1answer
638 views

Error when enumerating through site columns

I'm working on a Sharepoint 2010 site. I am trying to run this script from a website in order to create an xml containing info on my site columns. $sourceWeb = Get-SPWeb http://farmstuff:1284 ...
0
votes
2answers
497 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 ...
3
votes
1answer
231 views

SPListItemVersionCollection - iteration performance

This question is related to my issue described here: SharePoint 2010 Performance troubleshooting On SP 2010: Does anyone knows if there is some performance limitations while using ...
0
votes
2answers
1k views

Datasheetview copy managedmetadata field

We have a list with 2 metadatafields, however in this list the user wants to use datasheetview to copy many rows, the problem is when you try top copy it says managed metadatafields are readonly, is ...
0
votes
3answers
284 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
2answers
683 views

SPContext.Current is sometimes null in code behind of InfoPath

On occasion I find that SPContext.Current returns null in the code behind of my InfoPath forms. This is occuring while I have the form open in a SharePoint 2010 site collection. I can't figure why ...
0
votes
2answers
41 views

Sending file from SP2010 to WSS using Work Flow

I would like to send a file from one document library in SP 2010 to another document library in WSS 3.0. I was thinking web services would be the best way to do this. Can anyone point me to the right ...
1
vote
1answer
103 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 ...
3
votes
2answers
808 views

Attach ListItem to TaskItem

I've created a custom approval worfkflow for an listitem. Now I need to see the values of the item in the taskitem. So I think one way would be to attach the ListItem to the TaskItem. Does anybody ...
1
vote
1answer
470 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 ...
0
votes
3answers
1k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
0
votes
1answer
191 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 ...
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. ...
2
votes
3answers
6k 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
387 views

importing a site to a new site collection error

I tried using STSADM to export / import a site definition, it exported properly, but when i tried to import it, it gave me fatal error that couldn't find a webtemplate #id** with LCID 1033, both ...
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 ...
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 ...
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
271 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
473 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 ...
3
votes
1answer
507 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
633 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
269 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 ...
0
votes
1answer
351 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 ...
6
votes
3answers
823 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 ...
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 ...
0
votes
3answers
1k views

is it possible to get file properties

I'm trying to crawl over site documents and find their properties. While I was able to do the first part, using something like ClientContext clientContext = new ClientContext("http:xxx"); ...
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 ...
3
votes
2answers
510 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 ...
4
votes
2answers
3k views

SPFolder vs SPListItem

I've trying to build a tree view which will show a Sites Lists and folders. This is an external application so I have to communicate with WSS3 through web services. Site |-List | |-Folder | ...
1
vote
0answers
78 views

What are the must have tools when working with SharePoint? [duplicate]

Possible Duplicate: List of SharePoint 2007 / WSS 3.0 development tools When developing or administering SharePoint, what are the must have tools? This question is intended to reference ...
2
votes
0answers
699 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" ...
0
votes
2answers
104 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 ...
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 ...
0
votes
1answer
1k 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: ...
10
votes
1answer
2k views

Manage trust/add certificate

I try to add a certificate under "central administration>security>manage trust" but I always get the following error: The Root Certificate that was just selected is invalid. This may be ...
4
votes
2answers
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
451 views

Hide a Site Column in NewForm and EditView

I have created a custom site column. I have added this to my custom content type that inherits from the document content type. I wish to hide a field on the edit and new forms. I have the following ...