Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
26 views

Programmatically Start Workflow Sharepoint 2013 Out of Range Exception

I am trying to programmatically start my WF in Visual Studio and deploy it along with my solution into SharePoint 2013. The WF is in the same solution file as my ASP.NET web form and code behind. I ...
1
vote
1answer
21 views

EventReceiver is working on local site where code is written.But when I deploy its wsp on another site it is not working?

I have written Event Receiver for a list on my local site on its item added event in that event receiver it creates subsite under a top level site. And updates a url in the list. This functionality is ...
0
votes
0answers
9 views

Syncing Site WF (State Machine) to ASP.NET Web Form [duplicate]

I have developed a web form in ASP.NET with the code behind in vb.net in Visual Studio 2013. This will be deployed into SharePoint. I have also included a Site State Machine WF in the same solution. I ...
1
vote
1answer
25 views

SharePoint is not installed error in Visual Studio 2013

I have a solution I'm keeping all my specific projects inside. I can easily deploy existing one and even add new Visual Web Parts and redeploy. But when trying to add a new project I get the error ...
1
vote
1answer
24 views

Starting Workflow on Button Click

I have added a state machine WF in VS by right clicking my solution and Add -> Add New Item -> then under "Office/SharePoint I added the "State Machine WF (Farm Solution Only). So the WF is now part ...
2
votes
1answer
27 views

Creating Workflow from asp.net form

I have deployed an asp.net web form in an application page in SharePoint 2013. The form was developed in Visual Studio 2013 with asp.net being used to build the form and vb.net for the code behind. I ...
1
vote
1answer
18 views

Set welcome page view for Document Set in VS project?

I know you can set the view to use on a Document Sets welcome page through SharePoint. But is there a way to do this in a project, like either in the content type Elements.XML or the libraries schema ...
2
votes
1answer
26 views

Deploying asp.net web form into SharePoint 2013

I have developed an asp.net web form in Visual Studio 2012 with the code behind in vb.net. I need to deploy this form into SharePoint 2013, in a perfect world I would like to have this form ...
1
vote
1answer
20 views

Visual Studio cannot connect to sharepoint site

I have spent many hours at this issue and still unable to fix it: I read somewhere that one cannot deploy apps to sharepoint using the "system account", so I: Created a new account "admin1" in ...
0
votes
1answer
22 views

Visual Studio 2013 Error: workflow “could not generate view for item”

Yesterday I switched from VS12 to VS2013 Ultimate, opened my app in VS2013 and deployed it. Worked as expected. However I have one Workflow Issue, when I go to the XAML and drag an item from the ...
0
votes
0answers
6 views

Creating a workflow with association columns using Visual Studio

I'm trying to create a workflow with association columns for SharePoint 2010. I cannot see a way to do this from within Visual Studio. I have tried creating a reusable workflow in SharePoint Designer ...
0
votes
0answers
18 views

Sandbox Solution: Why won't it update when published?

I have a weird problem in VS 2013 working with a SharePoint NCSS Sandbox Solution. Whenever I right-click and Publish the .wsp locally on the file system, it publishes an old version of the .wsp. By ...
0
votes
0answers
7 views

Sharepoint 2010 State MAchine Workflow Visual Studio 2013

When deploying my Workflow from visual studio, it must be assigning a new guid everytime. Would like this to stay the same so would not lose any of the previous Workflow history events
0
votes
1answer
38 views

Extending the Content Search web part to display a “Show all” link

I want to use the Content Search web part to display a site's latest news articles. Also, I need a "Show all" link to the bottom of the web part - this link would take the user to a search results ...
0
votes
0answers
19 views

Updating SharePoint 2013 custom content type with Visual Studio

What is the best way to do this without ending up with orphaned content types and other problems? Specifically, removing and updating columns for a content type that's currently in use.
0
votes
1answer
15 views

SharePoint Features Properties

I have to set my feature properties from VS. When I double-click on the file FeatureName.Feature , I do not see the properties window but VS open the feature design manager. How can I change the ...
-1
votes
1answer
34 views

Caching problem with my Visual Web Part when adding it to my List's Create Form

