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

learn more… | top users | synonyms (3)

5
votes
3answers
11k views

How to use JavaScript and CSS in a web part?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to ...
2
votes
2answers
1k 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 ...
7
votes
3answers
5k 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 ...
3
votes
1answer
86 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 ...
2
votes
2answers
478 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
2answers
987 views

Custom Homepage

I am adding a custom SharePoint homepage using a feature. Everything is working fine, and the redirection is correct whenever i open the site, however the homepage does not load and i get the ...
2
votes
3answers
904 views

Feature with scope Web only on RootWeb

I have just a small Question: Can I tell a feature with scope "Web" only to be activated on the RootWeb in Feature.Template.xml? Something like RootWebOnly="TRUE" I have a listInstance (...
2
votes
1answer
1k views

Search Optimization on SPListItemCollection

I have an SPListItemCollection (Thread Discussion Collection) that consists of almost 20,000 items. Each SPListItem (Thread Discussion) on the SPListItemCollection contains a sub SPListItem(Thread ...
4
votes
1answer
2k views

Programmatically create MySites for Users with FBA

I am trying to create MySites for users programmatically but I am receiving the following error: My Site creation failure for user '' for site URL 'http://goaccel-app2:1000/sites/mysites/personal/'. ...
6
votes
2answers
2k views

Download file from a sharepoint site from code behind

I have an Image button in a custom 2010 webpart, on click of that I would like to download a file. Code Used : foreach (string filename in item.Attachments) { attachmentURL = SiteListURL + "...
2
votes
2answers
127 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 ...
1
vote
1answer
2k 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
246 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 ...
6
votes
2answers
2k 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
51 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
113 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
415 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
793 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
122 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?
6
votes
2answers
1k views

Do you have to dispose of the SPWeb in the EventReceiver when using properties.OpenWeb()?

Does properties.OpenWeb() create a new SPRequest object or does it refer to the existing SPWeb object already there in the properties object? Should we manually dispose of the SPWeb obtained in this ...
4
votes
2answers
750 views

Web Parts for both 2007 & 2010

I'm curious if anyone has seen any guidance/best practices on developing web parts that can work for both SP2007 & SP2010 with minimal conversion? They wouldn't take advantage of any new 2010 ...
2
votes
1answer
224 views

SharePoint Code Access Security-requirements to call Page.TemplateControl.ParseControl

What are the CAS policy requirements to call the method Page.TemplateControl.ParseControl? Specifically, in SharePoint I've tried to call the method in a Minimum-trust environment, but get this error ...
1
vote
1answer
1k views

Disabled “Filtered Parameter” drop-down in custom web part with connections

I'm writing a web part that needs to use connections for processing values relating to a business object called a "Program Entity". It is supposed to take in an ID provided by a connected web part, ...
1
vote
4answers
2k views

“Could not load file or assembly System.Windows.Controls” hosting Silverlight application

I'm working on a Silverlight 3 application. It works perfectly running within Visual Studio's ASP.NET Development Server. Now I need to make it run within SharePoint. I have the object tag hosted ...
2
votes
1answer
172 views

Disable buttons on rich text input field

Is it possible to disable some of the buttons on the rich text editor field on a text field? I have set the editor for the text column to accept rich html input, but want to disable/hide some of the ...
0
votes
2answers
97 views

SharePoint Approach for a system - Task Management [closed]

Hi I would like to get some process flow or logic for the following problem, I have a company which works in three states, lets say states A,B,C In the company I also have team of employees work for ...
2
votes
1answer
428 views

Remove the fRecurrence field from the built in Event

I've made a custom Event type and am trying to figure out how to remove the Recurrence field from the build in SharePoint Event. Here's my code, which doesn't seem to work :( <?xml version="1.0" ...
2
votes
2answers
1k views

How to make a web part configurable?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I want to develop a WebPart ...
1
vote
4answers
99 views

Will you use 2010 Foundation on a Client

Now that 2010 Foundation Server can run on a client I am curious how many people will primarily develop locally versus on a server (or VM). I like the idea of having the tools easily accessible, but ...
2
votes
4answers
214 views

How to protect your code from breaking when user renames a list?

When you access a list using web.Lists["Title"], you depend on list title being unchanged. What are the best practices for preventing such failures?
1
vote
3answers
803 views

Displaying videos in a Content Editor Web Part

I am looking for a MOSS 2007 client side solution that will allow me to surface video links from YouTube etc for the purpose of presenting the most recent training content for the audience. I am ...
0
votes
2answers
720 views

Sharepoint SPWeb rename - Exception SPException - The security validation for this page is invalid

When attempting an SPWeb rename I receive the following SPException: Exception SPException - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and ...
0
votes
2answers
367 views

How to create a web part to track page creation time

I am new to SharePoint Server 2007 Web Part, and I am using SharePoint Server 2007 on Windows Server 2008. I program using VSTS 2008 + C# + .Net 3.5. I want to create a simple web part which could ...
2
votes
1answer
2k views

What WCF Binding is required for HTTPS in SharePoint

I currently have the following WCF Binding. The web service is being called from a SharePoint Application Page using AJAX.Net. Anonymous Access is turned off from within Central Administration. <...
1
vote
3answers
480 views

SharePoint user control deployment issue

I am using SharePoint 2007 Enterprise with Windows Server 2008. I am using VSTS 2008 + C# + .Net 3.5. I am new to SharePoint user control development and deployment. I am learning from, http://www....
6
votes
3answers
1k views

How do I find out what's wrong with my sandboxed solution in SharePoint Online?

I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
0
votes
1answer
122 views

How do I read pagecolumns from the current page

I know that I have to use SPSite site = new SPSite("SPsite Path"); SPWeb web = site.OpenWeb(); SPList contacts = web.Lists["Listname"]; if I need to get content of a List, but how do I read data ...
0
votes
1answer
271 views

Document Library in code behind

I am trying to get the document library from my SharePoint 2010 site. Let's say, my Document library name is 'Proposals' and Site is 'Http://sok:1234' . I used the code like, SPDocumentLibrary ...
6
votes
3answers
4k views

Disposal of SPWebs retrieved from SPContext.Current.Site.AllWebs

As there was a minor disagreement on whether SPWebs retrieved from SPContext.Current.Site.AllWebs should be disposed, I thought it would be appropriate to post a new question and discuss it here. I ...
1
vote
0answers
96 views

How to display ActivityEvents based on a URL, and not on the current user?

For a community site, I want to displayed activities that happen on the current site. The requirement is to have activities displayed in several places: On the user's profile and other users' ...
3
votes
1answer
120 views

Has Microsoft discussed whether future versions of SharePoint will support MVC?

I haven't heard anything about whether they will be including this in the future or not. I did some Googling and found an interesting project on CodePlex but did not find anything official from ...
1
vote
0answers
51 views

Create ContentType for InfoPath forms

I have a form library in a site template. When I create a new site based on my template, I want to have the columns in the list like when I deploy my form from infopath. Can I make a content type and ...
0
votes
2answers
487 views

ThmxTheme Error

I wrote a ASP.NET Handler module for sharepoint 2010 web application. it is running .But I added this code, occured error Code: string tema = "/_catalogs/theme/Classic.thmx"; ThmxTheme tm = ThmxTheme....
1
vote
1answer
171 views

Creating an asp.net page that calls on a SharePoint 2010 Service Application

I am trying to create a simple web page with three text boxes. I then pass the three values to a client for a SharePoint service application. However, when it calls on the SharePoint service ...
1
vote
1answer
2k views

The HTTP request was forbidden with client authentication scheme 'Anonymous'

I am receiving the following error from my SharePoint 2010 service application: The HTTP request was forbidden with client authentication scheme 'Anonymous' This code is being thrown from the my ...
2
votes
1answer
297 views

SP2010 Delete a site through code

I'm using the following code to let users without full access rights on my site deleting it through a custom layouts page (delete site button): SPSecurity.RunWithElevatedPrivileges(delegate() { ...
6
votes
3answers
813 views

Use a supplemental .config file just for a web application

I'm trying to add a section into the web.config of a SharePoint 2010 application and I created a webconfig.myname.xml in the \14\CONFIG folder. I then ran the following command to apply the changes: ...
2
votes
1answer
178 views

Check if customAction exists

I customized my ribbon with customactions. These commands of the customactions call some cool Javascript functions from a file (ex. script.js). I include this file with: <CustomAction Id="...