Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5120

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

4 votes
3 answers
490 views

Manage some state inside a Sharepoint WebPart

Considering a simple example of a webpart that adds items to a list based on a simple button click: public partial class MyVisualWebPartUserControl : UserControl { private int cont = 0; prot …
JohnDoDo's user avatar
  • 1,169
6 votes
3 answers
217 views

Things to "get right" to succesfully develop Sharepoint solutions

I, myself, am beginner at SharePoint development. …
3 votes
1 answer
410 views

Structure of a WSP file

After you save a site as template you get a WSP file that you can then import in VS and tweak it as you want. I did this for a site today and had a lot of things in the WSP after I decompressed it, a …
JohnDoDo's user avatar
  • 1,169
0 votes
2 answers
92 views

Sharepoint backups - Development image

I'm looking into creating an image of a SP 2010 development environment. … I need to restore the environment if I mess something up during development; a rollback if you want. How can I do that? …
JohnDoDo's user avatar
  • 1,169
2 votes
Accepted

Use a supplemental .config file just for a web application

I eventually used a programmatic approach and created the necessary steps in code, but by having the modifications serialized/deserialized in/from a XML file similar to web.config.
JohnDoDo's user avatar
  • 1,169
1 vote
1 answer
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 …
JohnDoDo's user avatar
  • 1,169
1 vote
Accepted

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

Managed to figure it out! The list of values I was going after did not have an empty element inside, while the field I was setting the "Get choices from fields in this form" option had an empty value …
JohnDoDo's user avatar
  • 1,169
6 votes
2 answers
3k 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; …
JohnDoDo's user avatar
  • 1,169
6 votes
3 answers
993 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: …
JohnDoDo's user avatar
  • 1,169
1 vote
0 answers
152 views

How to manage hardcoded paths in custom InfoPath forms for different environments (dev, stag...

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 …
JohnDoDo's user avatar
  • 1,169
3 votes
1 answer
5k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements relevant on …
JohnDoDo's user avatar
  • 1,169