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

learn more… | top users | synonyms

1
vote
2answers
280 views

WritingCustomExceptions to EventViewer using SPDiagnosticsservice

I want to write my customexception to eventviewer , After doing some research I found that I can do that using SPDiagnosticsservice Class. I want to override SPDiagnosticsService and write my ...
1
vote
1answer
615 views

Create document library structure in a Vs2012 project

Is it possible to create a Visual Studio 2012 project containing multiple document libraries with folders and subfolders that can be builded/deployed to a sharepoint site? My need is to deploy the ...
1
vote
1answer
985 views

Developing for SharePoint 2013 using Visual Studio 2012 offline installer

I am behind a corporate firewall and the company I work for has VS 2012 Ultimate. I want to start developing for SharePoint 2013 using VS 2012. I found out later that the default installation does not ...
1
vote
1answer
71 views

Can't use the Google API's in a SharePoint Online Visual Studio project

I'm developing a SharePoint Online app in Visual Studio 2012. I have added a link to the Google API JavaScript file. And as you can see from the screenshot's below taken from Chrome developer tools ...
1
vote
1answer
370 views

using $SPUrl when developing visual web part via visual studio 2013 or 2012 and ascx.g.cs file gets empty!

Im developing a Visual Web part for SharePoint 2010 via Visual Studio 2013. And i want to add css link to visual web part in .ascx file like this: <SharePoint:CssRegistration Name="<% ...
1
vote
1answer
241 views

Custom Workflow Feature not available in Site Features or Site Collection Features

I have a Sequential Workflow created in Visual Studio. In VS I can right click and deploy the package without issue. On the TEST environment I use the command add-spsolution and then deploy it to my ...
1
vote
1answer
2k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
1
vote
1answer
1k views

Custom Ribbon button in Calendar event edit form SP2013

I am trying to define a ribbon button that appears in the calendar new event and/or modify event form using Visual Studio. I am perfectly able to have a ribbon button appear in the list view and ...
1
vote
1answer
106 views

How to Add Custom Action To Task List in SharePoint 2013?

In one of my POC, there is a requirement to create custom action Ribbon menu for Task List. After lot of research I have tried below code snippet in empty module to add custom action. ...
1
vote
2answers
36 views

SharePoint 2010 web part on 2013 SharePoint environment

Can I create a 2010 visual web part on SharePoint 2013 environment using visual studio 2012
1
vote
0answers
68 views

SharePoint 2013 task url issue

Possible Duplicate I am working on SharePoint 2013 visual studio workflow, while creating the single task activity email body, I am using '%TaskSpecial: TaskUrl%' token <a ...
1
vote
1answer
28 views

Cancel a save of a list item, but still run the workflow

Is it possible to cancel a save of a list item but still run the workflow. How would I go about doing this? Example: I save an item in a list. It runs the workflow, but the save item does not appear ...
1
vote
1answer
218 views

Update current list item c#

When using a custom workflow activity with elevated privileges to create an item in a list. It creates two instead of one. What I am doing is that when a user create an item in the list . It displays ...
1
vote
1answer
59 views

SharePoint 2010 Farm Solution Deployment Error Using Non-admin Accounts

I am trying to deploy a farm solution using Visual Studio 2012 on SharePoint 2010. I receive the following error when I try to build or deploy using any admin group accounts other than the Farm Admin ...
1
vote
1answer
47 views

Deploy VS solution (List) to all users' “My Site”

I wrote a custom document library that we use to manage our Proof of Activities at work. I used VS2012 for development and our portal is based on SP2013. Is there any way besides PowerShell to ...
1
vote
0answers
76 views

Modify SharePoint sandbox manifest.xml

I need to modify the SharePoint sandbox manifest.xml. Can any one help me with how I can do this?
1
vote
0answers
35 views

“Unselect All” features when importing a site template to Visual Studio 2012?

In Visual Studio 2012 I'm importing a WSP of a site template using the "SharePoint Customization Wizard." The list of features displays with all items selected. I only want to import a couple ...
1
vote
1answer
71 views

Ordering Custom Properties

I am working on a Client WebPart, and while doing some simple debugging against office 365, i noticed that no matter how i structured the custom properties in the query string they were always laid ...
1
vote
1answer
25 views

In List Design View, List is disabled

I have two lists that the List toolbar item (Columns/Views/List) is disabled. Attempting to click does nothing. I've also noticed that when I deploy it, they don't render appropriately. For example, ...
1
vote
0answers
52 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
0answers
420 views

The workflow template has specified no FormURN for this page Error when Associating Out of the box SharePoint 2010 publihsing approval workflow

Hello i have associated a imported a out of the box SharePoint 2010 Publishing Approval Workflow from Sharepoint Designer 2013 to Visual studio 2012 with the import Sharepoint 2010 workflow project in ...
1
vote
2answers
391 views

Create infopath form using visual studio 2012 and bind it to list

Can we create infopath form with visual studio ? and can we bind the same with list ? please give me some links to do this task
1
vote
2answers
4k views

How to resolve “One or more field types are not installed properly” Error

I have an SP 2010 Visual Studio 2012/13 solution that creates Site Columns and a document library. The site columns are created correctly since I can see and verify them. The problem I have is with ...
1
vote
1answer
139 views

Visualstudio 2012 sharepoint workflow toolbox not visible

I want to create a designer custom action in SharePoint 2013. I use visualstudio 2012 but i can't view SharePoint toolbox . I want to create an activity with createtaskwithcontenttype . Thanks
1
vote
0answers
223 views

Missing “Deploy”-Button Visual Studio 2012

