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

learn more… | top users | synonyms

0
votes
0answers
48 views

Assign a same workflow task form to multiple users and collaborate their inputs

Sharepoint 2010 I need to assign a custom workflow task form to multiple users and collaborate each users input from the task form programmatically using visual studio. Any pointers on how this can ...
2
votes
2answers
135 views

I cannot publish (package) a sharepoint solution using Visual Studio 2012

I have received a sharepoint project which has got some visual webparts in it and I would like to create a wsp. I clicked on Publish button, but nothing happens. Nothing happens in the output window ...
1
vote
1answer
100 views

Custom Workflow Feature not available in Site Features or Site Collection Features

I have a Sequential Workflow created in Visual Studio. In VS I can right click and deploy the package without issue. On the TEST environment I use the command add-spsolution and then deploy it to my ...
2
votes
2answers
25 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
0
votes
2answers
114 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
3
votes
1answer
110 views

SharePoint Project does not deploy

I upgraded SP 2010 Solution created using VS 2010 to SP 2013 solution in VS 2012. The Solution has one SharePoint project which references another SharePoint project in the same solution. There are ...
3
votes
0answers
61 views

This projects needs to be migrated?

I have a sharepoint 2010 solution. i migrated it to sp 2013, all sharepoint 2010 projects have been migrated without any problems. Office projects (Excel and outlook addins) however have been acting ...
0
votes
1answer
26 views

SequentialWorkflowActivity cannot be opened in designer

I have a number of Sequential Workflows that I created. Given they all used the same base group of methods I created a new base SequentialWorkflowActivity for my Sequential Workflows to inherit from. ...
1
vote
1answer
135 views

Create infopath form using visual studio 2012 and bind it to list

Can we create infopath form with visual studio ? and can we bind the same with list ? please give me some links to do this task
0
votes
1answer
33 views

Content type form in infopath for Content type created in Visual studio

I have created content type in Visual Studio and I have to apply infopath form to that content type in infopath. How do i proceed further ?
1
vote
2answers
135 views

WritingCustomExceptions to EventViewer using SPDiagnosticsservice

I want to write my customexception to eventviewer , After doing some research I found that I can do that using SPDiagnosticsservice Class. I want to override SPDiagnosticsService and write my ...
3
votes
3answers
3k views

Retrieve list item using CSOM on SharePoint online isn't working

I've been stuck on this problem for couple days, I develop app model on SharePoint online using provider hosted model. From clientwebpart, i want to access sharepoint list item. I can access list ...
0
votes
1answer
97 views

Is there a better way to edit Elements.xml while creating a custom ribbon?

I am creating my own custom ribbon button using this article as reference. My code in the file Elements.xml goes something like this: <CommandUIHandler Command="NewRibbonButtonCommand" ...
0
votes
1answer
112 views

How to use versioning when using same .snk file for multiple SharePoint projects in the same solution?

I am trying to find the right way to set up my SharePoint solution with miltiple projects (in VS2012). In that, I am having difficulty understanding the concept of reusing the strong name key file. ...
3
votes
1answer
470 views

Unable to find Event Receiver template in Visual Studio 2012

This would probably be right under my nose but I am having a hard time finding it. I am trying to create an event receiver in Visual Studio 2012. From this video in YouTube I gather that in Visual ...
0
votes
1answer
295 views

Provision a 2013 list using a lookup with content in Visual Studio 2012

I have a list, List A, which contains a lookup column to List B. When I deploy these lists I pr epopulate the lookup list (List B) with some sample items. I also want to deploy List A with some ...
7
votes
4answers
7k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
1
vote
2answers
2k views

How to resolve “One or more field types are not installed properly” Error

I have an SP 2010 Visual Studio 2012/13 solution that creates Site Columns and a document library. The site columns are created correctly since I can see and verify them. The problem I have is with ...
1
vote
1answer
54 views

Visualstudio 2012 sharepoint workflow toolbox not visible

I want to create a designer custom action in SharePoint 2013. I use visualstudio 2012 but i can't view SharePoint toolbox . I want to create an activity with createtaskwithcontenttype . Thanks
1
vote
1answer
1k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
0
votes
2answers
550 views

SP 2013 VS Workflow error “MTW Client is invalid”

When deploying a Workflow enabled app from Visual Studio (2012/2013), receive the error "MTW Client is invalid". More of the same error in the ULS logs. SharePoint 2013 designer Workflows deploy ...
0
votes
1answer
266 views

Overriding Sharepoint 2013 Web Parts in VS 2012

I'd like to override Content Search Web Part (SharePoint 2013) and I found following articles on this subject Dev Help: SharePoint 2013 Content Search Web Part (CSWP) in Variation Sites SharePoint ...
1
vote
0answers
151 views

Missing “Deploy”-Button Visual Studio 2012

Yesterday I have installed Visual Studio 2012 Premium on my SharePoint 2013 Development Machine. I also installed the Office Developer Tools to get the SP2013 Project templates. Opening my SP 2010 ...
2
votes
2answers
594 views

Best way to rename a visual studio 2012 sharepoint solution names, project names, namespaces, assembly names

I have created a Visual Studio 2012 solution for SharePoint 2013. In this solution there are 19 projects. In this solution there is some name from some customer. Now I would like to clone this visual ...
0
votes
1answer
259 views

How to get rss feeds programmatically?

I want to get rss feeds from multiple sources and store into the list. Is there anyway to get rss feeds from specified urls and store them in to the list? Please provide reference links or code ...
0
votes
4answers
2k views

Create visual webpart for SharePoint Online

I want to create a visual webpart for SharePoint 2013 Online but I find that the requirement is to install the SharePoint on the local machine. Another thing, do SharePoint 2013 Foundation support ...
0
votes
2answers
214 views

