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

learn more… | top users | synonyms (1)

1
vote
1answer
166 views

using calculated field in calculated field

I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1 Calcfield1 and Calcfield2 use field1, field2 and field3 for its values. ComplexCalcField1 uses Calcfield1 and Calcfield2 for ...
0
votes
1answer
359 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 ...
1
vote
1answer
686 views

How do I create a Sharepoint hosted app for office 365 in Visual Studio 2013?

I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to ...
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
1answer
107 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
158 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
151 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
127 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
142 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 ...
2
votes
4answers
10k views

How to read a file from a folder in _Layouts?

I have a file that is in a the mapped folder "Layouts" in my Visual Studio project. I would like to read the contents of this file but I have been having some trouble accessing it. What I have ...
0
votes
3answers
250 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
1answer
177 views

Can I create Workflows in Visual Studio 2008 for SharePoint 2010

I have SharePoint 2010 and Visual Studio 2008. Is it possible to create workflow in Visual Studio 2008 for SharePoint 2010? If yes on the previous question: What do I need to create workflow for ...
1
vote
1answer
1k views

Can I resolve 'Could not find schema information for the …' messages in VS for .template files?

I'm working on modifying a ProductDetails.template file using Visual Studio 2010, which ties into Commerce Server, I believe. When I load this file I get Messages (as opposed to Warnings or Errors) ...
1
vote
0answers
613 views

Manually Workflow printing items from list

I have a problem with list item and printing them. I must create workflow or jscript printing this item using template. Steps that I need to do: Select item/items on list Run workflow or jscript ...
0
votes
0answers
127 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
411 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
51 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
1answer
60 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 ...
0
votes
3answers
671 views

pkgobj\Debug\Package_Manifest.xml is read-only?

When I package a Sharepoint 2010 project in Visual Studio 2010, I occasionally get the following error message: Access to the path 'C:\path-to-my-project\pkgobj\Debug\Package_Manifest.xml' is denied. ...
1
vote
3answers
382 views

How to display a database table in a page, based on the current Site Collection Subsite

being new to the Sharepoint scene, I was wondering what the best approach was in this situation. I have a few customers, who all login into the Main Home site, and then get a link to their resp. ...
0
votes
0answers
127 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
74 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 ...
1
vote
2answers
420 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
3answers
847 views

Feature Folder Path Name Doubled

Why when I create a new feature in VS2010 and deploy it, I see the Features folder has my solution but the name is "Doubled Up". Is this expected behavior? See my sample below: C:\Program ...
2
votes
0answers
63 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 ...
1
vote
0answers
49 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
83 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
118 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 ...
15
votes
3answers
4k 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
174 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
265 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
201 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
570 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
42 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
216 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
472 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
3answers
256 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
157 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
2k 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
785 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
2k 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
33 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
4k 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
107 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
332 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
61 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