Yesterday I have installed Visual Studio 2012 Premium on my SharePoint 2013 Development Machine. I also installed the Office Developer Tools to get the SP2013 Project templates. Opening my SP 2010 ...
1
vote
1answer
112 views

Workflow.xaml - Copy to SharePoint root

When I'm writing Assemblies, I can copy to GAC and avoid re-deploying them each time I want to make a code change. When I'm writing ASPX forms, I can copy them to SharePoint root, maybe give an IIS ...
1
vote
0answers
37 views

Visual Studio generates 64 errors per custom form for a list

While creating a List Custom Form for Shareppoint 2013, Visual Studio 2012 generates 64 errors, (as visualized below) for every custom form added to the solution. The deployment just works fine as ...
1
vote
0answers
443 views

Create list/app on SharePoint 2013 Online using Visual Studio 2013 [closed]

I'm working on sharePoint 2013 Online. I try to create list using Visual Studio 2013. Only way that I have found is to create an app. But how I can build app without this address: and how to display ...
1
vote
0answers
808 views

Visual Studio 2012 not deploying SharePoint 2013 Workflow

I am trying to deploy a workflow (list or site) to an app web via a SharePoint Hosted App solution in Visual Studio 2012. Once I deploy the app, I noticed that the workflow isn't available in the ...
1
vote
0answers
196 views

Sharepoint List with Custom Form: setting the Content Type

I've been developing a list with custom forms using Sharepoint 2010 using this excellent article: ...
1
vote
0answers
311 views

Object refenrece not set to instance of an object - list template items

This may be a duplicate, because this error is pretty common in every part of sharepoint. However, the search function didn't find anything for my particular problem. To the problem: I have a List ...
1
vote
0answers
424 views

Upload clickonce to sharepoint

I'm following this tutorial to upload a clickonce application to sharepoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
2answers
1k views

VS2012: Visual Webparts Properties not showing?

I've created a Sharepoint 2010 Visual Webpart in Visual Studio 2012. The structure of the template that it generates is slightly different than in VS 2010. Previously, it would create the Webpart ...
1
vote
1answer
254 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
0
votes
3answers
30 views

SP2013 - Console app on DEV server unable to connect to PROD site

I'm working on a console application in VS2012 installed on my SP2013 dev server. The app is called from a command line and sets up a new FBA account using info provided by the user. When it reaches ...
0
votes
1answer
436 views

Trying to setup a Provider hosted app

We have an on-premise installation of sharepoint 2013 with an app domain configured. So far so good, I can create a Sharepoint Provider hosted app, where the Web-project runs on a local IIS. The ...
0
votes
1answer
41 views

Custom Workflow activities in SharePoint 2013 for 2010 Workflows

We need to create custom workflow activity in Visual Studio 2012 for SharePoint 2013 using 2010 workflows. Can someone PLEASE guide me on how to do this as I am finding blogs for either SharePoint ...
0
votes
1answer
195 views

custom code as a part of SharePoint 2013 Workflow

I am creating a SharePoint 2013 workflow project using Visual Studio 2012. I have added a sequence where i need to update some database table. Is it possible to write custom code as a part of ...
0
votes
2answers
1k views

how to specify icon image for 2013 SharePoint custom app built in Visual Studio 2012?

I am creating a "HelloWorld 2013" app in Visual Studio 2012 that deployes to my on-premises developer site. The app deploys to the site with no problems. My goal is to change the app icon (for ...
0
votes
2answers
148 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
0
votes
1answer
226 views

How to use versioning when using same .snk file for multiple SharePoint projects in the same solution?

I am trying to find the right way to set up my SharePoint solution with miltiple projects (in VS2012). In that, I am having difficulty understanding the concept of reusing the strong name key file. ...
0
votes
1answer
1k views

Users can see (and approve!) each other's tasks

Is there a quick and easy way to prevent users from seeing and approving each other's tasks? I do NOT want to create a task list per user and would like to avoid setting up item level permissions / ...
0
votes
1answer
86 views

wsp activation does nothing

I have created a site template, downloaded and imported my WSP into Visual Studio 2012, selected the needed lists and dependent columns. When I deploy to a new site collection from Visual Studio ...
0
votes
2answers
42 views

Using sharepoint 2010 on another server in VS?

How can I use sharepoint 2010 that is on another server in VS? When I try to create a new project for creating visual web part, A message "Sharepoint not installed on this client" is showed.
0
votes
2answers
515 views

Sharepoint 2013 App won't retract when debugging stopped

I'm trying out simple SP 2013 SharePoint hosted apps against an Office 365 2013 dev site. When I start debugging the apps install fine; when I stop debugging no retraction occurs, I'm having to ...
0
votes
2answers
780 views

Get rid of a TimerJob/Feature which throws an exception

I created a TimerJob which is activated upon Feature activation. Because I didn't know better, I forgot to add an public default constructor and now I always get this exception: "Error occurred in ...
0
votes
1answer
60 views

Difference between document library and document library instance

I have added a document library via VS 2012 project. I noted that document library and document library instance added. whats the difference between two? which one I should add to feature for ...
0
votes
1answer
1k views

SharePoint 2013 development from Visual Studio 2012

Do I need to install VS 2012 after SP 2012. I don't see SP 2013 Project options only SP 2010. I install VS 2012 before SP 2013.
0
votes
1answer
76 views

C# - Creating new SharePoint user in .Net Membership provider

I have an external-facing SharePoint site that uses a .Net membership database to house claims user accounts. I'm attempting to build a solution in C# that creates a new user account in the database ...
0
votes
1answer
420 views

Get User from List Item in Visual Studio 2012 workflow for Sharepoint 2013

Got to implement a seq. workflow based on http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx#bm3 Notice: My Entity Type is "ListItem" (the workflow will be bound to the ...