Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
181 views

SP - Error occurred in deployment step 'Recycle IIS Application Pool' in VS [duplicate]

I have a privileges everywhere, but where i deploy a project with webParts, Visual studio, show me following error : Error 1 Error occurred in deployment step 'Recycle IIS Application Pool': ...
4
votes
2answers
1k views

Create Document Library using REST API in C# on Client Machine [Not in SharePoint Server]

I am working on a requirement where I need to create Document Library using REST API using C# code using Visual Studio. The main problem is that I am not having SharePoint Server environment. I am ...
7
votes
3answers
477 views

Sequential Workflow Delay Activity won't resume

I'm trying build a pause into a Visual Studio Sequential Workflow. I can add steps, then add a delay and it works fine. But any step I insert into the workflow (either before or after the delay) ...
1
vote
2answers
348 views

Action on a transition trigger in State Machine Workflow

What component can I place on a transition trigger in State Machine Action Workflow in order to solve this task: I have 3 states: "State 1", "State 2", "State 3". Exit action of "State 1" has "Simple ...
2
votes
1answer
4k views

How to change the “Parent Content Type”

I have requirement to create multiple content types to a single website in Sharepoint 2013, I have did it using the template files, but the problem in for all newly created content types the parent ...
0
votes
1answer
936 views

After adding sharepoint layouts mapped folder the folder not there in Layouts section why?

