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

learn more… | top users | synonyms (1)

2
votes
1answer
110 views

Will my webpart still work?

If I create a web part using a Visual Studio trial version, and the trial expires, will my web part continue working?
0
votes
1answer
153 views

How to get inner content of Content editor web part Programatically using Client side Object model

I am unable to get Inner content(rich text value) of Content Editor web part, Please Provide some code sample on how to do this
2
votes
3answers
90 views

Able to connect the visual studio 2010 to Remote SharePoint 2010 server?

In my organization they ask to doing the task. I explained to the people that we can’t connect to remote SharePoint url and work, we need SharePoint 2010 server to be installed in the local machine. ...
0
votes
1answer
45 views

Lookup list does not exist error

While looping through my sharepoint's list fields, I found that there are some "in-built" Sharepoint fields (for example, Check In Comment) that are lookup fields. However, when I try to use ...
2
votes
0answers
38 views

convert to sandbox

How I can deploy a custom webpart solution inheret Microsoft.SharePoint.WebPartPages.DataFormWebPart as sandbox solution ? as Microsoft documentation, there is a restrication on using this class in ...
0
votes
2answers
469 views

The type or namespace name 'MyFeature.Class' could not be found in global namespace

I am replacing the OOTB SharePoint 2010 People Picker Control with a custom People Picker. There are 2 projects in my Solution. One that adds an application page and another that actually replaces ...
0
votes
1answer
591 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
1
vote
2answers
1k views

Do SP2013 Workflows Run as the Current User by Default?

I have a workflow (developed in Visual Studio) that is started on creation of an item in List A. Most users have permission to create items in this list. The workflow subsequently updates another ...
0
votes
0answers
96 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
1
vote
3answers
229 views

Remove item Content Type from custom list

I have created through Visual Studio a Content Type that inherits from Item and a custom list using this content type. What I would like is to remove the item content type that appears when creating a ...
0
votes
2answers
47 views

Runtime error javascript in Visual Studio

Lately I get this error (see pic), however if I click continue everything works perfectly and the value is assigned correctly to variable xAppWebUrl. In another script I have similar code that runs ...
0
votes
1answer
887 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
1k views

How to create a SharePoint Workflow in Visual Studio?

I would like to design a workflow in Visual Studio. The workflow consists of 4 approvers. The workflow should start when a new task is created in SharePoint list and it should send an email to both ...
1
vote
1answer
2k views

create a custom ListDefinition based on a custom Content Type

I have created a custom content type that inherits from the Basic Page content type. I want to create a custom ListTemplate that will store pages, the library must use my custom content type I ...
0
votes
4answers
1k 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
2answers
1k views

How to foreach through a list and get distinct values from specific columns C#?

I'm able to loop through a list on sharepoint and get the information I need from selected columns, but how would I loop through a list and get only distinct values from a column in C#. For instance ...
0
votes
1answer
122 views

Getting variable from asp/aspx to workflow

I need to move a variable saved on a SP list item(LIST A) to a workflow that starts on the creation of a new item in a different list(LIST B). This new item on LIST B will be created upon pressing an ....
1
vote
1answer
1k views

There is no site URL in project properties. Where can I change it?

When trying to deploy a SharePoint app, the following error is shown: Error occurred in deployment step 'Uninstall app for SharePoint': Cannot connect to the SharePoint site: http://example.com/. ...
0
votes
1answer
480 views

Deployment from Visual Studio is stuck at “Installation is in progress”