Custom user profile property returns null value

I am accessing the user profile property from code but it returns null value as well as false in the boolean type property. My code is: if (web != null) { SPList list = ...
0
votes
1answer
185 views

How to assign taxonomy field to user profile property?

I want to assign a taxonomy field value to the user profile property which is fetched from ListItem. The taxonomy field is single selection valued. The user profile property name is: Dept. ...
0
votes
1answer
733 views

Users can see (and approve!) each other's tasks

Is there a quick and easy way to prevent users from seeing and approving each other's tasks? I do NOT want to create a task list per user and would like to avoid setting up item level permissions / ...
0
votes
1answer
72 views

How to deploy an application page and set it as introduction/startup page?

I have a Powershell script that creates a web app and a (root) site collection (Sharepoint 2010). In VS2012 I want to deploy an application page that will be a introduction/startup page. How can be ...
0
votes
0answers
38 views

Why I can't access to “these permissions” in my custom workflow activity?

This is my code definition. <RuleDesigner Sentence="Add %1 to Object %2(Output log to %3)"> <FieldBind Field="Permissions" Text="these permissions" Id="1" ...
1
vote
1answer
87 views

Workflow.xaml - Copy to SharePoint root

When I'm writing Assemblies, I can copy to GAC and avoid re-deploying them each time I want to make a code change. When I'm writing ASPX forms, I can copy them to SharePoint root, maybe give an IIS ...
1
vote
1answer
308 views

User profile picture in visual web part

I want to make user upload the profile picture in my web part, I searched over the internet how to accomplish this? I found the this post which describes how to get it. My code is: void ...
0
votes
2answers
691 views

Cannot open SharePoint 2010 Package in visual studio 2012

I tried to use Visual Studio 2012 to develop SharePoint 2010 solution on TFS 2012. I created the project on my Machine & added it to TFS, but when one of my team get latest version and check in ...
1
vote
0answers
35 views

Visual Studio generates 64 errors per custom form for a list

While creating a List Custom Form for Shareppoint 2013, Visual Studio 2012 generates 64 errors, (as visualized below) for every custom form added to the solution. The deployment just works fine as ...
0
votes
1answer
156 views

The “ExpressionTranslationBuildTask” task failed unexpectedly

I'm creating a Visual Studio sharepoint 2013 workflow, and I'm getting this error: The "ExpressionTranslationBuildTask" task failed unexpectedly. System.NullReferenceException: Object reference not ...
10
votes
3answers
2k views

Visual Studio 2012. Visual webpart's ascx.g.cs file empty after registering any control

I've discovered a problem when a Visual webpart's g.cs appears to be empty. I'm using Visual Studio 2012 Update 3 and a project for SharePoint 2010. The steps to reproduce the problem: in Visual ...
0
votes
1answer
623 views

Adding a custom control in visual web part

Can anyone please provide steps or a link for deploying a visual webpart with custom control in sharepoint 2013?
0
votes
1answer
1k views

Creating and deploying a visual webpart using VS 2012

I'm new to sharepoint. I managed to create a visual web part in VS 2012. But I don't know how to deploy it properly. I only added a button control to the webpart page. After that I used F5 to deploy ...
0
votes
1answer
1k views

Error occurred in deployment step 'Activate Features' while trying to deploy an event receiver?

I cant seem to figure out what the issue is while I try to deploy my event receiver targeted at a particular list on my site. All I am trying to do in the event receiver is to check (on ...
0
votes
1answer
75 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
1answer
100 views

How to get Last Modified Timestamp of a file from sharepoint?

I am creating a Web Application in ASP.NET wherein I need to find out Last Modified Timestamp of a file (the path of file is given). But, I could not figure out How to do It. I have written below ...
7
votes
0answers
253 views

Invoking an ActivityAction in a SharePoint workflow

In a Visual Studio, SharePoint 2013 workflow, the "IF" Activity provided by Microsoft can take a condition and two activities as parameters: I want to write a custom activity that can similarly ...
0
votes
1answer
49 views

Use site theme elements in emails sent by workflow

I am creating a SharePoint 2010 workflow in Visual Studio 2012. I would like to use colors and fonts from the site's theme to style the emails. Because the customers may change the site theme, I'd ...
1
vote
0answers
300 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 ...
0
votes
1answer
60 views

Next button is disabled while creating provided hosted app for sharepoint in visual studio

While creating a new SharePoint Provided hosted App in VS 2012, next button on 'Specify the app for SharePoint settings' page is disabled for me. Due to which I am not able to navigate to 'Configure ...
1
vote
0answers
118 views

How to send the Assignment Email with a link to the task in it SharePoint 2013 Visual Studio Workflow

I have developed a Visual Studio 2012 workflow for SharePoint 2013. I am trying to find a way to simply send a link to the actual Task in the Assignment email. I have created a variable and set the ...
0
votes
1answer
86 views

SharePoint 2010 Visual Web Part development @_parser.AddParsedSubObject LiteralControl WebPartPageUserException

I am using SharePoint 2010 Foundation on a vmware virtual machine. I am using Visual Studio 2012 update 3. I am working on a visual web part project. I have so far in this project only used asp.net ...
0
votes
0answers
138 views

Upload a Document from a task form in a SharePoint 2013 Visual Studio Workflow

I am trying to get a handle on this new SharePoint 2013 declarative workflow in Visual Studio. Maybe I am thinking to hard on this, but I am having trouble coming up with a solution to enable a user ...
0
votes
1answer
208 views

Best way to copy a site from one farm to another

I have to make a specific site with very easy requirements, one content type, one document library, and some columns are tied to managed metadata terms. I dont see the need to make everything with ...