4
votes
1answer
103 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
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. ...
3
votes
4answers
292 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 ...
2
votes
2answers
692 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 , ...
2
votes
1answer
498 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 ...
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 ";#"): ...
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
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)?
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
1answer
59 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 ...
1
vote
3answers
103 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 ...
1
vote
2answers
54 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" ...
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 ...
1
vote
2answers
315 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 ...
1
vote
1answer
669 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 ...

1 2
15 30 50 per page