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
0
votes
1answer
44 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
622 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 ...
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
68 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
3answers
2k 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 ...
0
votes
1answer
201 views

Save a canvas image to SharePoint server

I have a page where users can paint on it. This area uses HTML5 canvas. Now I want put an button for users to send that image to the server. I know I can do this by ajax in client side and web-...
0
votes
1answer
171 views

How to do the SharePoint development in Visual Studio Express version

As per the various blogs VSTO is not supported in Visual Studio Express. For VSTO you needed the Ultimate, Premium, or Professional versions. So Is there any possibility or any work around available ...
0
votes
1answer
98 views

Calendar Issue, overlays issue on events in SharePoint 2013

When the Calendar loads first time, The event overlays appears on the top of the Calendar as shown in the figure 1) . But when we refresh the page, the overlay event goes back to its original place ...
0
votes
2answers
499 views

Cannot edit Javascript files stored in Office 365

I have a sharepoint online developer tenant. I created a document Library called Javascripts. I open the Library in explotrer view to edit the files. When I edit a file with Visual Studio 2015, I ...
0
votes
1answer
76 views

How to set ContentTypeID in CreateTaskWithContentType activity using VS 2013

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". I created a new content type and select the "Task" as parent, then added this ...
0
votes
1answer
19 views

How to open and manipulating an already developed and deployed SharePoint feature using visual studio

After SharePoint migration from 2010 to 2013, I have imported a solution, using power shell, which was developed for the SharePoint 2010. Now the feature is deployed and is available but does not ...
0
votes
1answer
140 views

Sharepoint app, missing styles and images when debug

Trying to run a simple Sharepoint 2013 App in Visual Studio (however, the same thing happens with all Sharepoint-store installed apps). I have set a url http://sharepointsrv/sites/devtest/ as the site ...
0
votes
1answer
295 views

How to add a 3rd party library in sharepoint 2010 event receiver

I am writing a SharePoint item event receiver to OCR documents that are uploaded/added to a library to generate searchable PDF for that document. I'm using a third party library (dll) "tesseract.net....
0
votes
0answers
97 views

How to attach file in sharepoint list using sand box solution

I have tried so many ways and I searched so many articles, I didn't get any solution for attaching file in a SharePoint list using sand box solution. I got solution using farm solutions. How can we ...
0
votes
1answer
537 views

no style for SharePoint:DateTimeControl when add bootstrap CSS

when i try to set a bootstrap style for my sharepoint page by adding css file, all SharePoint:DateTimeControl in my page loose their style and become something like this :
0
votes
0answers
93 views

Visual Studio Sequential Workflow : spexception was unhandled by user code

I have created simple sequential workflow in visual studio with one application page(which has 3 buttons like Approve,Reject & Close buttons) for editing the task. i deployed it to site collection ...
0
votes
1answer
327 views

Cannot validate SharePoint URL in Visual Studio

Using VS 2013 Update 4. Office tools Udpated. SharePoint 2013 installed locally. I can browse the site as expected. However, when I go to VS and try to create a solution I get this I also cannot ...
0
votes
0answers
2k views

Operation is not valid due to the current state of the object. The Solution installation failed

I have created a new sharepoint 2013 project to add custom site columns by following these steps https://msdn.microsoft.com/en-us/library/ee231593.aspx now i want to deploy the solution to another ...
0
votes
0answers
18 views

Need guidance for creating a web part

I wanted to create a SharePoint Visual Web Part using VS2013. Web Part will show some Google Charts. Data is fetched from a SharePoint List and manipulated using DataTable and Data will then bind to ...
0
votes
1answer
39 views

Improper feature Id attribute error

Hi I am getting Improper feature Id attribute error. I try to deploy a feature to a site using visual studio 2013. google cant help me so i ask here. this is my feature.xml: <?xml version="1.0" ...
0
votes
1answer
72 views

Sharepoint list item permissions for manager of creator

Im creating a SharePoint application where a user puts their tickets. The ticket will be restricted by permissions to only be accessible by the creator, assignee and group of users which are ...
0
votes
2answers
20 views

Where is the solution's webPart I have published on my sharepoint site?

I work on SharePoint 2013 and with Visual Studio 2013, I have published a SharePoint solution on my SharePoint Site. But in this solution I have created a Web Part in C# and I haven't found this in my ...
0
votes
0answers
595 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
0
votes
1answer
1k views

SharePoint Connection Error, Microsoft Visual Studio

I am receiving a SharePoint Connection Error when connecting to Visual Studio 2012 Sandbox or Farm Solution when I create a new project. Here is the Error. SharePoint 2013 on Premise, Alternate ...
0
votes
1answer
40 views

Stat Workflow after certain time if not started already manually

