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

learn more… | top users | synonyms (1)

1
vote
0answers
57 views

Starting a Sharepoint 2013 Workflow via js file

I´m trying to start a workflow 2013 from a custom ribbon icon. I have configured an elements.xml file where I call the Javascript file. The problem is, that I get a JavaScript runtime error “Type” ...
0
votes
1answer
450 views

Help with Blog EventReceiver, not firing

Ok so I have a blog site and I need to change the name of the author of each post to 'Anonymous' after he saves the post. I created an EventReceiver project in Visual Studio and gave the URL ...
2
votes
1answer
35 views

Visual Studio debugger for SharePoint AutoHosted App

I'm using VS2013 for developping Sharepoint Hosted App against a 365 developpment site. The VS debugger tool doesn't hit anymore my breakpoints. It used to the day before. I have made many tests, - ...
2
votes
0answers
16 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
12
votes
3answers
3k views

Deployed Timer Job not taking new code when deployed

I've realized recently that, when re-deploying (either manually or through vs2010) my timer job feature package, the updated execute code is not being deployed. Strange yea. Essentially, I'll ...
1
vote
3answers
68 views

Activating feature from another feature

Can we activate a feature by adding two features to the solution and activating the one of the feature from another features FeatureInstalled Event? I am trying to activate the feature of the current ...
1
vote
1answer
46 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 ...
1
vote
1answer
48 views

Deploy a package(wsp file) with dependent assemblies to GAC but dont remove them on Retracting, how?

When developing a SharePoint solution(a webpart for instance) sometimes we need to add some required assemblies(a telerik assembly for instance) to GAC. So for that we will add this assemblies via ...
0
votes
1answer
37 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 ...
2
votes
0answers
18 views

How do I utilize CustomTemplate property of BaseFieldControl

Using Visual Studio, I am creating custom templates for rendering Content Types in a SharePoint 2010 environment. If I want to control which fields, and in which order, I can elect to remove the ...
3
votes
1answer
84 views

How to check Reset all subsites to inherit this alternate CSS URL Programitically?

I had set Alternate CSS URL programmatically. But next CheckBox of "Reset all subsites to inherit this alternate CSS URL" is not checked it self. I want to check it programmatically. Please Suggest ...
1
vote
1answer
31 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
4answers
292 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
3answers
64 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 ...
2
votes
2answers
31 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 ...
1
vote
4answers
779 views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
5
votes
2answers
680 views

How to install a WSP that has dependent assemblies?

I have a solution in Visual Studio 2010 that is made up of 3 projects. I have one project for my SharePoint 2010 custom timer job, one project (Project A) that is used by my custom timer job, and ...
0
votes
3answers
1k views

Custom List Form Will Not Deploy

A demo List Form using Visual Studio 2010 to test and experiment with a few things. Nothing at all was added inside the project. Functionality, etc, will be added later, but at this point it was ...
2
votes
1answer
1k views

create custom sharepoint new form in visual studio

I am creating a custom list inside a feature receiver. I would like to create a custom New Form for my list. So, the list is not created via List definition. Can anyone guide me how to create the ...
2
votes
0answers
26 views

convert to sandbox

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

Updating a List Instance

I have a List Instance in Visual Studio. However, every time I deploy the solution, Visual Studio says there is already a list instance with the same URL on the site collection and it needs to delete ...
0
votes
2answers
45 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
24 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
59 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
32 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
29 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
46 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 ...
0
votes
0answers
18 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
51 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
37 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
13 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
43 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 ...
0
votes
0answers
28 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
65 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
28 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
25 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 ...
2
votes
1answer
109 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.
1
vote
2answers
69 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
568 views

Timeout while deploying VS2010 solution to SP2010

When deploy a solution (no sandbox solution) with many projects, I always get the following error: Error occurred in deployment step 'Recycle IIS Application Pool': The open operation did not ...
0
votes
1answer
78 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
98 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 ...
2
votes
1answer
129 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?
1
vote
0answers
18 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
2answers
80 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 ...
0
votes
1answer
86 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 ...
0
votes
1answer
22 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
2answers
264 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
2answers
2k views

Implement custom sharepoint workflow with aspx page instead of infopath

I am creating state machine workflow in visual studio 2010 and info path form (for approval etc.) is associated with the generated task. But i need to associate aspx form instead of infopath with the ...