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

learn more… | top users | synonyms (3)

2
votes
1answer
3k views

How to remove a permission to a SPPrincipal on a Item (programmatically)

I'm trying to work with privileges on elements of a list. I want the item to mantain the same privileges for all SPPrincipal I don't modify. This is the code public static void ...
1
vote
1answer
924 views

How to impersonate specific user in sharepoint foundation by code

I'm trying to impersonate another user by code.. I know in Sharepoint Enterprise there's a method which uses the UserProfileManager to impersonate... I wrote down this "trace code" without know if it ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
0
votes
1answer
197 views

accordian view for webparts

is there an out of the box feature / other that will allow me to create a view to give an "accordion" effect to hide and show webparts? example: section1 webpart 1 webpart 2 webpart 3 ...
2
votes
1answer
326 views

How to implement chat using XMPP in SharePoint?

I need to implement chat using the XMPP protocol in a SharePoint site. Can anyone provide sample code, or recommendations about how this can be done?
2
votes
0answers
421 views

SPSite.Usage.Storage And SPSite.StorageManagementInformation Are Returning Different Values

When every I use SPSite.Usage.Storage and I use SPSite.StorageManagementInformation with to retrieve all the documents for the Site Collection then I sum the sizes of all the documents then I get a ...
2
votes
2answers
202 views

Does installing sharepoint on local computer limit other .net development

we have sharepoint on a dev computer, but I was wandering if I install it on my local machine will sharepoint overtake iis? will there be any limitations when doing other web applications development? ...
2
votes
4answers
5k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" ...
2
votes
3answers
3k views

SP2010 Activate feature through code

I'm using the below code to activate the "SharePoint Server Publishing Infrastructure" feature for a site collection. My code runs fine when I'm logged in as a site collection administrator. The ...
1
vote
2answers
507 views

GetSubwebsForCurrentUser()

is there a way to pass a parameter to the GetSubwebsForCurrentUser() function? I'm needing to get the subwebs for specific users - not the current user. Any help would be appreciated. Thanks,
3
votes
1answer
120 views

Activating programmatically custom script on page load

I have small problem. The thing is I need to have a method on page load that will execute one script only if web.allProperties has one property, but I dont know how to call that script? So this is ...
2
votes
1answer
337 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
2
votes
1answer
104 views

Allowing the user to resize text - size is then set across all pages?

I'm wondering if there's a way to have a simple increase/decrease text option in Sharepoint, that doesn't purely rely on Javascript, ie if you set it on one page, any other page you visit will have ...
3
votes
2answers
2k views

Copy file to sharepoint

Below is my method which is meant to copy a file from a folder on my desktop to the sharepoint document library shared documents. Its giving me error on SaveChanges method call, error shows me this ...
0
votes
1answer
2k views

Data Form Web Part - List does not exist when using site collection root list as data source

I'm having a strange issue with DFWP when I try to display content from site collection root. Site/subsite structure of the site collection is like this: ROOT --> LEVEL 1 --> LEVEL 2 On my LEVEL 2 ...
9
votes
2answers
8k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
1
vote
3answers
593 views

How to delete a custom timer job?

Although we can delete a running timer job from Central administration Monitoring section, but is there anything that we need to implement in a custom timer job so that the job stops as soon as it is ...
1
vote
2answers
808 views

sharepoint developer Exam 70-573 [duplicate]

Possible Duplicate: List of 70-573 exam resources I'm trying to prepare for the sharepoint developer Exam 70-573.... I can't find any training books for this exam. Any help? thanks,
5
votes
1answer
2k views

Programmatically add quick launch link to a modal dialog box

I have implemented a feature that once activated adds a heading called Home, and a link underneath to a NewForm.aspx like such: // Add Home node var mainListsNode = new SPNavigationNode("Home", ...
5
votes
5answers
881 views

Customize a Delegate Control in SharePoint 2010

