Questions tagged [visual-studio]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
61 views

Can I use VisualStudio 2010 for SharePoint 2013 development?

I have some limitation in using development environment of Sharepoint. We have Visual Studio 2010 installed on Sharepoint foundation server machine. But we are not able to create webpart as VS2010 is ...
0
votes
1answer
89 views

Sharepoint dll for querying an ODATA API

I would like to call an ODATA service from a Sharepoint add-in, I am following the tutorial here: https://www.tutorialspoint.com/sharepoint/sharepoint_data.htm I have installed the Sharepoint Client ...
0
votes
1answer
1k views

Where are the SharePoint 2010 project templates for Visual Studio 2017?

I checked the box to install the Office dev tools during the VS 2017 installation, but I see that only SharePoint 2013 and 2016 projects can be created. If I open an existing 2010 project and attempt ...
2
votes
1answer
95 views

Create and deploy ListInstance without ListDefinition in a feature

My feature should add some lists to a Sharepoint 2013 site. I have tried to add a list with ListDefinition and ListInstance to my project and only add the Instance to the feature which should be ...
1
vote
0answers
98 views

establishing visual studio 2015 project connecting to SharePoint 2016

I'm new to SharePoint, but have knowledge in c# developing. I have a SharePoint site that already has Lists in it. I need to create a form (in visual studio environment) that could read and write data ...
1
vote
0answers
86 views

How can I create a DateTime for a specific time with the correct UTC offset in an SP2013 workflow in VS?

I'm trying to pause a workflow until 8 AM on a specific day. I am on the East Coast of the US: UTC -5. I can create a DateTime object with a time of 8 AM like this: new DateTime(DateTime.UtcNow....
1
vote
1answer
219 views

SharePoint Framework development using Visual Studio

I am going through the new development approach that is introduced in SharePoint which seems to be open source and suggested approach by Microsoft. If i look from developement perspective then it has ...
1
vote
0answers
56 views

Get foreign key in external content type to show up in list view using Visual Studio

How can I setup external content types in such a way that when in the list view of these external content types, I can jump between and possible lookup values to that other type? Note: No 3rd party ...
1
vote
0answers
87 views

Deploying Sharepoint Add-ins updates not updating

I have developed a SharePoint hosted Add-in and deployed it on our internally hosted SharePoint 2016 environment. This works fine, but if I update the project (for example make a list field required) ...
1
vote
0answers
62 views

Customise SharePoint Lists' EditForm & NewForm

I want to merge the EditForm or the NewForm of two Lists into One. For exemple :NewForm of List A and NewForm of List B The List A has an lookUP item from List B. Following the traditional Way , I ...
1
vote
0answers
12 views

How do I add a calendar properly in Visual Studio [duplicate]

I want to add a calendar to my Default.aspx. How is this done? My first try was: <asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" EnableViewState="False"> <...
0
votes
1answer
57 views

Sharepoint Add-in Calendar Format Broken in Default.aspx in Visual Studio

I am attempting to add a calendar to my Default.aspx in my sharepoint hosted add-in in visual studio. I used the default code-snippet for adding sharepoint lists. Here's what I added to my Default....
1
vote
1answer
203 views

Debugging SP solution on different server

Can we debug a SP 2010/2013 custom solution like Visual Web Part on a different SharePoint site which is not available on local machine but on a different SharePoint server? I tried to put a site as ...
2
votes
2answers
103 views

Move documetns with workflow

We are using SP 2013 on-prem with a separate server for Workflow (Workflow Service 2013). I am using Visual Studio to create a workflow. I want the workflow to be able to move the document it is run ...
1
vote
1answer
20 views

Why is Designer 2010 not adding my web part to the zone?

I'm currently working on a SharePoint 2010 site, and I've been using both Designer 2010 and Visual Studio 2010 to create Web Parts for the pages. One of the Web Parts I created in VS 2010 was built ...
1
vote
0answers
24 views

Sharepoint Designer 2010+ Add-In Development Not Documented

Well, I've been searching for a while around the MSDN documentation, questions here and other sites and even some books but I can't find any clear reason why there isn't any information about how to ...
0
votes
1answer
32 views

Debug multiple projects

I've got an issue when I want to debug two projects. When I attach one of project to all Sharepoint process, VS hits correctly my breakpoints. But when I want to attach a second project, it doesn't ...
1
vote
2answers
35 views