I have the following web part inside my visual studio :- [ToolboxItemAttribute(false)] public partial class VisualWebPart1 : WebPart { // Uncomment the following SecurityPermission ...
0
votes
1answer
15 views

How to handle this assignment

I have a blueprint that i am supposed to create on sharepoint. I do not have much experience with sharepoint yet so i am not sure if i have decided on the right track. I think not so maybe you guys ...
0
votes
1answer
64 views

Option to upload and download file to SharePoint Document library

I want to give option to user on .aspx page to upload and download file to SharePoint Document library. I created an ASPX form page. There is an option to upload / download the document for storage. ...
0
votes
1answer
53 views

SharePoint Web Part Development - Server Side vs Client Side

I am developing a web part in SharePoint 2010. I consulted with someone well versed in SharePoint development who told me that, beginning with SP2010, server-side code is discouraged. The problem is ...
1
vote
1answer
75 views

Changing client web part properties Title/Description with diffrent languages

We want to change our client web part Title and Description depending on Supported locales(languages). The Validation checklist for apps: ...
0
votes
0answers
18 views

Visual Studio 2012 cache Unit Test results of SharePoint solutions

It's my first time with Unit Tests in SharePoint and I've noticed some strange behaviour. I have a solution with 2 projects: Project ProjectTest My test method: [TestMethod] public void ...
0
votes
1answer
13 views

Entries in the web config are constantly added

I have an issues with the web config entries for safe controls, for some controls i have added a safe control to the file. I've done this in visual studio 'Safe control entries'. But any time i deploy ...
1
vote
0answers
20 views

Error on publishing workflow with custom activity

I have created a custom action using visual studio for SharePoint 2013. I have done this multiple times following instructions from various blogs and every time I get the below mentioned error. (0, ...
0
votes
0answers
24 views

create workflow for approval by infopath forms using multiple views scenario!

What is the objective Please help me! i want to create a workflow for share point 2010 in visual studio 2010 which will be using share point form library. for adding data to the share point form ...
0
votes
2answers
55 views

How do I enable Intellisense sp.js in VS 2012. TILT

No matter what I try, I keep on getting the yellow triangles with the message "Intellisense was unable to colmplete an accurate...". For example when I type "SP." then among others ClientConetext does ...
0
votes
1answer
24 views

How to get document title in a workflow (2013) developped with Visual Studio 2012

I have got a 2013 workflow (developped with Visual Studio 2012) on a document library. It starts when a new document is created. How can I get the document title to use it in my workflow? Thanks ...
0
votes
1answer
82 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
0
votes
0answers
13 views

Find, replace and save in advance Rich text editor

I need to build/develop a processor with Visual Studio 2010 that finds some letter/character, changed it as desired ('>' into 'ê', '^' into 'â' etc) and save in Time New Roman font with a single ...
0
votes
0answers
22 views

VS SP project cannot connect to SP Site

I am building the same SP project in VS 2010 on two different accounts on the same server. On the admin account (with the final version), I needed to change the Site URL and found that it cannot ...
1
vote
0answers
12 views

wcf.cs file generated by tool

I am porting a SharePoint project from one SP 2007 server to one SP 2010 server. Among the files that make up the project, I found a file called wcf.Project.cs. It's tens-of-thousands of lines long ...
1
vote
1answer
77 views

How can I copy lookup field value to another site list in lookup filed?

How can I copy lookup field value to another site list in lookup filed? Situation, I’ve a main site list , list1 and there have lookup field from list11, I've build sub site and copy my list1 from ...
1
vote
1answer
41 views

C# - How to 'role back' update in ItemUpdated event receiver in SharePoint 2013?

I have some code in an event receiver in ItemUpdated that checks for duplicates when an item is updated. I would like to if the item already exists after the changes, the updates are not applied. How ...
0
votes
1answer
13 views

How can I prevent retracting of my listinstance each new deployment from Visual Studio?

I am using sp2013 and vs2013. I have a solution with some list instances and contenttypes. Every time I do a deployment from Visual Studio the existing listinstance will be retracted and I lost my ...
0
votes
0answers
29 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
0
votes
1answer
36 views

Error in deployment step 'Activate Features'

Every time I try to deploy my project (containing only one Event Receiver), I get the following error: Error occurred in deployment step 'Activate Features': Operation is not valid due to the ...
0
votes
0answers
4 views

How can I change de build target in VSTA (ex: from anyCPU to x64)

Developing code in Infopath, when I try to call this : SPSecurity.RunWithElevatedPrivileges(delegate() { I get this error message (sorry, some parts are in french but codes are the same) : ...
0
votes
0answers
35 views

Getting error when trying to open a spsite in Application page

I am Trying to open an spsite in Application page like Sp context.current.web but here spcontext is null so i tried like giving whole URL path via a string .Here error coming as 404 file not found ...
0
votes
2answers
48 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
0
votes
0answers
20 views

Get ListId before list is deployed from Visual Studio

I am creating my add/display/edit forms as well as list views in Visual Studio as opposed to doing it in SP Designer because I wish to be able to deploy the whole project at once. Currently, my method ...
0
votes
1answer
60 views

Add custom folder programatically to Document Library

I have a custom Document Library that has a custom content type which is an extension of a Folder (just adding some more fields). I'm trying to, in code, add a new item of this content type to the ...
1
vote
0answers
16 views

ASP.Net Web Form Emailer to Sharepoint 2013

I'm new to both ASP.Net and SharePoint development and have been tasked to convert an existing web form to a SharePoint 2013 solution. The web form is pretty straight forward; users enter line items ...
0
votes
1answer
16 views

Wrong web part when trying to insert custom Content by Seach web part CSWP - visual studio

I'm trying to provisioning a content search web part. I've made a site feature and a standard web part (xml and webpart file). When I activate the feature I get the web part but it's not a Content ...
0
votes
1answer
55 views

How to reproduce “collect feedback workflow 2010” using Sharepoint 2013 Workflow

We are using SharePoint 2013 Server, it is a greenfield project. So in this case, the intention is to use new Workflow Manager to develop workflow, which is said better performance and robust. (All ...
0
votes
1answer
156 views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
1
vote
0answers
27 views

Cloud Business App for Office 365

I try to create Business App for SP Online. If I create relationship to other list in the same site, everything is OK. I can use lookup field. But if I try to use relationship (data) from different ...
0
votes
0answers
15 views

Deleted List instance in Visual Studio for a list definition, how to get it back?

I have deleted list instance that Visual Studio created for me, how can I recreate it in Visual Studio using list definition?
0
votes
1answer
26 views

Custom WebParts shows only the WebPart-Title

I've got a huge problem. I developed three custom webparts and deployed them to our testserver and that works just fine. So I decided to deploy them to the production server as well but when I add ...
0
votes
1answer
33 views

scope of content types

I was reading on content types and I see that share point allows allows to create them at site collection and list level scope. My question is that in visual studio where can we specify whether this ...
0
votes
1answer
234 views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...