Questions tagged [visual-studio]

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

5
votes
0answers
185 views

Office ui fabric react not working with SharePoint hosted app!

I have created SharePoint hosted app using VS2015, and in that i have used Office ui fabric react components. I have installed it and other packages of React and React-dom using npm, App is ...
3
votes
0answers
103 views

Visual Studio Workflow Designer - can't access properties in GetODataProperties

I need to edit a workflow I created in VS, but now when I open the workflow in VS, I no longer have access to the specific properties in the "Get Properties" activity. I get the current item and ...
3
votes
0answers
578 views

SPO list with custom form in Visual Studio

I want to attach a custom list form using Visual Studio. After I added a form my solution explorer looks like this: I also changed the Deployment Type of the Test.aspx to "ElementFile". Now I ...
3
votes
0answers
40 views

Store SP 2013 Work Flow Audit Report in a List or Column in the same List

Has anyone came across any tutorials or links on how to store WF audit reports to a list or in the same list but on a column? I have scoured the net and I am not having any luck in getting the ...
2
votes
0answers
153 views

Error occurred in deployment step 'add solution': Value does not fall within the expected range

I'm getting this error trying to deploy my solution. Error occurred in deployment step 'add solution': Value does not fall within the expected range I' Using One Feature, and a Page Layout ...
2
votes
0answers
57 views

add Control on field date time

Is there a way to add a control on field datetime in schema.xml file without javascript and without c#. For exemple my date file cant be less than the current date . od date 2 must be more than date 1....
2
votes
0answers
58 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://...
2
votes
0answers
239 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
2
votes
0answers
26 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
2
votes
0answers
104 views

How do I utilize CustomTemplate property of BaseFieldControl

Using Visual Studio, I am creating custom templates for rendering Content Types in a SharePoint 2010 environment. If I want to control which fields, and in which order, I can elect to remove the <...
2
votes
0answers
40 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 ...
2
votes
0answers
673 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
1
vote
0answers
49 views

How to solve “Failed to deploy the manifest file to the Exchange server. The remote server returned an error: (400) Bad Request.”?

I am getting below error while running the outlook web app solution. Failed to deploy the manifest file to the Exchange server. The request failed. The remote server returned an error: (400) Bad ...
1
vote
0answers
45 views

2010 CSOM - Provision document set after creation

I have a requirement to programmatically create a document set in a library. I've done this successfully using the code below, however when I open the document set I see the yellow bar message '...
1
vote
0answers
59 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
1
vote
0answers
36 views

SharePoint Online Workflow With Visual Studio

I'm trying to learn do build workflows for SharePoint online with Visual Studio. I've been following a PluralSight training session and understand the concepts and can make all the various demos work. ...
1
vote
0answers
102 views

Cannot debug SharePoint Framework command set extension in Visual Studio Code

As mentioned in this guideline I am able to get debugging in VS Code working for a SharePoint Framework web part: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-in-vscode However command ...
1
vote
0answers
73 views

OnClick Submit Button and Populate 2 Lists

I'm new to C#, ASP.Net I am trying to populate 2 SharePoint Lists off 1 submit button. C# code: public partial class Default : System.Web.UI.Page { static Uri _site = new Uri("https:...
1
vote
0answers
214 views

The remote event receiver callout failed. Details: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost'

I want to host some Remote Event Receivers inside my Local machine to be able to test/ebug them. so i follow this procedure on how i can create low trusted Apps and host them on local IIs http://www....
1
vote
0answers
182 views

“Wait for field changes in current item” in visual studio workflow?

I'm developing sequential workflow for document library in visual studio. I want to wait for field changes in current item. I am seeking for the action Just similar to "Wait For Field Change in ...
1
vote
0answers
376 views

Sharepoint 2013 Hosted Add-in using React and React router

I have a reach JS app that uses react router. As a stand alone it works perfectly. I am now trying to use it in a SharePoint hosted app. I created the app using create-react-app from github. When I ...
1
vote
0answers
171 views

Create modified Subsites using CSOM C# or PowerShell

I am currently looking into solutions to optimize the create subsite function within SharePoint Online. I would like to have my SharePoint clients fill in a form or list with several configuration ...
1
vote
0answers
61 views

