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

learn more… | top users | synonyms (1)

1
vote
1answer
45 views

How to create a custom list that is only available on RootWeb via Visual Studio?

I know how to create lists with Visual Studio. I need hint on how to create the custom list named 'test' with Title, URL and an boolean field only on the RootWebs of every site collection the feature ...
0
votes
1answer
196 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
1answer
73 views

Trying to learn SherPoint development with Sharepoint.com

Because I don't have the hardware or license i bought Sharepoint Online from sharepoint.com I've just started out, and want to for instance create a poll. I Visual Studio I have two choices: App ...
0
votes
1answer
80 views

Pass data from custom asp.net form to workflow (SharePoint 2010)

I've got a state-machine workflow with custom instantiation and task asp.net forms. My custom task form is pretty easy, it just shows the instantiation data and let the user approve or reject it. If ...
1
vote
1answer
105 views

Repeating Login Prompts when deploying reports using Visual Studio 2012 BIDS

I am running SharePoint 2013 integrated with SQL Server 2012 and SSRS but I've been having problems trying to deploy my reports from Visual Studio 2012 BIDS. Whenever I enter in my login credentials ...
0
votes
1answer
105 views

Add HTML elements programmatically

I think it is a very simple question, but I'm just stuck on it. I'm developing custom page for my SharePoint 2010 portal, and I need to add a button (or other elements) to my .aspx page: <input ...
0
votes
2answers
76 views

How to remove features from farm?

I have figured out a way to uninstall and remove the wsp from manage farm solutions. (Solution Management) - http://centraladmin:8888/_admin/Solutions.aspx But I donotknow how to uninstall and ...
0
votes
3answers
162 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
0
votes
0answers
77 views

Visual Studio 2013 - An exception occurred while calling 'OnImportsSatisfied'

I am getting the following error message in a fresh install of Visual Studio 2013 when I try to open any "Feature" or "Package" in a SharePoint 2013 project. An exception occurred while calling the ...
1
vote
3answers
274 views

What should be scope of masterpage feature?

Here is my code on feature activated:- SPWeb topLevelSite = properties.Feature.Parent as SPWeb; if (topLevelSite != null) { // Calculate relative path to site from Web ...
0
votes
1answer
36 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
0
votes
2answers
363 views

How to get list item id of the workflow task list

I have a SP2010 workflow created in Visual Studio in which several tasks exist. At each task creation I need to send message to specific user which contains information about specific task, one of the ...
1
vote
1answer
77 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
0
votes
0answers
81 views

SharePoint WebParts. Attaching to ProteusDebugEngine debugger failed

I'm using Visual Studio 2010 Ultimate and SharePoint Foundation 2010. When I debug my VisualWebParts I have some errors: "Attaching to ProteusDebugEngine debugger failed. Invalid pointer." "Cannot ...
1
vote
0answers
57 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
2
votes
0answers
54 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
0
votes
1answer
40 views

Datatables not working when placed in one single webpart?

We have added two datatables in one single webpart. And when one of the datatable is empty the search function does not work for the other one which has data. Why does that happen? Or how can we ...
1
vote
0answers
45 views

Multiple items using Multi lookup using visual studio

I'm creating a list which has two multi lookup columns to a document library in our project. These columns are Title and Created date. I want to update the Created date column in my list with the date ...
1
vote
0answers
77 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” ...
2
votes
1answer
82 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
22 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 ...
1
vote
1answer
65 views

How to wait for all tasks completion in VS Workflow 2013

I have a workflow which create some number of tasks to different users. These tasks are created in web service method which invoked by workflow. It can create a different amount of tasks. I need to ...
1
vote
3answers
108 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
126 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 ...
2
votes
0answers
37 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 ...
0
votes
1answer
329 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
158 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
100 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
29 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
77 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
27 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
194 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
50 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
36 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
95 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 ...
1
vote
3answers
140 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
27 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
97 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
49 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
14 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
109 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
146 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
67 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
430 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
304 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: ...
0
votes
1answer
223 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
46 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
239 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
334 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.