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

learn more… | top users | synonyms

5
votes
1answer
1k 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 ...
2
votes
1answer
69 views

How to make a print button in infopath form?

In infoPath form I have a button which duty is to print the current document, I have been trying this one thisXdocument.PrintOut(); but the following error occurs "The name "thisXdocument" does not ...
2
votes
1answer
363 views

Unit Testing Of SharePoint Custom Code with Emulator

I am trying to test my Sharepoint custom code, using Microsoft.SharePoint.Emulator with VS2012 Premium ( because I have MSDN Premium subscription) I know its officially comes with VS Ultimate ...
2
votes
1answer
466 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 ...
1
vote
1answer
18 views

ObjectDataSource - schema seems cached - unable to refresh

Within a Visual Studio 2012 Visual Web Part, I've created a simple FormView referencing an ObjectDataSource to autogenerate an editable form. Creating this the first time, there was no issue. ...
1
vote
1answer
380 views

how to install “Microsoft Office Developer Tools for Visual Studio 2012” without “Web Platform Installer”?

I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" ...
1
vote
1answer
52 views

Cancel a save of a list item, but still run the workflow

Is it possible to cancel a save of a list item but still run the workflow. How would I go about doing this? Example: I save an item in a list. It runs the workflow, but the save item does not appear ...
1
vote
1answer
458 views

Update current list item c#

When using a custom workflow activity with elevated privileges to create an item in a list. It creates two instead of one. What I am doing is that when a user create an item in the list . It displays ...
1
vote
1answer
234 views

SharePoint 2010 Farm Solution Deployment Error Using Non-admin Accounts

I am trying to deploy a farm solution using Visual Studio 2012 on SharePoint 2010. I receive the following error when I try to build or deploy using any admin group accounts other than the Farm Admin ...
1
vote
1answer
61 views

Deploy VS solution (List) to all users' “My Site”

I wrote a custom document library that we use to manage our Proof of Activities at work. I used VS2012 for development and our portal is based on SP2013. Is there any way besides PowerShell to ...
1
vote
1answer
426 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
3
votes
0answers
611 views

The workflow template has specified no FormURN for this page Error when Associating Out of the box SharePoint 2010 publihsing approval workflow

Hello i have associated a imported a out of the box SharePoint 2010 Publishing Approval Workflow from Sharepoint Designer 2013 to Visual studio 2012 with the import Sharepoint 2010 workflow project in ...
2
votes
0answers
170 views

Change default publish location in Visual Studio

Whenever I want to publish my SharePoint solution, the Target Location is selected as "C:\Users\Administrator\Documents". Is there a way to change the default value for this option?
2
votes
0answers
82 views

VS2012 won't deploy my SharePoint 2013 Workflow

Well, I have got the same problem as this guy with the equally titled thread. I want to add a SharePoint 2013 Workflow to my App Web. It is a list Workflow. Workflow Manager and Service Bus are ...
2
votes
0answers
39 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 ...
2
votes
0answers
62 views

visual studio workflow

So I tried to follow the tutorial on the following site: ...
2
votes
0answers
635 views

Upload clickonce to sharepoint

I'm following this tutorial to upload a clickonce application to sharepoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
0answers
39 views

Set InfoPath Repeating table(DropDown List) field value through VSTA code

I have followed below URL to construct repeating table dropdown list in infopath 2013(reference). Here,In my form loading event i have forming 4 rows with dropdown list and its working fine.But when ...
1
vote
0answers
165 views

Update an existing SharePoint 2013 visual studio workflow

An article gave me the below steps to perform the update: Change the workflow assembly's version number Update the workflow assembly version number in the attribute of the Workflow element in ...
1
vote
0answers
17 views

Deploy SharePoint 2010 Project to SharePoint 2013

How to deploy a SharePoint 2010 wsp to a SharePoint 2013 site?
1
vote
0answers
212 views

Sharepoint 2013 workflow internal status goes to Canceled with a System.FormatException

I am running a workflow attached with task pages. The workflow has been designed in visual studio 2012. After completing the first task page, the internal status of the workflow will change to ...
1
vote
0answers
78 views

Creating new feature for list each time when we create a list with same ListTemplate attribure

We are facing following issues in SharePoint, when we create a custom list in visual studio a separate feature is created for each list automatically and type attribute in ListTemplate tag is set to ...
1
vote
0answers
238 views

SharePoint 2013 task url issue

Possible Duplicate I am working on SharePoint 2013 visual studio workflow, while creating the single task activity email body, I am using '%TaskSpecial: TaskUrl%' token <a ...
1
vote
0answers
555 views

What is the correct way to grant permissions needed for Visual Studio 2012/2013 to connect to SharePoint 2013?

I'm attempting to use the "Empty Project" template in Visual Studio 2012 or Visual Studio 2013 and I'm having trouble determining the least-privilege way to do so. When attempting to add an event ...
1
vote
0answers
141 views

Modify SharePoint sandbox manifest.xml

I need to modify the SharePoint sandbox manifest.xml. Can any one help me with how I can do this?
1
vote
0answers
62 views

“Unselect All” features when importing a site template to Visual Studio 2012?

In Visual Studio 2012 I'm importing a WSP of a site template using the "SharePoint Customization Wizard." The list of features displays with all items selected. I only want to import a couple ...
1
vote
0answers
107 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
0answers
297 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 ...
1
vote
0answers
1k views

