Tagged Questions
0
votes
2answers
47 views
What version of Visual Studio 2012 needed for SP Dev
I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
1
vote
2answers
48 views
Custom list definitions throws an error on activating
Hi I try to create a custom list definition within visual studio to create based on the listdefinition my own listinstance.
The definition looks like this:
<?xml version="1.0" ...
4
votes
1answer
98 views
Is VS 2010 needed to build a SharePoint 2010 project in Powershell?
Can you build a SharePoint Project without Visual Studio 2010/2012 being installed on the machine you are trying build it on using PowerShell?
I have a PowerShell script the is working great. It ...
3
votes
4answers
286 views
Problem with Visual web part
Good day! I have an event handler that, when you add a document to the library redirects the user to a web form with the parameters of the document. In the web form, it displays the current user in ...
1
vote
1answer
58 views
“HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools” Entry Does Not Show Up in Registry
I am trying to make changes to the registry entry at
"HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools"
But the SharePointTools does not show up in my registry. I do have ...
0
votes
0answers
249 views
How Sharepoint pages life cycle works?
I built a HttpModule for sharepoint. But when I begin to debug the page request, I notice that the debugging has an strange cycle:
1 - context_PreRequestHandlerExecute()
2- page_PreInit()
3 - ...
1
vote
3answers
96 views
How can I debug sharepoint app attaching to IIS?
I built a HTTP Module, insert the DLL into the GAC, changed the webConfig
Now , if on visual studio , I Attach to process W3WP , Open the web page where the module must work, I notice that ...
0
votes
1answer
208 views
How to resgister a global.asax into a sharepoint Site?
I'm trying add a .asax file into a sharepoint site.
I've been following this tutorial: http://spboom.com/sharepoint-development/using-global-asax-with-sharepoint/
It's quite simple but I' m new on ...
0
votes
0answers
56 views
How can Solve problems while debugging sharepoint web application?
Everytime I try to run my sharepoint application in debug mode, I get the error bellow:
0
votes
2answers
91 views
Deployment failure from Visual Studio 2010
Deploying a solution from visual studio 2010 to sharepoint foundation. The first time i deploy i get an error:
Error 10 Error occurred in deployment step 'Retract Solution': Feature ...
3
votes
3answers
2k views
After retracting webpart solution webparts still showing up
I retract a webpart solution that was deployed via Visual Studio. Then when i edit a page for some reason the Custom category + the webparts are still being listed when i try to insert a webpart. ...
0
votes
1answer
355 views
unable to update the list item in nested if-else condition in Visual Studio State Machine Workflow
I am working on State Machine Workflow using Visual Studio 2010 Workflow.
I want to update the list item on item changed. But unable to update the item. I am updating the item in nested If-Else ...
0
votes
3answers
106 views
Developing from Windows 7 box [closed]
I have Visual Studio on my desktop (Windows 7 Enterprise). What is the bare minimum I need to install in order to make sure I can reference SharePoint objects?
Following is my justification.
...
1
vote
1answer
56 views
Web Part Resources e.g. Images and Scripts [duplicate]
What is the best practice for including resources such as Images / Stylesheets / Scripts in a custom visual web part (built with Visual Studio)?
0
votes
4answers
299 views
I'm trying to understand how Visual Studio, SharePoint Designer and Foundation work together
I'm working in a user area and am limited to Sharepoint development on the client side only. This means that all custom forms and their associated scripts will live in site libraries instead of on the ...
0
votes
0answers
447 views
Deploy solution using powershell
I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are:
WebPartProject: Create a custom webpart
CreateTemplate: Create 2 documents libraries (with ...
1
vote
1answer
126 views
How to add web application (project from Visual Basic 2010) to Sharepoint Foundation
I would like to ask, how I can add web application (this is Visual Basic project) to my site collection in Sharepoit Foundation? Can I do this without create web part? If no or yes please tell me how ...
1
vote
0answers
121 views
using calculated field in calculated field
I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1
Calcfield1, Calcfield2 uses field1, field2 and field3 for its values.
ComplexCalcField1 uses Calcfield1 and Calcfield2 for its ...
0
votes
1answer
369 views
property similar to SPQuery listitemcollectionposition for spsitedataquery
I am using SPSiteDataQuery to get all matched items from all lists in site collection.
Results set is really large, so I want to limit the results to 1000 or 10K, process these items and then iterate ...
2
votes
2answers
685 views
FileNotFoundException from a Visual Web Part using an external class library
I have a solution and two projects in it: VisualWebPart and ProjectsLibrary
VisualWebPart has a reference to ProjectsLibrary (tried to change Property for ProjectsLibrary Copy Local to false/true , ...
1
vote
1answer
1k views
query all list items in site collection, any way to optimise this code or make it better?
I am going through all the lists in site collection, where list contains content type MvContentType, and for all list items in this list (this list only contain this content type, so all items have ...
1
vote
2answers
307 views
Disable value in dropdown menu after being selected
I have created a library in which i am using the drop down column with some values.These Values will depend on the group to which the user belongs.
For Eg.
If Drop Values are A, B , C, D, E
and ...
0
votes
3answers
167 views
Minimum access required for Visual Studio 2010 on Windows Server 2008
Hi we are trying to set up a SharePoint development environment for multiple developers on Windows 2008 server, we do not want to give the developers admin rights to the servers, does anyone know the ...
1
vote
1answer
1k views
How do I retrieve a user's LogIn name through the Created By column of a specific item in a document library
Created By Field Returns the following:
1073741823;#System Account
I want the following without string manipulation (i.e. without using substring to remove all of the characters before ";#"):
...
0
votes
4answers
1k views
JQuery in a Visual WebPart won't load on the page with the webpart
Hey I have a bunch of JavaScript/Jquery code that works really well when I use a Content-Editor webpart, but does not execute when I add the same code to the VisualWebPart mark up.
I am referencing ...
1
vote
1answer
652 views
How do I Retrieve the choice values of a column in a Document Library
I am fairly new to SharePoint development and as you may all know that it is very basic for one to know how to access fields in a choice column...
My problem:
I want to access the values of the ...
2
votes
1answer
492 views
How do I set the Default Value of a TextBox ToolPart without using [DefaultValue(“Default Value”)]
Right now I have created a bunch of custom controls in the ToolPart panel and I want to set a default value for one of the text boxes. Obviously I want the value to be editable by the user.
I have ...

