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

learn more… | top users | synonyms (1)

0
votes
1answer
314 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
0
votes
1answer
22 views

Add custom folder programatically to Document Library

I have a custom Document Library that has a custom content type which is an extension of a Folder (just adding some more fields). I'm trying to, in code, add a new item of this content type to the ...
0
votes
1answer
262 views

Method not allowed (405) when deploying sharepoint 2007 (wss 3.0) solution from visual studio 2008

I am trying to set up a Windows 7/ Sharepoint 2007 (WSS) / Visual Studio 2008 box. Sharepoint is installed and running fine. I open VS2008 and create a Sharepoint Blank Site. I then try to deploy ...
1
vote
3answers
1k views

Added a new PageLayout to my feature but it's not showing in SharePoint?

I had an existing feature that deployed a Page Layout. I ended up adding another Page Layout to the feature and I updated my Elements.xml file to include the reference to the new file: <File ...
0
votes
1answer
298 views

copy an event receiver to a different server

My work is requiring me to create an event receiver for an itemAdding event for an existing list on a Sharepoint Server. My problem is that while I have access to a Sharepoint Server, I do not have ...
0
votes
1answer
18 views

How to reproduce “collect feedback workflow 2010” using Sharepoint 2013 Workflow

We are using SharePoint 2013 Server, it is a greenfield project. So in this case, the intention is to use new Workflow Manager to develop workflow, which is said better performance and robust. (All ...
1
vote
0answers
11 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 ...
0
votes
1answer
12 views

Wrong web part when trying to insert custom Content by Seach web part CSWP - visual studio

I'm trying to provisioning a content search web part. I've made a site feature and a standard web part (xml and webpart file). When I activate the feature I get the web part but it's not a Content ...
0
votes
1answer
26 views

Client Context executeQuery() works in console app but returns null object when executed from CRM Server

I have the function GetDocumentLibrary which must return a libray from sharepoint site. When I execute it from a Visual Studio Console Application it works and return the library with all ...
3
votes
2answers
4k views

“Invalid License Data. Reinstall is required” error when installing SharePoint 2013 after Sql Server 2012 on the same machine

I've already installed SQL Server 2012 on my machine. Then I tried to run the SharePoint 2013 Foundation installer but I received the following error before I even reached the splash screen menu: ...
1
vote
0answers
15 views

Cloud Business App for Office 365

I try to create Business App for SP Online. If I create relationship to other list in the same site, everything is OK. I can use lookup field. But if I try to use relationship (data) from different ...
0
votes
0answers
12 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
24 views

Custom WebParts shows only the WebPart-Title

I've got a huge problem. I developed three custom webparts and deployed them to our testserver and that works just fine. So I decided to deploy them to the production server as well but when I add ...
0
votes
1answer
479 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 ...
0
votes
1answer
489 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
514 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 ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
0
votes
1answer
24 views

scope of content types

I was reading on content types and I see that share point allows allows to create them at site collection and list level scope. My question is that in visual studio where can we specify whether this ...
0
votes
0answers
58 views

SharePoint Workflow Error -The given key was not present in the dictionary

I have created a SharePoint 2013 Workflow in Visual Studio 2012. This workflow is activated when a list item is modified. Once the list item modified, the workflow shows as the started. But on ...
2
votes
1answer
455 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?
1
vote
0answers
19 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 ...
0
votes
2answers
36 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
1
vote
2answers
2k views

SharePoint 2013 Site Definition Template Missing

I am using Visual Studio 2012 Ultimate RC, and I did install the Sharepoint 2013 tools. But cant find the site definition templates. Any thoughts??
0
votes
1answer
408 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
2answers
73 views

Create a new site collection c#

I'm trying to create a new site collection in Sharepoint Online tenant with Visual Studio. 1) I found http://msdn.microsoft.com/en-us/library/office/ms448720(v=office.14).aspx which says that the ...
0
votes
0answers
25 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
13 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
588 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
19 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
99 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
13 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
33 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
51 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 ...
1
vote
0answers
30 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 ...
0
votes
3answers
6k 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
50 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
42 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
48 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
57 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, ...
1
vote
2answers
345 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
27 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
40 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
365 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
335 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
11k 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
7 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
41 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 ...