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

learn more… | top users | synonyms (1)

0
votes
0answers
30 views

Getting error of Object reference not set to an instance of an object while trying to Package

I am using Visual Studio 2010 Ultimate and I have a solution with two SharePoint projects. These projects are dependent on two SP DLLs - Microsoft.SharePoint.dll and Microsoft.SharePoint.Security.dll. ...
0
votes
1answer
50 views

toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010 a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
3answers
171 views

SharePoint 2010 workflows from visual studio

My task List has the Following Fields 1) Start Date 2) Due Date 3) Survey Submitted By Through Visual Studio Workflows I want to achieve the below scenario. Can any one give me an idea which actions ...
0
votes
2answers
2k views

Custom Error Message for Event Receiver in SharePoint 2010

I want users to upload the .doc files only in the document library. To do so, I have developed an event receiver in Visual Studio 2010. My code is as follows: public override void ...
3
votes
2answers
872 views

DropDownList to display External Content Type?

I am creating a visual web part in Visual Studio 2010 for SharePoint 2010 Server. I would like to use a DropDownList that shows data from an external content type (that is tied to a SQL Database ...
0
votes
0answers
23 views

Can I call an activity from a Code Activity?

I have an existing activity in my workflow. Can I call it from a code activity?
1
vote
2answers
55 views

Debugging sandboxed solution?

I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
1
vote
1answer
261 views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
0
votes
1answer
35 views

How can I build a Visual Studio 2010 solution from wsp? [duplicate]

I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and ...
3
votes
1answer
837 views

How to create a lookup field that has a list column picker

How would I be able to create a list field in VS that would be a lookup to select columns from any list? I would preferably like to have something like the PickerTreeView.aspx, but instead of ...
1
vote
7answers
8k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...
5
votes
1answer
1k views

Importing a SharePoint 2013 workflow in Visual Studio

I'm creating a simple workflow in Visual Studio: I can deploy it, and it works. I then try to open it with SharePoint designer: However, the steps/activities/stages are missing. How come I'm not ...
0
votes
0answers
127 views

Content Organizer Rule create folder based on multiple property at target location

We have an HR documents portal project that we would like to use the Content Organizer feature in SharePoint 2013 and pairing with zonal OCR to have a higher degree of automation. Scanned documents ...
0
votes
1answer
33 views

Add SPuser to SPGroup by defult ,after registration directly

I need that when the user registers on the site he should automatically be logged in to the site. How can I do that by code?
2
votes
1answer
123 views

Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013

I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps: 1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) ...
0
votes
0answers
15 views

Columns not added to the sharepoint deployed list

I used vs2013 to create a list with name "Committees" and added columns to it within visual studio environment and added both to the same feature, after deployment and deactivate the feature and ...
1
vote
3answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
1
vote
2answers
80 views

Advance Search For Find Document with Column

I have a Document Library that contain large number document with four kind of content type. My Documents Contain specific column that inherit from content type. Now I need to design an advance search ...
0
votes
1answer
58 views

How to restore the sharepoint list data after deploying project solution again?

I have an Visual Studio 2010 empty sharepoint solution project. Solutions consist of several custom lists and workflows attached to that lists. The solution always changes, so it means I'm redeploying ...
3
votes
1answer
154 views

Is there a way to us CKS Dev Tools to find undisposed of objects?

I thought I had used CKS Dev tools to display warnings about undisposed of objects in Visual Studio in the past, but we just stood up a new server and I can't seem to find a way to do it. Can it be ...
2
votes
5answers
1k views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
2
votes
0answers
60 views

can provider-hosted app deployed outside the domain when using s2s

I'm creating a SharePoint provider-hosted app using visual studio 2013 in a machine and connecting to SharePoint 2013 on another machine. Visual studio is not in the same domain as SharePoint ...
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
86 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
49 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
1answer
159 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
159 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
475 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
1k 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
60 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
70 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
90 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
97 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
65 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
9k 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
143 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
170 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
968 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
511 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
2answers
264 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 ...
0
votes
0answers
59 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
242 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
34 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
39 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
546 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
1answer
66 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 ...
1
vote
3answers
373 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
72 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
53 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
258 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: ...