I created a simple project to Customize a Delegate Control in SharePoint 2010 such as in msdn article (http://msdn.microsoft.com/en-us/library/ms470880.aspx). Source code: Class: using System; using ...
2
votes
0answers
150 views

SP2010 Push custom edit, new, disp Form for a calendar list (event list)

Through SPDesigner you can create your own edit, new and dispForm pages and enable them as the default ones for your list. I was wondring if it's possible to push these files to existing lists in ...
2
votes
0answers
334 views

Using SharePoint for an appraisal/360 process

We are thinking of using SharePoint 2010 for an appraisal/360 process. The workflow is simple. HR Create appraisal for users User fills it in Manager fills it in User accepts appraisal Manager ...
4
votes
2answers
5k views

Can't access the user profiles in a console application

I want to make some manipulation with the user profiles from a console application. I'm trying to enumerate the profiles, with no success : var mysite = "http://my"; ...
1
vote
2answers
260 views

Add hyperlink to custom web part properties

I would like to add a hyperlink to a custom web part which will take the users to a web page on a new window with the configuration settings for the web part. If I try and add a text property as ...
4
votes
4answers
1k views

Tips for starting SharePoint development

I'm going to start developing SharePoint applications and I'm looking for some good introductory resources (articles, videos, books, dev tools, tips). I'm comfortable with C# and ASP.NET development, ...
3
votes
2answers
470 views

Regex Query Against FAST Search 2010

I'm looking for a way to do searches with FAST Search Server 2010 based on Regular Expressions. For instance, I'd like to be able to use: ^\d{3}-\d{2}-\d{4}$ And have it return any content ...
14
votes
2answers
2k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
5
votes
6answers
4k views

Using a development farm or standalone?

When doing development for SharePoint 2010, should we use a farm or a standalone setup? One difference is that the farm uses the full SQL Server while standalone employs a local SQL Express db. Our ...
2
votes
1answer
78 views

Claims Based Authenticaion in 2010: Change UserAttributes

I have a custom claims provider which adds some claims from an external system (eg. Email, Fullname, etc.). This works fine, but i want to display the value from the fullname-claim on the top-right ...
0
votes
1answer
160 views

Error on setMapping for managed property

I'm getting error when i try to add a crawled property to managed property "contentshidden" Anyone know why the problem can ben, when i add a mapping to empty mapping property it is ok, but when i ...
2
votes
2answers
258 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 ...
1
vote
3answers
675 views

Sharepoint site throws exception on clicking save button after uploading a file

I have deployed an event reciever with item added event on a document library in sharepoint site. In item added event I am calculating the number of pages for the uploaded document and updated a ...
2
votes
2answers
598 views

Sharepoint development without Visual Studio on server machine

Till now I was doing Sharepoint development with Sharepoint server and Visual Studio on same machine. Now there is a Sharepoint 2010 installed on my client machine with no Visual Studio installed. I ...
2
votes
1answer
70 views

How to tell if page is in Mobile View in C#

I have developed an application page within SharePoint 2010 and need to tweak the contents for the mobile view. I can determine if the page is a mobile page by using the Query String however i am ...
6
votes
3answers
3k views

WebPart where to store a connection string

I have a webpart that connects to an external DB. I need somewhere to store the connection string. It is possible for this data source to change but would always be the same for the site collection ...
5
votes
2answers
328 views

HTML in SPGroup.Description

I am trying to add a group (SPGroup) programmatically. Everything works fine except for one thing. I would like the group's description to include a link to it's site. Similiar to the look-and-feel in ...
2
votes
2answers
401 views

SharePoint list.asmx web service

I want to build a office outlook application. I want to display all documents with their folder and documents. I want to get all subfolder and their document file. In Sort get all document library ...
2
votes
1answer
667 views

SharePoint Designer Workflow Creating New Document Sets

Scenario: We have a document library with document sets configured with some default documents in them. When creating a new Document Set normally, it adds the default documents just fine. We have a ...
1
vote
3answers
2k views

SharePoint InputFormTextBox saving values to sharepoint list

I am using a input form text box here is the tag </asp:Label><SharePoint:InputFormTextBox runat="server" ID="respRichTextBox" ValidationGroup="CreateCase" Rows="10" RichText="true" ...
2
votes
2answers
122 views

Info on setting up TFS2010 and SharePoint 2010 for 10 Developers

I am looking for information on how I can easily setup an environment where I can have about 10 developers working and testing independent SharePoint 2010 projects and having all the source code in ...
0
votes
3answers
241 views

Sharepoint 2010 Install on VM - Is it possible to isolate it from rest of the corporate network while giving connectivity to some devs? [duplicate]

Possible Duplicate: SharePoint 2010 and Active Directory I have a corporate network. The system admin has created a VMware VM for us with Windows Server 2008 R2 on which to install ...
1
vote
1answer
936 views

Infopath 2010 “Get choices from fields in this form” combo box is read only. Why?

I created an Infopath custom form and I want to have a combo box that retrieves its data from other fields in the form (user fills a repeating group in View 1 and then in View 2 I want to display the ...
0
votes
3answers
186 views

Too Much Memory Usage for Windows form Application

I Made an application to download a folder from a given sharepoint site, but its consuming memory above 600,000K once i click on Connect button, anyone can give suggestion to improve my code ? I ...
5
votes
2answers
1k views

Do I need to reset SPWeb.AllowUnsafeUpdates after use?

Do I need to reset the SPWeb.AllowUnsafeUpdates property after use? Seems not, but all over the web there is code like: bool allowUnsafeOrig = web.AllowUnsafeUpdates; web.AllowUnsafeUpdates = true; ...
1
vote
1answer
48 views

Security Issue for a user group in SharePoint 2010

For a SharePoint group 'A', I made the security to Read only. Now my requirement is that, I have created a custom webpart, with one text box and a button, Where the users from 'A' group was supposed ...
1
vote
0answers
87 views

How to manage hardcoded paths in custom InfoPath forms for different environments (dev, staging, release)?

When you create custom InfoPath forms for your SharePoint components (lists, workflow tasks or initialization form etc) all web references point to InfoPath Designer. Create one from a blank form and ...
0
votes
2answers
1k views

Using LINQ on an external list

When I create a list in SharePoint and want to run LINQ agaisnt it I use SPMetal to auto generate the mapping. SPMetal.exe /web:http://mysite /code:C:\MyFile.cs This does not seem to generate the ...
4
votes
1answer
276 views

Previewing Non-Standard Images in Picture Library

I am trying to create a picture library that will allow users of the site to store picture documents as well as preview them. If a image that is, what I would call standard (.jpg, .gif etc.), is ...
4
votes
7answers
648 views

What are all supporting tools commonly used by SharePoint 2010 development?

CAML Builder SharePoint Designer 2010 CKS Development tool edition(server) SharePoint Manager 2010 These are the tool which is used to make SharePoint development simpler. Can someone tell is ...
1
vote
1answer
105 views

Input Rich HTML in a Sandboxed Visual Web Part

I'm trying to build a styled web part for adding list items to a list, and I cannot for the life of me find a good control for adding a Rich HTML editor. Has anyone come across this before?