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

learn more… | top users | synonyms (1)

0
votes
1answer
731 views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
0
votes
2answers
503 views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...
0
votes
0answers
12 views

Cannot “Publish” wsp in Visual Studio 2013

I'm having problems with trying to create the .wsp file for a SharePoint project. I assume it was as easy as right-click the project, click "Publish", then set a Local Path. I was able to reach the ...
1
vote
1answer
614 views

Visual Studio cannot connect to sharepoint site

I have spent many hours at this issue and still unable to fix it: I read somewhere that one cannot deploy apps to sharepoint using the "system account", so I: Created a new account "admin1" in ...
1
vote
1answer
49 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 ...
0
votes
0answers
9 views

SharePoint 2013: Having nested folders in site template

I have created a custom site template in visual studio, and in the template I have a folder called CommonDocuments, which as the name suggests, contains several files that are used in a few of the ...
0
votes
0answers
12 views

Prevent Workflow Status Column From Being Added To Default View

I'm creating a sequential workflow in Visual Studio 2013 for SharePoint 2010. The first time the workflow runs, a column is added to the default view for the workflow status. I have two questions: ...
2
votes
5answers
6k views

Can't connect to the SharePoint site:

I started VS with admin rights, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 server. But now I'm failing to create a SharePoint project ...
2
votes
2answers
395 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
0
votes
1answer
460 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 ...
0
votes
0answers
28 views

Visual Studio Workflow: get individual Task Ids from Composite Task

I have a Visual Studio Workflow for my SharePoint Online App that assigns a composite task to 5 people. I am looking for a way to obtain all 5 individual task id's in the Workflow itself, so I can ...
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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
17 views

Segoe UI does not work on Mac [closed]

I need to use Segoe UI on Mac computers, but I don't know how it is works with license. Can I use Segoe UI on Mac, and if i can,how do i use it? I have tried using font-face but no without success.
0
votes
1answer
694 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
0answers
17 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[ ...
0
votes
1answer
401 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
3
votes
2answers
4k 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 ...
0
votes
0answers
11 views

No-Code Sandbox solutions NCSS template for visual studio

I working on an solution for SharePoint Online, and would like to be able to not have a virtual machine for developing the NCSS parts of the project. But with the Visual Studio template I would have ...
1
vote
1answer
45 views

How to change feature id in an existing Visual Studio solution

I have created a Visual Studio solution containing all the required design elements (like master pages and user controls) that I would be re-using in all my new applications. I created a visual studio ...
3
votes
1answer
736 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in VS2010 I use ...
1
vote
1answer
342 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
1k 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 ...
0
votes
0answers
11 views

The 'ListTemplateId' attribute is invalid - The value '100' is invalid according to its datatype

The XML for my EventReceiver is as follows: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="100"> ...
0
votes
1answer
34 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
1answer
516 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
2answers
21 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 ...
2
votes
1answer
1k views

Correct Way to Reassign Workflow Tasks in Visual Studio WF

What is the correct way to programmatically reassign a task to another individual in a SharePoint 2010 custom workflow? We do not want to simply change the person to whom the task is assigned although ...
0
votes
1answer
35 views

Sequential Workflow: The file has been modified by SHAREPOINT\system on

I have a squential workflow that takes Account IDs as plain text from a InfoPath input and converts them into a SPUser field. I can't get the the item to update bc an exception is throw on the Update ...
0
votes
2answers
31 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
1answer
31 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 ...
2
votes
1answer
1k 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
5answers
3k views

How to get count of list items in SharePoint 2010 if count is more than List View Threshold value?

I have more than 10000 items in my list. I have default List View Threshold value as 5000.I want to get the count of items programmatically. How can I get the count? I think here ...
0
votes
1answer
596 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
0
votes
0answers
21 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 ...
0
votes
0answers
19 views

How can I extract the InfoPath forms for a Visual Studio workflow from SharePoint?

I am looking to extract InfoPath forms from a SharePoint environment that are initiation / association forms of a Visual Studio workflow. The solution obviously puts the forms to the features folder ...
0
votes
1answer
1k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
0answers
13 views

Create Exchange mailboxes and lync accounts through SP

I have a requirement to create exchange mailboxes and lync accounts through sharepoint. Please tell me what will be the ideal way of doing it ? I have thought of enabling RPC on exchange and lync ...
1
vote
0answers
20 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 : ...
0
votes
1answer
25 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
47 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
39 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
0answers
9 views

Updates are currently disallowed on Get requets, Code behind trying to update list item

I am using the below code to get id from url and get list item, then update it. But i am getting an error Updates are currently disallowed on Get requets. To allow updates on a GET , set ...
0
votes
1answer
35 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
12 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
18 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
35 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 ...
6
votes
3answers
5k 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
927 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 ...
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 ...