Questions tagged [visual-studio]

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

228 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
55 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
71 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
66 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
282 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
1answer
76 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, ...
1
vote
0answers
36 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
140 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
1answer
201 views

SharePoint 2013 Add-In workflow - start additional task while waiting for completion of others

I'm working on custom approval workflow. The process assumes that each approver can invite other people for approval. For example, "Hey! We've forgot Tom! He should look at that document!". The ...
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
216 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
1answer
338 views

Visual Studio authentication issue with SharePoint app

I am working on a SharePoint app in visual studio and am running into issues when attempting to debug. I press start and as expected the Connect to SharePoint window pops up asking me for my ...
1
vote
0answers
74 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
1answer
80 views

Existing InfoPath form to Visual Studio

Can we convert existing InfoPath 2010 form to visual studio and make it applied to list? I am using SharePoint 2010 and InfoPath designer 2010. We have an existing InfoPath form used by a list in our ...
1
vote
0answers
92 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
782 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
643 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
1answer
1k views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another site(...
1
vote
0answers
422 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
2answers
293 views

Access denied during TimerJob activation

I have a custom timer job that kicks off a workflow on a items in a Custom list. When trying to activate it I encounter this error: 09/08/2015 11:16:26.93 w3wp.exe (0x1B170) ...
1
vote
0answers
266 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
536 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
54 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
1answer
490 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[ &...
1
vote
0answers
61 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
1answer
377 views

Programmatically Start Workflow Sharepoint 2013 Out of Range Exception

I am trying to programmatically start my WF in Visual Studio and deploy it along with my solution into SharePoint 2013. The WF is in the same solution file as my ASP.NET web form and code behind. I ...
1
vote
0answers
135 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, ...
1
vote
0answers
16 views

wcf.cs file generated by tool

I am porting a SharePoint project from one SP 2007 server to one SP 2010 server. Among the files that make up the project, I found a file called wcf.Project.cs. It's tens-of-thousands of lines long ...
1
vote
0answers
31 views

ASP.Net Web Form Emailer to Sharepoint 2013

I'm new to both ASP.Net and SharePoint development and have been tasked to convert an existing web form to a SharePoint 2013 solution. The web form is pretty straight forward; users enter line items ...
1
vote
0answers
39 views

InfoPath to Outlook compatibility (2010)

I have created an InfoPath (2010) form to use for a weekly update. The user submits the details in the repeating fields and the form submits to a SharePoint List and it should submit to Email. The ...
1
vote
0answers
62 views

Editing HTML in pages or content editor with software

I would like to do some advance customization in my wiki pages or content editors. For this, I use the HTML function, but the editor where I paste the code is not very user friendly. Is there any ...
1
vote
0answers
31 views

SharePoint 2007 solution in Visual Studio 2010

I have a question regarding building a solution in visual studio 2010 for SharePoint 2007. So basically I have a SharePoint 2007 and to maintain it from central location, I would like to move the ...
1
vote
0answers
121 views

White rectangle background when i scroll SharePoint Modal Dialogbox

I'm facing a strange issue. Couldn't find the solution for this on the internet. I'm using a SP.UI.ModalDialog.showModalDialog in a SharePoint web part. Issue: When this dialog box is displayed and ...
1
vote
0answers
127 views

Multiple items using Multi lookup using visual studio

I'm creating a list which has two multi lookup columns to a document library in our project. These columns are Title and Created date. I want to update the Created date column in my list with the date ...
1
vote
1answer
98 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
1
vote
0answers
1k views

Can the choices in a Field Type=Choice be updated when referenced in Content Type

Using Visual Studio I am creating several custom Tasks to be created in a Workflow. Each of the Tasks have the same fields -- an area for appending comments and a Choice field for indicating where the ...
1
vote
0answers
45 views

Repeated Column Definitions when developing List Template

I am using Visual Studio to create a state workflow. As part of my solution I am creating a custom Document Library template. The template includes the required custom content type and some custom ...
1
vote
0answers
291 views

create and use nested master page in aspx page as module for sharepoint 2013 using visual studio 2012

I have added one aspx page by taking Module in Visual Studio. I have to do something like; I have to show messages for error and successful completion of the task i.e. Item added successfully I have ...
1
vote
0answers
588 views

why is Gridview moving infinetly to the right in visual studio 2010 designer view

In visual studio 2010, I have a gridview, with another inside, this has been working fine for 3 weeks, but today, it randomly begins to move to the right in designer, not when deployed, its jumping a ...
1
vote
0answers
138 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
0answers
252 views

How can i extend the rich text editor behavior?

I want to extend the behavior of RteUploadDialog.aspx. When inserting a image in Rich Text Editor, i would like to upload the image to another server Image Library. I guess i could create an ...
1
vote
0answers
1k views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from https://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
1
vote
1answer
738 views

Can not open the package designer in visual studio 2010

I can not open the package designer in a SharePoint project. When I double-click Package or when I right-click Package and then select "View designer" then the XML file Package.package is displayed. ...
1
vote
1answer
118 views

Switch view of a custom list

How can we switch views of the list which is created on visual studio? SharePoint designer solution or code solution?
1
vote
0answers
113 views

CopyItemActivity how to configure

I want to copy an item using a workflow in VS. So i've used the copyitemactivity. In the properties what do i put in the ListItem? I want to reference the current item the workflow is operating on. ...
1
vote
0answers
277 views

Can we deploy a workflow created as a farm solution?

Can we deploy a workflow created as a farm solution on a remote server and associate it with a particular document library within the site?
1
vote
0answers
206 views

How to make a connection with SharePoint's simpleformwebpart?

I am using SharePoint 2010. I primarily work out of SharePoint 2010 Designer, and have some experience with visual studio 2010. I currently have a log-in page that my "Form" members go to, to log in.....
1
vote
0answers
64 views

Custom List deployed using Visual Studio 2010 unavailable under All Lists -Closed

I tried creating a custom list by the method mentioned in this tutorial by Saurabh Khatri. I deployed the list to another site. After deployment the instance of the list was visible in the Quick ...
1
vote
1answer
62 views

Add configurable field to workflow builded in VS

I have created a workflow in VS which doing some logic. I would like to add some configurable text field so that the SharePoint administrators can change it. For example this is a text field with ...
1
vote
0answers
58 views

Getting suggestion for people on typing in textbox

I want to build a technique in which if users start typing some name into textbox, then they should be able to get suggestion for matching people's name as drop down list. The names are assumed to be ...