Is it advisable to develop web-parts using VB.net?

Hope everyone is doing well. our public facing website has around 50 parts and among those 50,23 webparts are developed on VB.net and remaining on C#.net, Sometimes performance of the website is ...
1
vote
0answers
177 views

My first Sharepoint Hosted App is stuck in “installtion in progress” inside visual studio 2012

I am working on my first Sharepoint-Hosted APP inside sharepoint server 2013. now i am using Visual Studio 2012, where i did the following steps:- create a new sharepoint hosted app. specify my team ...
1
vote
0answers
16 views

Committed project deleted by Visual studio solution is there any problem? [closed]

I have solution in VS2013. Our project changes once we committed it updated to Cloud forge. In that i have a 3 sharepoint projects in One Solution.Now i want to delete one project.If i delete the ...
1
vote
0answers
101 views

Trigger emails on business days every month excluding weekends and holidays [closed]

I am working on designing nintex workflow, I have a list which contains doc type and Frequency columns If I had to select doc type as report and frequency as monthly, the workflow should trigger ...
1
vote
0answers
26 views

Trying to Remove a SPWebConfigModification results in it being added to the web.config again

I am having an issue with SPWEBConfigModification. Instead of removing the item I added , it is adding a second copy of the added Line ! I am using SP2013 SP1 Aug 2016 CU. (I have changed the value ...
0
votes
0answers
156 views

Unable to add reference to “Microsoft.Office.Server.Search.Query” or “Microsoft.SharePoint.Search.Query” in ASP .NET Web Service

using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint.Client; using Microsoft.SharePoint.Client.UserProfiles; using Microsoft.SharePoint; ...
1
vote
1answer
372 views

How to add a files to site asset inside the sub sites?

I need to add some files inside the Site collection and subsite site asset Library, So I tried module to achieve this, It's working for the site collection, but It's not working for Subsites, Please ...
1
vote
1answer
80 views

How to get the hostname within a Visual Studio Workflow (SharePoint 2013)

it sounds very trivial but it actually isn't: For a Visual Studio Workflow on a list item I need the current hostname. I've got the relative List URL (like "/sites/SiteCollectionName/Lists/Listname", ...
0
votes
1answer
476 views

Unable to activate the feature while deploying the solution in sharepoint 2013?

I tried to deploy our solution in visual studio while activating the feature it throws an error message like these Error 2 Error occurred in deployment step 'Activate Features': Failed to load ...
0
votes
1answer
1k views

Display template js file not created while deploying the custom display template via visual studio in Sharepoint 2013?

I added Custom display template by using visual studio, Our custom display template is added but js files are not created. If I Unpublished the file then I publish again means it's creating , I tired ...
0
votes
1answer
671 views

Unable to deploy custom files to Style library in SharePoint 2013

I need to deploy the custom files like (CSS,js,images) into Style Library folder in SharePoint 2013 by using Visual Studio. I created a module and edited the element.xml as <?xml version="1.0" ...
1
vote
0answers
54 views

Design SharePoint pages using Visual Studio 2015

I'm working on SharePoint Online using Office 365. I was using Visual Studio 2015 to create a app (add-in) and show it in my SharePoint site. Now, I need to make the SharePoint site to more unique, ...
1
vote
1answer
68 views

how to detect the current user's permissions for a web part

In SharePoint 2010, I have custom Web Parts. In the Web Part Gallery, I grant read permissions to certain users to let them add these web parts to a page. Within CreateChildControls, how can I detect ...
1
vote
0answers
65 views

Visual Studio Workflow Deployment Error

I'm trying to deploy a 2013 Workflow and I'm getting the following error: Severity Code Description Project File Line Error Error occurred in deployment step 'Activate Features': ...
3
votes
2answers
167 views

Error in CAML query

Have I written the below CAML query correctly? Am I missing anything? I am encountering an error on below line of code. SPQuery spQuery = new SPQuery(); spQuery.Query = "<Where><And><...
1
vote
0answers
266 views

Sharepoint 2010 : not able to deploy new sharepoint solution

I was working on Sharepoint visual solution, all my webparts works fine, I don't know what happened but when I create new visual webpart (with label in it)I was not able to deploy error message : ...
0
votes
1answer
123 views

How can I create a SharePoint 2007 application page with Visual studio 2008?

I have downloaded Visual Studio 2008 extensions for Windows SharePoint Services 3.0 and create an empty SharePoint project (New => SharePoint => empty). However, I cannot find an item which create ...
0
votes
1answer
34 views

Sharepoint 2010, not able to add new visual studio webpart

I was working in project creating new visual webpart, but suddenly when I create new visual webpart (basic just with a label )and try to deploy it I have the following error : Error occurred in ...
0
votes
1answer
589 views

sp.debug.js Maximum call stack size exceeded

So I am trying to add sp.debug.js into my project in Visual Studio 2015 to get intellisense working for JSOM but the intellisense doesn't work and the sp.debug.js file (taken from SharePoint online /...
0
votes
1answer
509 views

validating people picker; allow submit only if all entries are resolved as valid

In people picker when I give an invalid id and valid id and click on submit button, both are resolved and list get updated with valid id. What I need is if I give no values in people picker and ...
3
votes
1answer
1k views

Error occurred in deployment step 'Activate Features': Failed to load receiver assembly

I get frequently this error when i try to update my solution using VS deployment method in the same environment , at first itry with recycling pool , retract solution from GAC and other cleaning ...
1
vote
1answer
83 views

Farm Based SharePoint Workflow requires Workflow Manager

We are working on SharePoint 2013 on-premises. I am new bee on SharePoint 2013 workflows. We have the following requirement for creating old 2010 type farm based workflows using Visual Studio. We ...
1
vote
1answer
19 views

Running Sharepoint Server/Foundation on a 32x system - is it possible

I'm a Sharepoint manager, and I've recently acquired Visual Studio in the hopes of deploying some more custom solutions. However, I work in Communications, and therefore am stuck with a computer that ...
0
votes
1answer
23 views

Disable Auto Creation of Features

Is there a was to disable to auto creation of Features in Visual Studio? Every time I add a new Element, it automatically creates Featurex. I have one solution, that every time I open it up, it ...
0
votes
1answer
61 views

Differences between deploying webpart through Visual Studio and Powershell

I have tried to google the basic concept of deploying webpart, I am confused. I have read that if we deploy through Visual Studio we are deploying it globally. I'm probably wrong on this info. But ...
0
votes
1answer
4k views

Deploy multiple projects in same solution

I have a solution with 5 projects, I need to know if there's a way to right click on the solution, and have a deployment order for the projects inside, instead of deploying each one individually. Is ...
1
vote
1answer
63 views

Deploying files from Visual Studio to SharePoint does not start publishing approval workflow

SharePoint 2013 - I have an out of the box "Publishing Approval" workflow set on a folder. If someone drags and drops a file into the browser window, or uses the "New Document" link to upload a file, ...
0
votes
1answer
32 views

VS 2010 Professional Trial Version for SP 2010 development?

Can I use VS 2010 Professional Trial Version for SP 2010 portal application Development ? Currently the customer doesnt have the license of VS 2010 proff. or ultimate editions. But because of the ...
2
votes
1answer
54 views

Why VS 2010 is best IDE for SP 2010

I need to find the links where Microsoft says VS 2010 Pro/Ultimate edition is the best IDE for developing solutions for SharePoint 2010. I know this question is an old question, compared to the ...
0
votes
3answers
1k views

custom timer job is running multiple times in SharePoint 2013

I have created a Web application scoped timer job in SharePoint 2013. This timer job is supposed to be running only once in a month , and should send an email only once . The problem i am facing is ...
1
vote
1answer
689 views

Moving large document library using CSOM - Sharepoint Online

I have a huge document library, in which there are thousands of document sets, containing more than 100,000 documents. My task is to move the document library and its content, to another identical ...
1
vote
0answers
35 views

How to modify custom aspx page when main solution package (wsp) is missing

I have a SharePoint site. "http://partner.acompany.com/_layouts/account/dhy/createsite.aspx". I have to modify the custom page i.e. createsite.aspx page. The main problem is that there is no ...
1
vote
2answers
311 views

Sharepoint Workflows with Sharepoint Online on Visual Studio 2013

When trying to create a new empty sharepoint project, I am getting this error: The required version of sharepoint foundation or sharepoint server is not installed on this system. Sharepoint must be ...