Visual Studio 2012 not deploying SharePoint 2013 Workflow

I am trying to deploy a workflow (list or site) to an app web via a SharePoint Hosted App solution in Visual Studio 2012. Once I deploy the app, I noticed that the workflow isn't available in the ...
1
vote
0answers
244 views

Sharepoint List with Custom Form: setting the Content Type

I've been developing a list with custom forms using Sharepoint 2010 using this excellent article: ...
1
vote
0answers
487 views

Object refenrece not set to instance of an object - list template items

This may be a duplicate, because this error is pretty common in every part of sharepoint. However, the search function didn't find anything for my particular problem. To the problem: I have a List ...
0
votes
0answers
16 views

Visual studio longer build time

I have created SharePoint hosted app project in Visual studio. I was working fine. At that time my app didn't have any workflow and build time and installation time was arount 2.5 min. But after ...
0
votes
0answers
24 views

How do I capture a change event for a Managed Metadata Form Field?

I am working with SharePoint 2010, building a custom web part in Visual Studio 2012 (C#). I have a Managed Metadata column in my SPListItem, and I want to capture the ValueChanged event of the Form ...
0
votes
0answers
32 views

Set a value for all field in desired column? javascript

i have the following solution: in my SP list called QUIZ i have a column named koha i also have a userinterface that is build via XML in my javascript solution the current setting are when you ...
0
votes
0answers
30 views

Set style of new SPView object

I have a SharePoint 2010 solution built in Visual Studio 2012 that creates a new list. I modify the default view to use certain fields. I want to change the style to Newsletter (ID 15). What method of ...
0
votes
0answers
21 views

How to convert an item that is retrieved from list to a string datatype?

I am having problems with some strings i have the following code in javascript: _result = currentQuizItem.get_fieldValues()["Audience"]; "Audience" is a column in my sharepoint list, and it has ...
0
votes
0answers
38 views

WaitForCustomEvent Sharepoint 2013 Workflow

I am trying to create a 2013 workflow for SharePoint 2013 in VS2012. Every thing works fine except for my "WaitForCustomEvent". The first thing my workflow does is collecting parameters and call this ...
0
votes
0answers
28 views

Requirements for a Timer Job deployment

I created a timer job to kick off a workflow on all items in a List. I followed this template and converted the code to VB. What do I need to deploy this to my SharePoint site using the command: ...
0
votes
0answers
51 views

SharePoint hosted app submit multiple items to list

I am developing a SharePoint 2013 hosted app and I currently have a 'repeating' table that is being cloned each time a button is clicked. I currently have three tables which all submit to separate ...
0
votes
0answers
298 views

Using Visual Studio 2015 with SharePoint 2013 - WF Projects changing reference version automatically

I have some SharePoint 2013 Visual Studio workflow projects in my solution. Once I opened the solution using Visual Studio 2015, It changed the WF project dll reference as mentioned below. ...
0
votes
0answers
20 views

Workflow state shows as 'completed with errors' instead of 'completed'

I have a custom workflow which is developed using visual studio 2012. It works fine with all the functionalities, but only difficulty which i am facing is that if i terminate a project, workflow state ...
0
votes
0answers
32 views

Call a PowerShell .ps1 file from Visual Web Part

I want to call a .ps1 file from my visual web part which is part of my wsp. Is this possible? Does it similar to calling a notepad.exe file from a console or web part's .cs file. Customer wants to ...
0
votes
0answers
22 views

Visual Studio 2012 SharePoint 2013 Workflow - calling a method during manual workflow termination

I am using a Visual Studio 2012 SharePoint 2013 workflow. I need to perform a task once the workflow is terminated manually. Any idea of how to do that?
0
votes
0answers
42 views

Visual Studio 2012 and VSTA and SharePoint; and InfoPath

I hope this is enough for you to help me... I've got an older development environment with SharePoint 2010 SP1 installed on a web server and an app server in a very simple farm (SQL instance on a 3rd ...
0
votes
0answers
20 views

Custom initiation form for sequential work-flow?

I am creating a custom initiation form my sequential work-flow using visual studio. In that form i have two people picker fields one with multiple selects and other with single select. I want to ...
0
votes
0answers
443 views

Edit list form with Visual Studio

I'm trying to figure out how I can edit the list forms in Visual Studio instead of SP designer, but seem unable to find anything about this, only how to create a new form. Please tell me it's possible ...
0
votes
0answers
30 views

How to start workflow independently

Good day, I have a list that has a custom workflow that starts when an idem is created. I the workflow i have a codeActivity that creates multiple items on the list. This in turn starts multiple ...
0
votes
0answers
69 views

Custom activity shows as “started” even after completion in list workflow settings

I have created a custom workflow activity and used it in another sequential workflow project. This custom activity is the last step in the workflow process.The workflow settings in list shows two ...
0
votes
0answers
2k views

Visual Studio 2012 can't find Microsoft.SharePoint.dll (on 2013)

I'm not sure if this is a problem with VS2012 or with SP2013. We restored a reverted vm yesterday, and there were a ton of weird SP2013 problems we had to overcome. Then after we got a site collection ...
0
votes
0answers
70 views

Sharepoint - Visual Studio 2012 Deploy problem

I'm having a problem, when I deploy my solution through VS2012 it looks like it wont update what I already have deployed, the changes I make on code wont take effect. I have the following scenario: 1 ...