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

learn more… | top users | synonyms (1)

0
votes
1answer
668 views

The type or namespace “SPTool” name could not be found (are you missing a using directive or an assembly reference)?

using System; using SPTool.Library; namespace ConsoleApplicationExmFeature { class Program { static void Main(string[] args) { SPTSite site = new ...
1
vote
1answer
651 views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
2
votes
2answers
191 views

New DLLs with another key

Please, help me to understand one thing in Sharepoint, as I'm very new in it... I have an SP site with many related lists. There are different custom forms (NewForm, for example) that have code ...
2
votes
0answers
33 views

convert to sandbox

how i can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as microsoft documentation ...
0
votes
2answers
130 views

How to determine custom application page URL independently of the environment/farm?

I have deployed a custom ribbon button and when a user clicks it, I open a custom application page - I have deployed the page to _layouts mapped folder. To open the page (with JavaScript), so far I'm ...
0
votes
1answer
28 views

Can not adding Solution to Sharepoint

In visual studio I am getting below error while deploying my project to SharePoint site. ** Active Deployment Configuration: No Activation Run Pr-Deployment Command: Skipping deployment step ...
0
votes
1answer
366 views

PreSaveAction on a ListInstance with a custom ContentType

Everything I've read about PreSaveAction requires me to edit the NewForm or EditForm to add the reference into the form. However, given my list is created from Visual Studio using a custom content ...
0
votes
0answers
62 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 ...
0
votes
1answer
37 views

how to create a visual web part in the following format [duplicate]

I am a newbie to Visual Studio, it would be great if someone could provide me with an idea how to create the webpart in the following format Thanks
2
votes
0answers
165 views

How to read value from custom user field in Workflow 2013

I have a custom user field (it's used in custom task content type): <Field ID="{d3773326-a0a8-45e2-9c60-82fc7f7ba01c}" Name="IM_Task_ResponsiblePerson" DisplayName="Responsible person" Type="User" ...
0
votes
0answers
12 views

How to create web setup

I have a multiple of import SharePoint Solution Package (.wsp). After I importing the .wsp file into vs2010, how can i create a web setup in vs2010? May I know what is the step how to create web ...
2
votes
3answers
339 views

Required attribute is ignored on Dropdown and Radio field

It seems that Site Columns defined as Type="Choice" ignore the Required="TRUE" attribute when it comes to form validation on the Edit/New pages. In this sceanrio, I chose to not define a default value ...
0
votes
1answer
31 views

Inheritance of Content Types in a Single Feature

I am having the same issue as seen in http://stackoverflow.com/q/9699451/240372 yet the solution does not work for me. The ID's for my Content Types are the following A ...
0
votes
2answers
120 views

SP2010 Activate feature Throws an error

I'm using the code below to modify Custom List Permission in SharePoint 2010. What I'm trying to do is to modify All Group's Permission Level to Read except for the Owners Group. My code runs fine ...
0
votes
1answer
57 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
0
votes
0answers
16 views

Workflow with EF Does not Execute Properly When Called Programatically. The specified named connection is either not found in the configuration

I have a WF that is using EF 6.0 that needs to be started by another workflow. If I call the WF manually, it runs without any problems and an entry is added in the database. The problem is when the ...
1
vote
0answers
206 views

Can the choices in a Field Type=Choice be updated when referenced in Content Type

Using Visual Studio I am creating several custom Tasks to be created in a Workflow. Each of the Tasks have the same fields -- an area for appending comments and a Choice field for indicating where the ...
1
vote
1answer
278 views

Add Content Type to existing List when associating Workflow

Using Visual Studio I have created a package for SharePoint 2010 that deploys a Workflow that creates Tasks of a custom Content Type Id. When I first deployed it, I noticed that Tasks were being ...
0
votes
0answers
110 views

State Workflow and Custom Tasks

Using Visual Studio, I have created a custom state workflow for a SharePoint 2010 Document Library. As typical with most custom workflows, this is an approval workflow where the document in question ...
0
votes
1answer
673 views

Adding Folders to a SharePoint 2010 Custom Document Library Template

Although I know it is bad practice, my business requirements dictate to create a default folder structure within a custom document library template. I created the feature in VS including site columns ...
1
vote
2answers
464 views

Workflow debugging prerequisites failed to complete - VS2013 Autohosted App

I am creating an auto-hosted app on VS2013. I am working with SharePoint Online and not locally. The problem is that when I try to enable the workflow debugging on my project I receive the error: ...
1
vote
1answer
686 views

Error in VisualStudio 2012 when creating Workflow 2013

I receive an error in workflow designer when created new "Workflow" item in "SharePoint 2013 Empty Project" or "App for SharePoint 2013". An error when created new "Workflow" item in "SharePoint ...
0
votes
0answers
69 views

Visual Studio Sequential Workflow: DeleteTask does not always delete the task

I have a workflow with various branches and loops, and multiple levels of approvals. My approvals are all laid out like this: About 90% of the time, this executes just fine and once the while loop ...
1
vote
2answers
637 views

Localization of Visual Web Part: Where to place RESX files

I'm currently localizing a visual web part for the very first time. I'm following this MSDN guide in the first place and I'm a little bit confused about where to place the resource strings or ...
3
votes
1answer
522 views

Blog Post Read More

I'm using SharePoint 2013. In our blog post we often use allot of images and text so the current layout just doesn't work. I'm looking for a way to display a link to a read more page.
0
votes
1answer
442 views

ListDefinition and ListInstance failures with custom content type

In VisualStudio 2012 I have a custom content type that I want to use in a ListInstance. When I create a ListDefinition or ListInstance using VisualStudio and add my ContentType I get feature ...
0
votes
0answers
304 views

Sharepoint 2013: Workflow for Survey item created

How can I create a workflow for a survey item created in SharePoint 2013 version. I need to insert survey ID and survey name to another list. It would be more helpful, if this thing can be achieved ...
0
votes
1answer
534 views

Custom column properties not being set during deployment

For a SharePoint 2010 environment, I am trying to use Visual Studio to creating custom columns, a content type, a custom document library template based on the content type, and an instance of the ...
2
votes
2answers
100 views

SharePoint Visual Studio Development

I need to understand the best practice for developing SharePoint solutions for sites that exist already on the production server. I am currently trying to create a visual webpart for a list that ...
1
vote
0answers
25 views

Repeated Column Definitions when developing List Template

I am using Visual Studio to create a state workflow. As part of my solution I am creating a custom Document Library template. The template includes the required custom content type and some custom ...
2
votes
1answer
680 views

Visual Studio 2013 - Workflow debugging prerequisites failed to complete

I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution: Has anyone encountered this error?
0
votes
1answer
27 views

Problem with Visual Studio and SharePoint 2010

I installed Visual Studio 2010 to do with workflows in SharePoint 2010, but when I try to create a new project, Visual Studio says I don't have a SharePoint Server. I work through an external server ...
0
votes
3answers
1k views

Create a survey list through visual studio

How can I create a survey list through visual studio? I am using sharepoint 2013 and visual studio 2013.
0
votes
1answer
269 views

Workflow Completed Event for correct workflow

Im writing an workflow event receiver that fires on workflowcompleted for a list. If I have two workflows on that list, how can I restrict the completed event to check its happening for the correct ...
2
votes
5answers
4k views

Problem connecting Visual Studio 2013 to SharePoint 2013

I'm having a big issue in connecting Visual Studio 2013 to SharePoint 2013. When I create a project in VS2013, I choose SharePoint Empty Project and then the URL of my SharePoint site, when I click on ...
1
vote
0answers
166 views

create and use nested master page in aspx page as module for sharepoint 2013 using visual studio 2012

I have added one aspx page by taking Module in Visual Studio. I have to do something like; I have to show messages for error and successful completion of the task i.e. Item added successfully I have ...
1
vote
2answers
952 views

How to link aspx form to content type's new item adding?

I have created one content type and list along with module (as aspx) page in visual studio , Now when I click on new item of list then i can open the newly created form but I want something like, when ...
1
vote
2answers
2k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with ...
0
votes
0answers
34 views

Deployment time at Visual Studio's output window

I am deploying webpart solution or another wsp project from Visual Studio and i need to see finishing time. Are there any way to see the time when deploy finished or any error occured for interrupt ...
3
votes
1answer
1k views

How to add ribbon to application page by visual studio?

I have created one application page and deployed that.But ribbon is not appearing at the same page? Any guesses or solution for this?
2
votes
1answer
287 views

InfoPath - Copy values from Secondary Database Connection into Main Database connection

I was Hoping that someone could help me with the problem that I have been having, I am trying to copy one repeating field from my Secondary Database Connection into my Main Database Connection. The ...
0
votes
1answer
3k views

Programming to retrieve list items in a SharePoint list using Javascript

I have requirement which is Retrieve List Items in a List(list created through OOB) Display those list items on the sharepoint site by binding to repeator control Using javascript and client object ...
2
votes
1answer
182 views

How to debug using Visual Studio on load balanced WFEs

I have a 4 server farm. APP WFE1 WFE2 DB Both WFE1 and WFE2 are load balanced and their network name is SPLOAD. So basically I can open http://spload in browser and it opens website from one of ...
1
vote
1answer
849 views

Add list item through visual studio

I have created a list of of links through visual studio. Now I want to add items also to that list. How can I do it through visual studio itself? BTW am using visual studio 2013
0
votes
1answer
209 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
925 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 ...
1
vote
2answers
50 views

application page in specific url

I create a simple application page in visual studio 2010 and its deploying successfully. ( I follow this article ...
1
vote
3answers
958 views

can't connect to sharepoint online from visual studio 2013

I'm new to SharePoint and have just set up a demo developer site. When I try to run my app in Visual studio 2013, it prompts me to log in to Office 365 for which I do have account. But once I've ...
0
votes
1answer
190 views

default.aspx renaming

I manage rip-off SharePoint team site. Some reason, I cannot rename default.aspx. If I rename default.aspx -> demo.aspx and I create new site collection, it gives me 404 error message. Also, if I ...
1
vote
1answer
827 views

Adding Approvers in a Sequential Workflow Visual Studio

I have a sequential workflow which is associated to a listwhich contains column name Business Process which could be Purchase Order, Sales, Leave Request etc I have another list 'Approvers' which ...