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

learn more… | top users | synonyms (1)

0
votes
0answers
7 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
7 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 ...
2
votes
1answer
565 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in VS2010 I use ...
0
votes
0answers
6 views

How to get a PrincipalID from Announcement list instance in SharePoint 2013 workflow

I am trying to create a custom workflow project using the steps mentioned at http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx. When getting properties ( such as "CreatedBy") ...
1
vote
2answers
77 views

Creating/editing Sharepoint 2013 columns with VS2013

Firstly, I'm very new to SharePoint, just the 6th day working with this powerful tool. The problem I'm facing which I can't solve is how to edit for example existing attachment column for list for ...
0
votes
5answers
3k views

Event Reciever Custom Error Message Page Sharepoint List 2010

I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing ...
0
votes
2answers
16 views

How do we make a choice whether to create new webparts as projects in solution or new items in project?

In VS we create a solution. Then, we can create multiple projects under this. Also, we can add multiple new items under each project. Suppose requirement is to create a webpart, then how is decision ...
0
votes
0answers
10 views

How do I check if a collection is empty?

I can't figure out how I can do a simple null check on a Collection variable in a workflow. The variable is populated by a GetDynamicValueProperties activity, so it can (and will be, under certain ...
0
votes
1answer
26 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 ...
0
votes
1answer
34 views

create a custom ListDefinition based on a custom Content Type

I have created a custom content type that inherits from the Basic Page content type. I want to create a custom ListTemplate that will store pages, the library must use my custom content type I ...
0
votes
1answer
361 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
1
vote
0answers
27 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
1answer
437 views

need to display image of the user in the people picker, Sharepoint 2013?

In the people picker, the attributes it shows are name,designation and their online or offline status, Is it possible to display the image of the person?
0
votes
3answers
5k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
1answer
47 views

How to show/Hide Data in dropDown field in a list depending on other list boolean field

I have two lists; Cars{brand,color,price} and Colors{designation,disponibility}. I made the field color as a lookup field to display colors from colors list. My problem is that i ONLY want just to ...
0
votes
1answer
31 views

Retrieve all lists and libraries Sharepoint Online

I'm trying to retrieve all lists from my online tenant from Visual Studio. After much fumbling and unsuccessful attempts with: ListItemCollection listItemCollection = oList.GetItems(query); and ...
0
votes
1answer
42 views

Cleanest way to do multiple response.redirects without page refresh?

I am trying to develop a simple web part in VS that will pull data from a text box, construct a URL with the data and open a new tab using OnClientClick="aspnetForm.target ='_blank';" and using this ...
1
vote
1answer
42 views

Branding the suiteBar in SP 2013

I need to rebrand default look of sharepoint suiteBar. I have no problems with logo or custom links but I need something more. I need to change whole look of suiteBar - background color, height, ...
0
votes
1answer
479 views

Help with Blog EventReceiver, not firing

Ok so I have a blog site and I need to change the name of the author of each post to 'Anonymous' after he saves the post. I created an EventReceiver project in Visual Studio and gave the URL ...
0
votes
1answer
496 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
1
vote
2answers
319 views

Reading contents inside PDF file

How can i traverse the contents present inside PDF file. Suppose i have PDF documents inside a document library and I need to read contents inside PDF file to know the type of PDF file whether its a ...
1
vote
2answers
1k views

VS2012 Debugger Not Hitting breakpoints

I've got the FBA2013 pack installed and working beautifully on our SP2013 farm. I'm adding some custom fields to gather more user information, but I cannot get VS2012 to hit any breakpoints I set. The ...
0
votes
1answer
399 views

How to customize the output of User profile records using Visual Studio with the help of XSL

I have configured User Profile Synchronization Service on my Portal and I want to develop a custom Visual WebPart "Employee Directory" to display criteria based results fetched from User Profiles as ...
0
votes
1answer
25 views

Inheritance of Content Types in a Single Feature

I am having the same issue as seen in http://stackoverflow.com/q/9699451/240372 yet the solution does not work for me. The ID's for my Content Types are the following A ...
0
votes
1answer
34 views

Distinct values of SPFieldUserValue List

I'm working with visual studio 2010 and I have this list: List<SPFieldUserValue> directeursDelegues = (from SPListItem agence in webSite.Lists[agenceGuid].Items ...
2
votes
2answers
350 views

How do i send user back to edit item dialog when event receiver comes back with an error

I am creeting an event reciever that ensure that my list has unique items based on two columns. If I find a duplicate I wish to do one of the following: display a dialog which states a duplicate has ...
3
votes
1answer
259 views

Blog Post Read More

I'm using SharePoint 2013. In our blog post we often use allot of images and text so the current layout just doesn't work. I'm looking for a way to display a link to a read more page.
12
votes
4answers
10k views

Feature with id already exists - force option

I'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio: Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been ...
0
votes
0answers
6 views

Change the Type of a deployed ListTemplate

We need to change the Type attribute of some deployed and in use ListTemplates because of the problem discussed here. What is the correct way to do this without losing data?
0
votes
1answer
29 views

