Questions tagged [visual-studio]

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

230 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
144 views

Embedding images files in sandboxed webpart

Fairly new to SharePoint development but have been asked to into developing some simple web part features for a solution we're working on. I need to add some basic image/logo files into the .wsp for ...
1
vote
0answers
816 views

Missing my custom content type in UI List instance

In visual studio I defined some content types. In addition I added each content type to a list definition and created a list instance from each list definition. When I install my solution in ...
1
vote
0answers
222 views

Can't get Custom BCS Connector with filters to work

I am trying to create a BCS connector in Visual Studio that connects to a WCF service. I first used an parameterless GetAccounts method as the source for the ReadList method, and the wanted to add ...
1
vote
0answers
1k views

How do I create a lookup field for a hyperlink field and display the URL?

I have a regular, out of the box, list of type "Links". I have created a custom list that includes a lookup field to the URL field of the "Links" list. I have created a custom xsl template file for ...
1
vote
0answers
217 views

Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring

The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no intellisense....
1
vote
0answers
111 views

Help understand ContentType/List upgrade

Everywhere i read on the web it says that Content Types and List once deployed through Xml files they cannot be updated anymore. I have created a VS 2010 solution, created a SharePoint List ...
1
vote
0answers
412 views

Restart an errored workflow programmatically

I am trying to figure out the best way to restart an errored out workflow. A little background: We get seemingly random error-outs (error and stack below) in a visual studio created workflow when ...
1
vote
0answers
186 views

Use Secure Store Credentials to connect to database with Windows Authentication in Visual Studio solution?

Background: I have an external content type that has been developed in a Visual Studio 2010 solution. This content type is based mostly off elements in a database that are accessed via stored ...
1
vote
0answers
1k 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 (...
1
vote
1answer
409 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 ...
1
vote
0answers
148 views

Techniques for load testing and baselining performance on a SharePoint site?

So far I have considered upgrading to Visual Studio 2010 Ultimate in order to get access to the testing tools. I also looked at the Visual Studio Load Test Virtual User Pack 2010, but I'm not sure if ...
1
vote
0answers
1k views

Fully delete a user from the User Information List (WSS 3.0)

I am having the same issue as this poster on MSDN, but the solution given did not work: http://bit.ly/Akz5RD This is also a follow-up from an earlier question of mine: http://bit.ly/wfjd13 NOTE: ...
1
vote
1answer
201 views

Custom field type - how inherit attributes from base field type

I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note). I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
1
vote
0answers
1k views

Unable to debug in an event receiver sharepoint 2010

When i debug in the event reciever(item adding) as soon as it reached the if condition i get the following error unable to automatically step into the server.The remote procedure could not be ...
1
vote
0answers
111 views

Create workflow that contains the state machine action

I'm using SharePoint Designer 2010 in order to use the SharePoint workflow. I need to implement a "State Machine" action. so I assisted with: the Visual Studio program (I Create a project that uses ...
1
vote
0answers
639 views

How should I go about modifying the Discussion Board?

So our client wants a Discussion Board, but wants to change the functionality and look 'n' feel significantly. We want to be able to deploy changes via a VS 2010 solution (farm) and a deployable wsp. ...
1
vote
0answers
464 views

Why is this Visual Studio workflow sending blank task notifications?

We have developed a custom workflow using Visual Studio 2010 in which we are using the CreateTask Activity. For some reason, the first time a task is assigned to a user, the user will receive a ...
1
vote
0answers
92 views

Visual Studio 2010 Workflow creation failure

I'm adding na new item do my sharepoint project. It is a sequential workflow, wizard appears and after a screen where he asks about type of workflow List Workflow / Site Workflow it disappears, no ...
1
vote
1answer
40 views

EventReceiver is working on local site where code is written.But when I deploy its wsp on another site it is not working?

I have written Event Receiver for a list on my local site on its item added event in that event receiver it creates subsite under a top level site. And updates a url in the list. This functionality is ...
1
vote
1answer
527 views

Error while publishing Provider-Hosted MVC App to catalog site

I am tying to publish SharePoint 2013 Provider-Hosted MVC App to my site. I am getting this error message: Parser Error Message: Could not load type 'Microsoft.SharePoint.WebControls.ListMenu'. ...
0
votes
1answer
8 views

How to connect AzureDevOps TFVS in Visual Studio Code

is there a way to connect TFVS in Visual Studio Code since Github private repository can only be shared for 3 persons.
0
votes
0answers
18 views

Read Write file using csom

I was wondering, if there is any suggestion to read write the files from local machine using CSOM. Scenario : i have one .xml file and one .txt file, now i need to copy content from .txt and paste ...
0
votes
1answer
20 views

How to tell which event triggered a workflow from inside the workflow?

I have a SharePoint 2013 workflow created in VisualStudio (not Designer). Originally this workflow only ran on ItemAdded, but now I need it to also run on ItemUpdated. Is there a way to tell from ...
0
votes
0answers
32 views

VS 2019 cannot deploy Sharepoint App - Missing AddSharePointResolver task

We have a Sharepoint App that we have been maintaining & improving for a few years now. The app is javascript/html code. I recently (about 3 weeks ago) moved the solution to a new computer and ...
0
votes
0answers
15 views

How to upload static aspx / html to SharePoint using Visual Studio

I have a tool that generates a set of html pages, they are just referenced within an index page (also a static html page). My main goal is to upload this group of pages to an on-premises SharePoint ...
0
votes
0answers
17 views

