Visual Studio is an integrated development environment (IDE) from Microsoft.

learn more… | top users | synonyms (1)

0
votes
1answer
191 views

Visual Studio WebPart to get the item being edited to replace List Edit Form

I had created a web part in Visual Studio 2010 for Sharepoint 2010. I added all the fields, implemented cascading dropdowns, custom panel and bind the data using Sharepoint SPLists var ...
3
votes
3answers
214 views

Should this be a App or Farm Solution

I am new to SP2013 development. I have been asked to create the following for a client timesheet system: 8 custom lists (some of these link to each other) each list has 3 or 4 different views 2 of ...
0
votes
3answers
3k views

Visual Web Part control for select user/group?

Does somebody know exist a control for a visualwebpart that allows to select an user/control? I am creating a form using a visual web part and i want to allow to select an user. I am searching for ...
0
votes
0answers
17 views

How To Automate SharePoint Custom Workflow Testing

I have a custom visual studio 2010 workflow that has over 30 separate phases in it. It is very time consuming to test. For example, if I make a change to the 18 phase of the workflow, for example, ...
0
votes
1answer
125 views

Postbuild event with PowerShell 3 script does not works

In a SharePoint 2010 project, using VS 2012, I set up a post build event: "%WINDIR%\SysNative\WindowsPowerShell\v1.0\powershell.exe" -version 2 -command "& {Add-PSSnapin ...
0
votes
0answers
32 views

Custom Action works fine on default view but not other?

I have a list. Over in Visual Studio 2010, I have a customized replacement for the "Delete Item" button in the Ribbon, my customized version fires off a workflow, and some other stuff. In order to get ...
8
votes
3answers
8k views

Feature with id already exists - force option

I'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio: Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been ...
0
votes
1answer
65 views

wsp activation does nothing

I have created a site template, downloaded and imported my WSP into Visual Studio 2012, selected the needed lists and dependent columns. When I deploy to a new site collection from Visual Studio ...
0
votes
3answers
751 views

SharePoint 2010 Deployment will not update Master pages because SPFile.CustomizedPageStatus is 'None'

We have the following scenario and are hoping someone can help: Original 2007 Publishing Site content database upgraded to 2010 Page templates in use have never been Ghosted because they were ...
0
votes
1answer
143 views

Create user security groups in Site Definition using visual studio

I am creating a site definition by code and I have a requirement to create the security groups in the site definition. How can I create the user security groups in the site definition using the ...
5
votes
4answers
3k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
1
vote
3answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
2
votes
2answers
2k views

Add custom NewForm.aspx with code behind to existing list

I have an existing sharepoint list generated by the sharepoint UI. I want to add a custom NewForm to this list that uses its own code behind, because I need to do a lot of stuff in the logic. As far ...
1
vote
1answer
416 views

How to make taxonomy picker required when used in visual web part?

I have created a visual web part in which user has to specify a field's value from taxonomy picker control. I want to make that value mandatory. The control is placed successfully but when I use the ...
2
votes
2answers
902 views

Getting a file not found error when I try to check in file using web services?

I am using the following code to create a file and then check it in: //Some other code above. The following line works fine. createdItem = ceoList.UpdateListItems("Pages", newItem); //But this line ...
0
votes
1answer
69 views

How do I get a current content from URL field (or title field) in a workflow programmatically and convert to string?