'Alert Me' does not work on custom lists

We have several custom lists which are all deployed using WSPs along with some web parts to a SharePoint 2010 installation. Every time a user clicks on the 'Alert Me' button on a custom list or an ...
0
votes
0answers
8 views

How to have environment specific details in Declarative ECT,VS 2012, SP 2013

I have developed a declarative ECT from VS 2012 to connect and read data from Oracle. I have to specify "RdbConnection Data Source" property that points to Oracle DB. How to have that property as ...
4
votes
4answers
4k views

Page Layout editing in Visual Studio: “Unrecognized tag prefix”

When editing a Page Layout in Visual Studio 2010 the 'asp' prefix is not recognized. For example: <asp:Content contentplaceholderid="PlaceHolderBreadCrumb" runat="server"> Has 'asp' ...
2
votes
5answers
2k views

Problem connecting Visual Studio 2013 to SharePoint 2013

I'm having a big issue in connecting Visual Studio 2013 to SharePoint 2013. When I create a project in VS2013, I choose SharePoint Empty Project and then the URL of my SharePoint site, when I click on ...
1
vote
4answers
4k views

Can't connect to the SharePoint site:

I started VS with admin rights, I'm currently in trouble setting up a SharePoint 2010 project. Today, I installed VS2010 on our new SP 2010 server. But now I'm failing to create a SharePoint project ...
0
votes
0answers
13 views

Can't create SharePoint 2013-Empy Project in Visual Studio 2013 [duplicate]

I can't create a SharePoint empty project using Microsoft Visual Studio 2013. I get this error: The required version of SharePoint Foundation 2013 or SharePoint Server 2013 is not installed on this ...
1
vote
2answers
554 views

Custom XSLT for taxonomy field in xsltlistviewwepbart for SharePoint 2010

I'm trying to modify the out-of-the-box rendering of the xslt list view webpart to collapse the terms, and show (..more) if there are more than 1 term in the field. I already did this for an "Authors" ...
0
votes
0answers
24 views

Timer Job - Deploy WSP from VS2010 Vs Management shell

Help me to understand about deployment of Timer job from Visual studio 2010 and management shell . Software: Sharepoint2010 Visual Studio 2010 .NET 4.5 My Experience: I wrote timer job with ...
0
votes
2answers
575 views

Create a survey list through visual studio

How can I create a survey list through visual studio? I am using sharepoint 2013 and visual studio 2013.
0
votes
2answers
121 views

How to deploy an EventReceiver which writes to SQL Server correctly

following scenario. I have a client machine on which I have all the permissions for: SQL-databases (db_owner) Full access to a Sharepoint Application. Created a Sql-account (db_owner) and included ...
1
vote
2answers
42 views

New field is not accessible via Powershell

I have a list "Orders" in SP, where I have some data. The list definition and instance were previously created in Visual Studio and then successfully deployed. Today I've opened VS again and added ...
0
votes
0answers
30 views

Is it possible to add a cache.manifest to sharepoint hosted app?

I've got a sharepoint hosted app on o365 that I'd like to add offline functionality to with a cache.manifest file eg here. This requires adding manfest="cache.manifest" to my html tag. My app ...
2
votes
2answers
162 views

Unable to Delete Custom Master Page Programmatically During Feature Deactivation 2013

I currently have a custom master page that is being deployed at the Site scope. Once deployed and the feature is activated it makes the master page available for use. I am able to activate the ...
1
vote
0answers
21 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
2answers
332 views

Getting ECMAScript Client OM Intellisense to work in ASCX/JS

I can't for the life of me get intellisense working for the Client OM. It seems to work on another box I have tried so I'm wondering if I have found some kind of bug/configuration issue. I have tried ...
0
votes
0answers
28 views

Getting error of Object reference not set to an instance of an object while trying to Package

I am using Visual Studio 2010 Ultimate and I have a solution with two SharePoint projects. These projects are dependent on two SP DLLs - Microsoft.SharePoint.dll and Microsoft.SharePoint.Security.dll. ...
0
votes
1answer
48 views

toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010 a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
3answers
168 views

SharePoint 2010 workflows from visual studio

My task List has the Following Fields 1) Start Date 2) Due Date 3) Survey Submitted By Through Visual Studio Workflows I want to achieve the below scenario. Can any one give me an idea which actions ...
0
votes
2answers
2k views

Custom Error Message for Event Receiver in SharePoint 2010

I want users to upload the .doc files only in the document library. To do so, I have developed an event receiver in Visual Studio 2010. My code is as follows: public override void ...
3
votes
2answers
870 views

DropDownList to display External Content Type?

I am creating a visual web part in Visual Studio 2010 for SharePoint 2010 Server. I would like to use a DropDownList that shows data from an external content type (that is tied to a SQL Database ...
0
votes
0answers
22 views

Can I call an activity from a Code Activity?

I have an existing activity in my workflow. Can I call it from a code activity?