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

learn more… | top users | synonyms (1)

1
vote
2answers
250 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
46 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
44 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 ...
0
votes
0answers
32 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 ...
0
votes
0answers
21 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: ...
0
votes
1answer
58 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
60 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
45 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 ...
0
votes
0answers
69 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
1answer
239 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 ...
0
votes
0answers
45 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
50 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
39 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 ...
1
vote
3answers
66 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
320 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
1answer
41 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 ...
0
votes
0answers
45 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
25 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
0answers
25 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
33 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 : ...
1
vote
1answer
42 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
0answers
14 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
129 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
140 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
23 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
20 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
62 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 ...
0
votes
1answer
57 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
2answers
39 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
234 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
38 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
21 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: ...
1
vote
1answer
191 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 ...
0
votes
4answers
48 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 ...
0
votes
0answers
20 views

Create a web template via visual studio

I have a little problem , I'm trying to create a simple web template from Visual Studio using this technique: ...
0
votes
1answer
13 views

Filter a list from a hyperlink?

I currently have a webpart written in C# that displays the latest news headlines from a SharePoint list. What I would like to do from that webpart is that when an item is clicked it returns the full ...
1
vote
1answer
540 views

Recomended starting point for creating custom SharePoint Online workflows with Visual Studio

Not typical question here on StackExchange, but hopefully somebody can point in the right direction to get started. I currently use SPD 2010 to create many workflows on our On Premise instance of ...
0
votes
0answers
45 views

Email current user in people picker

An Admin creates an item in a list. The admin then enters information onto the form. The Admin selects a user from the people picker and saves the item. It will then run a workflow. When the item is ...
0
votes
1answer
63 views

Programmatically enable Auto-approval for permission requests on community site collection

I've done some searching and cannot find a solution anywhere. I'm creating community site collections via event receiver. I need to enable "Auto-approval for permission requests" on each site ...
0
votes
0answers
30 views

Simplest way to connect a Visual Studio SharePoint App to my external Database

Hi all new to developing for SharePoint. As the title indicates I want to connect my Visual Studio SharePoint App that I have created to my external database. I have created the app and it works in ...
0
votes
1answer
118 views

Create Custom Unique ID

I have a requirement to create a unique ID for a list item in SharePoint 2010 where the ID is in the format of [ACC]-[YEAR]-[SEQUENTIAL_INTEGER] but the [SEQUENTIAL_INTEGER] part needs to reset to 1 ...
0
votes
1answer
85 views

Sync word custom properties with sharepoint custom properties

I had a custom property(columm) on a sharepoint library called 'Status'. Whenever we would save a document(.doc) on a library, word woul ask if I wanted to save the .dot template file(Even though it ...
0
votes
1answer
153 views

LookupSPListItemId and Person field in SharePoint 2013 workflow

I'm trying to use the LookupSPListItemId activity in a SharePoint 2013 workflow in Visual Studio. The condition I'm trying to set is when a person field equals a specific person. The problem is I'm ...
0
votes
1answer
114 views

Customize CQWP programmatically

Good morning! I am trying to customize a CQWP through Visual Studio. More precisely, what I have done so far is: Add OOTB CQWP to page Customize Query and Presentation fields CQWP is being ...
0
votes
2answers
125 views

SharePoint .wsp retraction error

I am deploying a solution by Visual Studio. I get the error during Retraction: The solution does not have a WSP file associated with it. I tried to do IISRESET and also to restart the server.
1
vote
1answer
93 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
1answer
46 views

Custom Action Location on Central Administration

I want to add a custom admin application page in central administration. I successfully deployed a custom Group on the default Central Administration Page with the Elements.xml. But now, I have some ...
4
votes
0answers
97 views

SharePoint 2013 Site Definition Toolbar Type Standard not showing

I have a problem with the toolbar type "standard" in SharePoint 2013. If I insert a XsltListViewWebPart with , there is no "New Element" button. And no "View Choice" and something like that. I've ...
0
votes
0answers
19 views

SPD remove ribbon buttons created in SPD AND in VS sharepoint feature!

2 buttons, one created in VS other in SPD. When I add that SPD button both are visible, when I remove SPD button both disappear! VS button works OK as long as I have at least one SPD made button on ...
3
votes
1answer
47 views

Visual Studio installed on UAT environment

I have UAT environment set up on my client's infrastructure. We don't have Visual Studio installed on it and basically when client reports an error on custom developed features I am digging through ...