I have a document library in Sharepoint Online with a Visual Studio Workflow that must be started manually after adding a document to a library. However, I want to automatically start the Workflow ...
0
votes
1answer
32 views

Sharepoint 2007 sequential workflow in VS 2008

I installed Visual Studio 2008. I try to create Sharepoint 2007 sequential workflow. As soon as I hit: New project -> sharepoint 2007 sequential workflow I get the error: could not load file or ...
0
votes
1answer
136 views

Can't debug SharePoint 2010 on a SP 2010 farm environment

I'm told I can't debug on a farm environment - one admin server, one web server, one SQL database, all separate boxes. But it seems like something you'd need to be able to do, so I'm looking for ...
0
votes
1answer
308 views

How to get inner content of Content editor web part Programatically using Client side Object model

I am unable to get Inner content(rich text value) of Content Editor web part, Please Provide some code sample on how to do this
0
votes
1answer
133 views

Lookup list does not exist error

While looping through my sharepoint's list fields, I found that there are some "in-built" Sharepoint fields (for example, Check In Comment) that are lookup fields. However, when I try to use ...
0
votes
1answer
208 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
1answer
521 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
305 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
1answer
26 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
4answers
86 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
109 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
170 views

How to apply customization through Visual Studio to the SharePoint online?

We have an existing SharePoint online site. Now we are required to introduce some changes in functionality. Can we do it through Visual Studio and send the change to SharePoint Online site? Will it ...
0
votes
1answer
26 views

Associate external content source with list item

I have a custom list with URL column. This URL will be used for crawling external content (e.g. network folder) and I'd like to associate search results with this list item. e.g. Search result ...
0
votes
1answer
93 views

SharePoint Developement | Necessary to open visual studio with “Run as Administrator”?

I have created new environment for SharePoint development, added developers as domain user in AD. In my comapny there is a policy that no one has administrative prevelages. When I start Visual studio ...
0
votes
0answers
124 views

URL field in sharepoint : Points to Control Template when http removed

We have a requirement to display urls based on logged in user . We created a single line of text for url storage in SharePoint list. C# code pulls the data and displays correctly . All is well when i ...
0
votes
0answers
213 views

Sandbox Solution: Why won't it update when published?

I have a weird problem in VS 2013 working with a SharePoint NCSS Sandbox Solution. Whenever I right-click and Publish the .wsp locally on the file system, it publishes an old version of the .wsp. By ...
0
votes
1answer
994 views

Extending the Content Search web part to display a “Show all” link

I want to use the Content Search web part to display a site's latest news articles. Also, I need a "Show all" link to the bottom of the web part - this link would take the user to a search results ...
0
votes
1answer
22 views

How to handle this assignment

I have a blueprint that i am supposed to create on sharepoint. I do not have much experience with sharepoint yet so i am not sure if i have decided on the right track. I think not so maybe you guys ...
0
votes
1answer
782 views

Option to upload and download file to SharePoint Document library

I want to give option to user on .aspx page to upload and download file to SharePoint Document library. I created an ASPX form page. There is an option to upload / download the document for storage. ...
0
votes
1answer
30 views

Entries in the web config are constantly added

I have an issues with the web config entries for safe controls, for some controls i have added a safe control to the file. I've done this in visual studio 'Safe control entries'. But any time i deploy ...
0
votes
1answer
690 views

How to get document title in a workflow (2013) developped with Visual Studio 2012

I have got a 2013 workflow (developped with Visual Studio 2012) on a document library. It starts when a new document is created. How can I get the document title to use it in my workflow? Thanks ...
0
votes
0answers
149 views

Add all DLLs to GAC?

My SharePoint 2010 solution has two projects, one responsible for the back end (WCF web service) and one for the front end (webparts). I added the DLL from the back end to GAC via Visual Studio ...
0
votes
0answers
43 views

Deleted List instance in Visual Studio for a list definition, how to get it back?

I have deleted list instance that Visual Studio created for me, how can I recreate it in Visual Studio using list definition?
0
votes
1answer
101 views

visual studio list workflow / move from test to live

I created a sharepoint list workflow on my test environment. On creation i had to select a list instance in the GUI. Now my workflow is finished and i want to move it to my live environment. The ...
0
votes
1answer
708 views

InfoPath 2013 data connection error message

A developer has created an InfoPath form (Designer 2013), the form has some custom code behind the scenes, it also has 2 drop down option boxes that connect to a list on a SharePoint 2013 site. When ...
0
votes
1answer
65 views

Visual Studio sharepoint list as a database without Sharepoint Server

I have installed Visual studio. I want to create web tool which should use SharePoint List as a database. I should not install SharePoint Server, it is not approved for my team. To create a project ...