I was created sharepoint 2013 empty project and i was added sharepoint layouts mapped folder name is GPIntegrationLogs But after deployed i was checked in this path.(C:\Program Files\Common Files\...
0
votes
2answers
87 views

Incrementing Number Column

I am having some issues with creating an auto incrementing column. The requirements are as follows; The column needs to editable If the column contains data then do nothing Each time an item is added ...
0
votes
1answer
720 views

how to get group ID and set it in assigned to in SingleTask

I´m trying to collect Group ID to use it in Assigned to field... I´m using VS 2015 and SP 2013, I´ve a Owner column in my list. here u can see my workflow what I miss?? or what I need to Change??
3
votes
1answer
379 views

How to package a workflow with a list definition in a Visual Studio feature?

Here is the scenario: I have created a custom list definition in Visual Studio 2015, and I'm packaging it in a Site scoped feature (Farm solution). I have also created an event receiver that will ...
2
votes
2answers
373 views

Follow site programatically

In SP 2013 on prem, I am developing a web part using c#. All my functions work except follow/unfollow a site for a user. So I am turning here for some inspiration, looking for some code snippets or ...
1
vote
1answer
152 views

How can I change the layout of the Advanced Search Web Part in Visual Studio

I’ve had a request to change the layout of the Advanced Search Web Part. They would like the search boxes e.g. “Any of these words”, “Any of these words” etc to appear below the metadata property ...
4
votes
1answer
743 views

Check whether PeopleEditor control contains more than one user

I have a PeopleEditor control with MultiSelect="false" on a workflow initiation form. If enter 2 names, they both resolve... the workflow just truncates it and keeps only the first entity. I want to ...
0
votes
2answers
2k views

How do I connect visual studio to my SharePoint server which is on a vm

I have a SharePoint server on a vm, all correctly set up and ready to be designed. Rather than use SharePoint designer I wanted to use visual studio's new add on sharepoint connection and use that to ...
2
votes
1answer
591 views

Property access conversion to an activity is not supported for property 'Today' defined on type 'System.DateTime'

I am developing a Sharepoint 2013 add-in. Writing the workflow, when using DateTime.today, I get this error: Property access conversion to an activity is not supported for property 'Today' defined on ...
3
votes
2answers
719 views

Visual studio 2015 debugging sharepoint 2013 webpart extreme slow and will hang always

I'm trying to create a webpart for sharepoint 2013 using visual studio in C# language. I'm developing the webpart on the sharepoint server cause I don't have office development kit on my local ...
1
vote
0answers
130 views

Approval Workflow with variable number of approvers

I am attempting to create an approval workflow with a variable number people who need to approve the item. For instance if employee A is pretty low on the org chart he or she may have 2-3 people ...
1
vote
1answer
197 views

SharePoint 2013 Add-In workflow - start additional task while waiting for completion of others

I'm working on custom approval workflow. The process assumes that each approver can invite other people for approval. For example, "Hey! We've forgot Tom! He should look at that document!". The ...
1
vote
0answers
50 views

SP2010 VS2010 Sequential Workflow not able to create a Task in Tasks List With Custom content type

I have created the sequential workflow for three level approval workflow with while condition. I am starting the workflow manually using SOM since I need to update one of the fields later inserting ...
3
votes
1answer
49 views

Format data from multiple lists in Visual Web Part formatted like Standard List

I'm trying to roll data from multiple lists into one web part using Visual Studio, preferably a Visual Web Part. I want it to look like a normal SharePoint list view, with options to sort, filter, and ...
0
votes
1answer
160 views

Save a canvas image to SharePoint server

I have a page where users can paint on it. This area uses HTML5 canvas. Now I want put an button for users to send that image to the server. I know I can do this by ajax in client side and web-...
1
vote
1answer
112 views

Take current item to workflow

I want to write a workflow for sharepoint 2013 list in visual studio 2012. When user adds a new SPListItem to SPList -> starting my workflow. How to take this SPListItem to workflow and reuse it?
1
vote
0answers
212 views

SharePoint Online - Copy SharePoint List Items from multiple Subsites to a main site

I have a SharePoint site "Test", in which i have a Custom List "Test1 List". I also have a few Sub sites for the Test site and each subsite has a custom list associated with it (For example, Test2 ...
0
votes
1answer
160 views

How to do the SharePoint development in Visual Studio Express version

As per the various blogs VSTO is not supported in Visual Studio Express. For VSTO you needed the Ultimate, Premium, or Professional versions. So Is there any possibility or any work around available ...
0
votes
1answer
89 views

Calendar Issue, overlays issue on events in SharePoint 2013

When the Calendar loads first time, The event overlays appears on the top of the Calendar as shown in the figure 1) . But when we refresh the page, the overlay event goes back to its original place ...
0
votes
1answer
224 views

Visual Studio 2013/15 MVC web application

I'm trying this articles\tutorials to get an MVC portal going but none seems to match. Does anyone know a tutorial that works? Checked this: https://blogs.msdn.microsoft.com/officeapps/2013/07/09/...
0
votes
1answer
38 views

ListViewWebPart could not be found

I'm trying to define the following variable in my C#, but am getting the missing using or assembly error. private ListViewWebPart lvwp; I'm including the below using statements. ListViewWebPart ...
0
votes
2answers
1k views

How to get SharePoint 2013 task (Who approved?)

I have created Visual Studio workflow in SharePoint 2013 on Workflow Manager 1.0. I have added composite task which is sending 3 people task parallel, completion criteria is "Wait for first response". ...
1
vote
1answer
302 views

Visual Studio authentication issue with SharePoint app

I am working on a SharePoint app in visual studio and am running into issues when attempting to debug. I press start and as expected the Connect to SharePoint window pops up asking me for my ...
0
votes
2answers
469 views

Cannot edit Javascript files stored in Office 365

I have a sharepoint online developer tenant. I created a document Library called Javascripts. I open the Library in explotrer view to edit the files. When I edit a file with Visual Studio 2015, I ...
0
votes
1answer
185 views

Visual Studio Workflow Designer, How can I check if an id belongs to a group or user?

Been working with Visual Studio 2013 and I am trying to send an email to all the users and users within the groups entered into a UserMulti field (One which allows people and groups). I have gotten ...
0
votes
2answers
2k views

Visual Studio vs SharePoint Designer for SharePoint 2013

Could anyone explain me the advantages of using Visual Studio for SharePoint customization than using SharePoint Designer? And also which version of Visual Studio supports both SharePoint 2013 ...
0
votes
1answer
847 views

how to refresh the page when i click the asp image button? [closed]

When i click the image button, page should refresh and show the data i tried in javascipt ,jquery but i am not getting please someone help for this.. Thanks in Advance. here is my code : roport....
1
vote
1answer
28 views

Error creating site from template with feature with module

I created with Visual Studio a module to uploade a file. And a feature associated. Currently the site has this feature desactivated. I create a site template based on this site. When I create a ...
0
votes
1answer
287 views

SharePoint provider-hosted app filter document library CSOM

I have the following code that gets files from a document library. Works great for getting all the files. Now, however, I want to filter the files using the "title" param before passing it back to my ...
1
vote
3answers
810 views

Application page as home page

I am developing a SharePoint 2010 Project totaly in Visual Studio and C#. I do not want to use SharePoint Designer and configuration via browser. I need to set a LAYOUT page (application page) as ...
1
vote
2answers
93 views

Can't update silverlight web part

After making changes to my custom Silverlight application, I can't get the Silverlight web part on my SharePoint site to reflect changes. I tried making a change and then opening the site in Firefox, ...
-1
votes
4answers
5k views

How to add script reference on master page?

I have applied master page using JavaScript in my SharePoint Hosted App. This script reference is added on default.aspx. Now I want to add script reference on master page which I have applied so that ...
0
votes
1answer
74 views

How to set ContentTypeID in CreateTaskWithContentType activity using VS 2013

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". I created a new content type and select the "Task" as parent, then added this ...
1
vote
0answers
70 views

SharePoint hosted app development, Less/Typescript and side-loading

I am doing some technology test for developing SharePoint hosted apps using Visual Studio 2013 in my SharePoint 2013 development environment. For that reason, I am trying to see how far I can push ...
-1
votes
1answer
325 views

How to create variable in visual studio workflow

I am first time creating Workflow in visual studio for SharePoint 2010. Now i need to create variable (Workflow variable) in my workflow but i am not getting any reference or tutorials for create ...
0
votes
1answer
688 views

“collection was modified enumeration operation may not execute”: error while deleting attachments from sharepoint list

I am trying to delete the attachments from my SharePoint 2013 list Programmatically : foreach (string attachment in listitem.attachments) { listitem.attachments.delete(attachment); listitem....
2
votes
2answers
56 views

Visual Studio not breaking on unhandled Exception

Usually when I debug a SharePoint Web Part, if I have an unhandled Exception the Debugger breaks at the line where the Exception occurred. However, I have a Web Part, that my predecessor made, that ...
1
vote
0answers
18 views

Difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013 [duplicate]

What is the difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013? This doesn't seem to be clearly documented. Which one ...
6
votes
3answers
2k views

When to use Server side event receivers Versus using Remote event receivers?

I read a long article about two types of event receivers inside SharePoint server 2013:- Server side event receivers (available inside SP 2013 & SP 2010) Remote event receivers(available inside ...
0
votes
1answer
18 views

How to open and manipulating an already developed and deployed SharePoint feature using visual studio

After SharePoint migration from 2010 to 2013, I have imported a solution, using power shell, which was developed for the SharePoint 2010. Now the feature is deployed and is available but does not ...
0
votes
1answer
139 views

Sharepoint app, missing styles and images when debug

Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site ...
0
votes
1answer
41 views

Custom Master Page deployed at site collection level using visual studios in SharePoint 2013

I have created and deployed a custom master page using visual studio'. Deployed and i can see the master page under _catalog/masterpage folder in sharepoint designer under the root site collection. ...
1
vote
1answer
74 views

Existing InfoPath form to Visual Studio

Can we convert existing InfoPath 2010 form to visual studio and make it applied to list? I am using SharePoint 2010 and InfoPath designer 2010. We have an existing InfoPath form used by a list in our ...
2
votes
1answer
858 views

SharePoint 2010 project templates missing in Visual studio 2015 Enterprise Edition

On windows server 2012 we have installed Visual studio 2015 Enterprise Edition but unfortunately, I can't see the SharePoint 2010 project templates. Can anyone help me out to get those templates? ...
2
votes
1answer
290 views

Sharepoint Visual studio workflow

I am new to developing apps in Visual Studio for SP. I have a problem to use the standard functions for creating a workflow. Currently I need the workflow action Set field in current item, but I don't ...