When deploying a SharePoint App, the deployment is stuck. Visual Studio build output shows: Install app for SharePoint: Uploading the app for SharePoint... Installation is in progress (00:00:...
1
vote
1answer
184 views

Is is possible to create App Parts from an MVC project?

"https://social.msdn.microsoft.com/forums/sharepoint/en-US/93f5ec98-5aeb-40b7-add0-0e83280a6555/is-is-possible-to-create-app-parts-from-an-mvc-project" I am now interested to see if I can create an ...
1
vote
2answers
2k views

Visual Studio 2010: firefox as browser

Is there a way to use firefox as the standard browser with visual studio 2010? I have some problems when logging with internet explorer, so i use firefox for testing my sharepoint webparts. But when ...
1
vote
0answers
193 views

View property “InplaceSearchEnabled” in onet.xml ignored

i couldn't get the InplaceSearch displayed on my webpart through onet.xml. in my onet.xml file: <View List="Lists/Aufgaben" BaseViewID="1" WebPartZoneID="TaskTab"> <![CDATA[ &...
4
votes
2answers
12k views

How to read a User field value for a list item

I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
1
vote
1answer
345 views

How to deploy to path returned by GetClassResourcePath?

I'm using VS 2010 to create a SP 2010 web part. I want to include my images, css files and js files in the VS project, and have them be deployed to the correct location. My understanding is that I ...
1
vote
3answers
2k 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 Files\...
0
votes
1answer
84 views

Creating client side solutions

i hear people say they want to create client side solutions in visual studio, would that be applicable in the case of visual web part? if i create a visual web part and only write javascript code in ...
0
votes
2answers
57 views

Share point visual webpart with ajax modal popup

I am trying to update the text area displayed in the Ajax modal popup. I am updating the Text area with sharepoint list multiline text field. My spservices is wriiting the data correctly. But when i ...
0
votes
1answer
73 views

Solution deployed to one site collection changes same solution on another site collection

I have two site collections, SC1 and SC2. They both have the same solution deployed on them. The solution was deployed on both via Visual Studio's "Deploy" functionality, changing the the deployment ...
4
votes
1answer
3k views

Add list item through visual studio

I have created a list of links through Visual Studio. Now I want to add items to that list. How can I do it through visual studio itself? I am using visual studio 2013.
0
votes
0answers
132 views

'Add Solution': Object reference not set to an instance of an object

I have a WebApplication scoped feature and I am getting this error when I deploy. I have searched all over the internet, and the answers I have found are not much help. Here is the code that is ...
2
votes
0answers
44 views

SP url - Problem with alias

I have a problem when using an alias to access my Sharepoint (2013) site through code. I want to retrieve a document from a SharePoint library. In my browser address bar I can type either : http://...
1
vote
1answer
54 views

How to connect Visual Studio 2013 with Sharepoint?

What do I need to connect Visual Studio 2013 to a Sharepoint 2013 intranet site situated on a server that can only be accessed only form inside a local network? Can I do it with Visual Studio Express ...
0
votes
1answer
68 views

Do we must need to add hnsc address to host files?

I am facing issue of VS not detecting my sharepoint site url. I know how to fix it, but why bug is not still solved properly ? According to this blog, I should add it to host files, but when i ping ...
0
votes
1answer
338 views

Which event is triggered by SharePoint when the workflow is terminated in VS workflow?

I have created a visual studio workflow (ShaerPoint 2010 sequential workflow). When the workflow is started I am managing the permission on the workflow item. But I have a requirement that when ...
0
votes
1answer
421 views

How To Deploy Files Stored in Layouts From Module

I am trying to deploy a .ASPX file using a module in Visual Studio. In all of the examples I have seen the files to be deployed are stored within the module folder in the Visual Studio project. My ....
0
votes
1answer
74 views

Visual Studio Workflow Set People Field

I am new to Visual Studio Workflows, so please excuse my ignorance. I am having an issue setting the value of a People field. I have an Account Id coming from an InfoPath form. I need my workflow to ...
0
votes
1answer
23 views

SP2013 VS WF - add process dynamically

I'm using VS2013 to create SP2013 Workflow. I need to provide user with ability to choose additional approvers while WF is running. For example, normal approval process route is User A -> User B - > ...
0
votes
1answer
169 views

Problem with redeployment of Fields, Content Types and List Definitions/Instances

What I did: Create an Empty SharePoint Project Create a simple Text Field Test - (re)deployment and retraction of Solution are causing no problems Create Content Type which consists of this one ...
10
votes
3answers
8k views

Deploying EventReceiver project with target of WebApplication from VS fails when activating features

I am trying to deploy an event receivers project with a deployment target of WebApplication as part of my web parts package (also has a target of WebApplication) through Visual Studio and encountering ...
2
votes
2answers
1k views

“Error HRESULT E_FAIL has been returned from a call to a COM component” when executing FullTextSqlQuery?

I am using a FullTextSqlQuery to grab some data from a SharePoint instance. Initially I had a fairly simple where clause in which I filtered the results by the content type and everything worked fine....
1
vote
3answers
2k views

Good tutorial for my first Custom Service Application in SharePoint 2010?

I found this one, but it has a step that says to "Select the “WCF Service” project template...", which wouldn't make sense for adding a New Item (at least that doesn't sound right to me). I'm curious ...
9
votes
2answers
20k views

Difference between WebPart & Visual Web Part

I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010. Thanks!
0
votes
2answers
60 views

Provider Hosted App in VM

Is it possible to run a provider hosted app from a vm on the same server as Sharepoint? And if so should i do it or is there a better way? Thanks
2
votes
1answer
799 views

What is purpose of 'View' with 'BaseViewID' set to '0' in schema.xml of List Definition?

In Visual Studio 2010 when I create a List Definition the schemal.xml file looks something like this: <Views> <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE"> ...
2
votes
0answers
43 views

What is the RoadMap of SharePoint and for its Developer community? [closed]

My question is about what is the vision of Microsoft for SharePoint and what ways can we foresee will it affect us, the developers. Will server side technologies remain in priority What ...
0
votes
1answer
41 views

Connect Visual Studio to custom Pages

I would like to connect my Visual Studio to our Sharepoint Sites and edit them. I can see connections in the server explorer, but that is all. Can not open them. I really do want to move away from: ...
2
votes
1answer
815 views

Difference between Assembly Deployment Target set to “GlobalAssemblyCache” or “WebApplication”

When I view the properties for my SharePoint 2010 project I can see an option of Assembly Deployment Target which can be set to either GlobalAssemblyCache or WebApplication. From this question I was ...
5
votes
5answers
15k views

Custom web part deployment produces 'Cannot import this webpart' error

I have built an empty SharePoint project in Visual Studio 2010 with some custom web parts in it. When I've tested these on my local development machine they can be added to a page without any trouble. ...
0
votes
3answers
2k 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
4answers
58 views

Creating a development Environment SharePoint 2010

I want to install SharePoint on my laptop for development purposes. I'll probably have Windows7/8 in the laptop when purchased. The idea is to have a dual boot system, one for the original Windows7/8 ...