In my application, new workflows are running fine, but the old workflows are not running fine

My workflows are custom developed workflows using Visual Studio 2013. The Visual studio is migrated from VS 2012 3.5 framework to VS 2013 4.5 framework and SharePoint environment is also migrated from ...
0
votes
1answer
32 views

Missing dll error

I am getting this error that Microsoft.exchange.webservices can not be added to GAC while deploying solution. We have got solution from other team which work on their environment. When we trying to ...
0
votes
0answers
78 views

Unable to Debug Remote Event Receiver using Ngrok reverse proxy. ClientContext will be null + Error “iisexpress.exe has exited with code -1”

I want to test and debug a remote event receiver for my custom list inside sharepoint online. So i did these steps:- Inside our sharepoint online i created a new developer site collection. using ...
0
votes
0answers
11 views

Limited Custom List on Visual Studio

Why is it when I try to create a new List on Visual Studio, I do only get Document Library as the only option? Do I need to install other plugins?
0
votes
0answers
19 views

Sharepoint addin project cannot connect to Sharepoint site

I've been trying to set up a small test add in project for the corporate sharepoint online site. I have created the developer site (sharepoint online, not local) and when I go to it in my browser I ...
0
votes
0answers
22 views

How can I connect to on-premises TFS using visual studio code?

How can I connect to on-premises TFS using visual studio code? Is that possible the same way as visual Studio?
0
votes
0answers
122 views

How to call Javascript Function in Custom Login.aspx page

I've created a custom login page for FBA which has this hyperlink for windows login: /_windows/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F . When we try ...
0
votes
0answers
19 views

Visual Studio 2017: New SharePoint Add-In project does not complete

I've been able to create SPO add-ins using VS2017 just fine. However, for some reason when I now create a new project, VS2017 just stays in the status of creating the project (seems like it occurs ...
0
votes
1answer
38 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...
0
votes
1answer
36 views

SharePoint 2013: nativehr0x80070002ativehrnativestackativestack error when documents are uploaded to a document library

I am frequently experiencing an error in my SharePoint 2013 on premise environment when users try to upload a document to a document library. When a user uploads a document, the person is asked to ...
0
votes
1answer
19 views

SharePoint Hosted Add-in asking for credential

My scenario : I have created a SharePoint 2016 farm and created a simple hello world SharePoint hosted add-in. I have successfully deployed the add-in via visual studio in one of the site. When i ...
0
votes
0answers
553 views

field or property \“CreatablesInfo\” does not exist

I´m developing a Sharepoint 2013 on premise webservice and I consult many lists but in one list I have a error: field or property \“CreatablesInfo\” does not exist. Error is in context.ExecuteQuery() ...
0
votes
1answer
83 views

Office 365 sharepoint List connection in Visual Studio

I am trying to connect Office 365 sharepoint List in Visual Studio. But am not able to connect. Is there any solution for this? Or this is not possible at all? Many Thanks Savita
0
votes
1answer
33 views

SP item list join SQL item table in MVC ASP.NET

I'm new in MVC ASP.NET web app develop, I created an MVC WebApp hosted in AZURE App Service that CRUD into my SQL Azure Database. I used Visual Studio 2017 to do it, and it works great, it was ...
0
votes
0answers
70 views

Turn On Versioning in SharePoint Online Add-In List

I want to turn on versioning for lists generated via a SharePoint add-in deployed to SharePoint Online. I've added VersioningEnabled = "TRUE" to the Elements.xml of each list, but still get Vision ...
0
votes
1answer
308 views

SharePoint Online: Why am I getting Error 429 while side-loading Add-in to dev site?

Today, for the first time, I'm continually getting Error occurred in deployment step 'Install SharePoint Add-in': The remote server returned an error: (429) while trying to side-load a Add-in to my ...
0
votes
1answer
36 views

Migrating sharepoint solutions

I have a sharepoint application on a certain server but, somehow it got corrupted and i have another fresh sharepoint server. Is there a way i can move the source code to the new server and run with ...
0
votes
1answer
430 views

SharePoint App : Lookup field always empty?

I've been struggling for the last couple days to fix this issue with no success. I have a list with this content type and columns : When i go to my list containing the lookup field , which reads ...
0
votes
1answer
80 views

visual studio custom workflow after publish requires dettach attach to Sharepoint List

we have deployed visual studio workflow and attached to a SharePoint 2013 list. after some changes we do publish it from Visual studio, but changes does not reflects immediately, we need to ...
0
votes
1answer
34 views

How to create a job in SharePoint Central Administrator 2010 using Visual Studio 2008?

I am new to SharePoint and Visual Studio. I read some articles, regarding my topic. I understood,for creating jobs in SharePoint, we have to use the Visual Studio then we have to create SharePoint ...
0
votes
1answer
71 views

Error Deploying Simple Workflow VS 2013/SP2013 Foundation

need your help. Environment: Sharepoint 2013 SP1 Foundation, Visual Studio 2013 Community (also tried 2015,2017) with OfficeToolsForVS2013. I`m new to Sharepoint solution development via Visual ...
0
votes
1answer
279 views

Valid ClientContext Web Lists GetByTitle returns Null

I currently do have a working method in VB and proven through usage on other lists. Below will be my code Public Sub getWiki(ctx As ClientContext) Dim WaterIce As SP.List = ctx.Web.Lists....
0
votes
1answer
60 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....
0
votes
0answers
167 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; ...
0
votes
1answer
142 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 ...