SharePoint copyTo moveTo with document library error

Using event handlers and workflows I am trying to archive a document library after a certain amount of time has passed. However I am having an issue with moving the document library. This is the code ...
1
vote
0answers
37 views

Upgrade SharePoint app fails

When I try to upgrade a SharePoint 2013 app with an integrated workflow (add-in created in Visual Studio) it fails. There was a problem accessing the file system on the server. Details: Cannot ...
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
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
86 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
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 ...
1
vote
0answers
173 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
24 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 ...
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
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': ...
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 : ...
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
0answers
129 views

Approval Workflow with variable number of approvers

I am attempting to create an approval workflow with a variable number people who need to approve the item. For instance if employee A is pretty low on the org chart he or she may have 2-3 people ...
1
vote
0answers
50 views

SP2010 VS2010 Sequential Workflow not able to create a Task in Tasks List With Custom content type

I have created the sequential workflow for three level approval workflow with while condition. I am starting the workflow manually using SOM since I need to update one of the fields later inserting ...
1
vote
0answers
212 views

SharePoint Online - Copy SharePoint List Items from multiple Subsites to a main site

I have a SharePoint site "Test", in which i have a Custom List "Test1 List". I also have a few Sub sites for the Test site and each subsite has a custom list associated with it (For example, Test2 ...
1
vote
0answers
70 views

SharePoint hosted app development, Less/Typescript and side-loading

I am doing some technology test for developing SharePoint hosted apps using Visual Studio 2013 in my SharePoint 2013 development environment. For that reason, I am trying to see how far I can push ...
1
vote
0answers
86 views

Can you customise and deploy List forms in a SharePoint Online environment using Visual Studio?

It is possible to use SharePoint Designer to create a new form, and then set it as the Display/New/Edit form for a library and we have done this for a few forms so far. However, this doesn't really ...
1
vote
0answers
744 views

InitializeControl does not exist in the current context Office365 (Sandbox solution)

I am attempting to deploy a Visual Web Part (Sandbox Solution) and I am receiving following error: The name 'InitializeControl' does not exist in the current context". I was able to deploy a test ...
1
vote
0answers
580 views

How to add SharePoint 2010 Lists.asmx as a reference to Visual Studio 2013 project?

I am doing the following steps: Add Service Reference Advanced Add Web Reference Enter URL and hit Go (I have tried this "https://spsite/_vti_bin/Lists.asmx?wsdl" and this "https://spsite/_vti_bin/...
1
vote
0answers
40 views

How to tell an ECT developed in VS to use credentials from Secure Store Service?

I am trying to develop an External Content Type using Visual Studio so I can use External Data Source columns in a SharePoint list. Most of the stuff I am finding online uses Designer, but I don't ...
1
vote
0answers
415 views

Deploying a list workflow without a list association (SharePoint 2013)

I am creating a workflow which I want users of certain sites in a site collection to be able to use. When they activate the feature, the workflow should be created and automatically get attached to ...
1
vote
0answers
250 views

Sharepoint loading slow — blank visual web part — is this normal?

I'm trying to optimize an external/public Sharepoint 2013, on-prem site. Interestingly enough I've found that sandbox visual web parts drastically slow the page down. I know it's not the code in the ...
1
vote
0answers
519 views

Local App Deployment fails because of an invalid Service Identity

After debugging an provider-hosted App of mine on Office 365, I am now trying to debug it on a local SharePoint Farm. I created a new development site collection just for that and configured ...
1
vote
0answers
51 views

How to Execute Powershell commands from a Sharepoint Hosted App?

So I need to create a Site Inventory(collection of all documents) as an OOTB Sharepoint Feature. This is the way I thought of doing it. Create a Sharepoint feature in Visual Studio wherein ...
1
vote
0answers
59 views

Debugger not coming to javascript written in usercontrol of visual webpart

I had written some javascript and called rest api to get user profile in ascx file within visual webpart. As attaching the process in VS with app pool and refreshing the browser does debugger to come ...
1
vote
0answers
134 views

Error on publishing workflow with custom activity

I have created a custom action using visual studio for SharePoint 2013. I have done this multiple times following instructions from various blogs and every time I get the below mentioned error. (0, ...