I get a wrong value from field. private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e) { SSPFieldUrlValue fieldValue = new ...
0
votes
2answers
186 views

trouble when updating view programmatically

I got the following event code wich is called when clicking a button: void addSubject_Click(object sender, EventArgs e) { SPWeb thisWeb = SPContext.Current.Web; thisWeb.AllowUnsafeUpdates = true; ...
1
vote
2answers
61 views

Best practice for taking SharePoint data and putting it into an SQL database?

I need to do some reporting across site collections. In order to do this I intend on writing a service layer that crawls SharePoint and puts information about document libraries and files into an SQL ...
0
votes
0answers
99 views

Can BizTalk be used to transfer list item data from one site to another?

We are building a new environment with three site collections (SharePoint 2013) (enforced by the customer's IT) and they want us to "sync" some data between those sites with the use of BizTalk (2013). ...
0
votes
1answer
30 views

Single Wsp From Multiple Wsp Sharepoint 2007

I have Sharepoint 2007 three Project. Each one have WSP. Now I have to create single WSP from all of three WSP. How to create One WSP from 3 different WSP in sharepoint 2007 using visual studio 2008. ...
0
votes
0answers
51 views

updating Listitem with attachment from a Doclibrary

I am trying to update an existing list item with a new attachment from a doclibrary. I wrote the following code - although i didnot see any error ,i am not able to see the attachment when i try to ...
2
votes
4answers
650 views

Using VS 2010 to develop for SharePoint 2007

I would like to know how I can use VS 2010 to write custom WebParts for SharePoint 2007? VS 2010 does not give you any project templates for SharePoint 2007. Has anyone used VS 2010 for SharePoint ...
0
votes
0answers
219 views

Exception has been thrown by the target of an invocation while adding web part

I am adding an XsltListViewWebPart from code behind and I am getting the above mentioned error. My code is: static void Main(string[] args) { SPSite site = new ...
0
votes
2answers
212 views

SharePoint Source control plugin for VS?

Yes, it might sound like a strange thing to ask for. We're a team of 3-4 person working on a sln that is only developed using the Client Object Model. So we rather have no deployment, just a bunch of ...
0
votes
2answers
4k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
1answer
43 views

I can't find the markup for webpart properties in visual studio

I've created a custom web part editor but I don't know where to look if I want to find the markup for all the properties of my webpart inside visual studio. I mean I can create new controls on ...
1
vote
2answers
929 views

Upload photo to a custom list using visual webpart in sharepoint 2010

I have a list, ListPersonalDetails, for storing personal details of students. It has fields like firstName, lastname, address etc. It also contains a field to store the photo which is of type image. I ...
1
vote
1answer
757 views

Submit selected items of ListView in Request (used in Webpart)

I develop a WebPart using VS2010 for a SharePoint page. My problem: I have to submit the selected items of the ListView to the WebPart code behind. The best solution would be to do it via the Request ...
1
vote
1answer
762 views

How to solve "Type 'System.Web.UI.UpdatePanel' is not defined?

I'm using an update panel on a form to stop the page jumping and flickering when drop down lists etc are selected, I have enclosed the table which holds this inside of an update panel and a content ...
1
vote
2answers
545 views

Custom Workflow in Visual Studio e-mail issue “The E-mail message cannot be sent”

I have a workflow that I have created in Visual Studio 2010 for publishing to my SharePoint 2010 site. It's for a list I created and the workflow itself is pretty simple. A while loop that contains ...
4
votes
0answers
1k views

Importing a SharePoint 2013 workflow in Visual Studio

I'm creating a simple workflow in Visual Studio: I can deploy it, and it works. I then try to open it with SharePoint designer: However, the steps/activities/stages are missing. How come I'm not ...
0
votes
1answer
263 views

How to add CCQWP programmatically in SharePoint 2010?

I need to add the Content Query Web Part programmatically in SharePoint 2010. I exactly don't know how to do that. I searched over the internet but not find the exact post anywhere. I got this post. ...
0
votes
3answers
300 views

Error occurs while deploying cutom timer job SP 2010

I am creating timer job in which the list item is added every 5 minutes. My class file which inherits SPJobDefinition is : public class MyTimerJob : SPJobDefinition { public MyTimerJob() : ...
0
votes
0answers
99 views

An object reference is required for the non-static field, method, or property 'System.Web.UI.Control.Controls.get'

I have created a farm solution inside Visual studio 2012, and i added the following code inside my user control :- namespace CustomSuiteLinksDelegate.ControlTemplates.CustomSuiteLinksDelegate { ...
0
votes
0answers
88 views

CreateTaskWithContentType Specialpermissions are set wrong

Okay, I'm using a statemachine workflow, and this type of task is used to reassign an item to a user, this can be done as many times as needed. So in the end, after the onTaskChanged, the workflow may ...
0
votes
0answers
337 views

Custom Note Board or News Feed Web Part in SharePoint 2013

I have been Searching a lot on this particular topic but not able to find anything relevant. Can We Create a custom Note Board(Using C#) just like news Feed which can understand #Tags and "@" Just ...
1
vote
1answer
563 views

SharePoint app get path of selected document

In a SharePoint app i have a custom action in a document library that navigates to an .aspx page. How do I get the full path of a selected document in that .aspx page? <CommandUIHandlers> ...
1
vote
0answers
237 views

Create list/app on SharePoint 2013 Online using Visual Studio 2013 [closed]

I'm working on sharePoint 2013 Online. I try to create list using Visual Studio 2013. Only way that I have found is to create an app. But how I can build app without this address: and how to display ...
3
votes
1answer
323 views

Getting a “Content types that are available to this Document Set have been added or removed”

I am creating document sets through workflows. Edit: I just tested and I'm getting this message for manually created documents sets as well. Every new document set is showing the message: Content ...
2
votes
1answer
263 views

Same custom column name in 2 different solutions, 2 different ID guids, yet I get a “Duplicate field 'x' was found” error

So I have two completely different solutions, I'll call them solutionA.wsp and solutionB.wsp and they are being deployed to the same site Both of them contain a site column definition for a column ...
2
votes
2answers
224 views

How to debug sharepoint webservice?

I've followed Walkthrough: Creating a Custom ASP.NET Web Service and everything works fine. I just want to know how to enable debugging for this web service over network. Could you help me?
0
votes
0answers
36 views

Cannot modify page layouts in SharePoint designer

We have a SharePoint solution developed by a vendor that does not allow me to make open and save a page layout with SharePoint Designer with out the thing blowing up. What would cause this type of ...
1
vote
2answers
151 views

Access SharePoint 2010 List remotely from a WPF Client using Lists Web Service

I recently developed a WPF client application from my local machine to access a SharePoint 2010 List from a remote SharePoint Server. I thought that I should use custom NetworkCredentials object to ...
0
votes
0answers
122 views

GetListItems method from SharePoint Lists Web Service fails with a Soap Server Exception

I'm developing a MS Office 2010 Excel AddIn from a client machine which doesn't have SharePoint installed in it. I imported a Lists web service reference from a remote SharePoint server. I developed a ...
0
votes
1answer
81 views

Customize view of document library

I want to order the view of the document library in the descending order it was created. My code for doing such is: static void Main(string[] args) { string webApp = "http://bipc11:1234/sites/"; ...
0
votes
1answer
206 views

Using custom SPRoleType

Environment: SP2010 Enterprise, VS2012, c# Server-Side, full control of environment I'm trying to assign unique permissions to an SPItem (a folder in a document library) through a console app on the ...
1
vote
0answers
98 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
0
votes
0answers
25 views

Feature is not deploying

I have created a new BDCS model in Visual Studio. VS created a new feature for this item. Several times this feature worked fine.. But it didn`t deployed twice. First time I deleted feature and bdcs ...
2
votes
1answer
144 views

Hiding Fields in Forms in List Instances Based on List Definitions

I have a list definition that I've created in XML, and multiple list instances based on that definition. On the base list definition I am hiding certain fields from the new item form in the list ...
2
votes
2answers
313 views

How do i send user back to edit item dialog when event receiver comes back with an error

I am creeting an event reciever that ensure that my list has unique items based on two columns. If I find a duplicate I wish to do one of the following: display a dialog which states a duplicate has ...