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

learn more… | top users | synonyms (1)

0
votes
1answer
37 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
1answer
168 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
0
votes
0answers
18 views

Find, replace and save in advance Rich text editor

I need to build/develop a processor with Visual Studio 2010 that finds some letter/character, changed it as desired ('>' into 'ê', '^' into 'â' etc) and save in Time New Roman font with a single ...
0
votes
0answers
22 views

VS SP project cannot connect to SP Site

I am building the same SP project in VS 2010 on two different accounts on the same server. On the admin account (with the final version), I needed to change the Site URL and found that it cannot ...
1
vote
0answers
12 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
1answer
151 views

How can I copy lookup field value to another site list in lookup filed?

How can I copy lookup field value to another site list in lookup filed? Situation, I’ve a main site list , list1 and there have lookup field from list11, I've build sub site and copy my list1 from ...
1
vote
1answer
87 views

C# - How to 'role back' update in ItemUpdated event receiver in SharePoint 2013?

I have some code in an event receiver in ItemUpdated that checks for duplicates when an item is updated. I would like to if the item already exists after the changes, the updates are not applied. How ...
0
votes
1answer
16 views

How can I prevent retracting of my listinstance each new deployment from Visual Studio?

I am using sp2013 and vs2013. I have a solution with some list instances and contenttypes. Every time I do a deployment from Visual Studio the existing listinstance will be retracted and I lost my ...
0
votes
0answers
38 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
1answer
113 views

Error in deployment step 'Activate Features'

Every time I try to deploy my project (containing only one Event Receiver), I get the following error: Error occurred in deployment step 'Activate Features': Operation is not valid due to the ...
0
votes
0answers
9 views

How can I change de build target in VSTA (ex: from anyCPU to x64)

Developing code in Infopath, when I try to call this : SPSecurity.RunWithElevatedPrivileges(delegate() { I get this error message (sorry, some parts are in french but codes are the same) : ...
0
votes
0answers
38 views

Getting error when trying to open a spsite in Application page

I am Trying to open an spsite in Application page like Sp context.current.web but here spcontext is null so i tried like giving whole URL path via a string .Here error coming as 404 file not found ...
0
votes
2answers
61 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
0
votes
0answers
26 views

Get ListId before list is deployed from Visual Studio

I am creating my add/display/edit forms as well as list views in Visual Studio as opposed to doing it in SP Designer because I wish to be able to deploy the whole project at once. Currently, my method ...
0
votes
1answer
100 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 ...
1
vote
0answers
17 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
27 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
92 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 ...
0
votes
1answer
344 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 ...
0
votes
0answers
15 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
28 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
38 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
2answers
327 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 ...
1
vote
0answers
25 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
224 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 ...
0
votes
2answers
440 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
1answer
31 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
62 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
0answers
56 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") ...
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 ...
1
vote
2answers
151 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
0answers
21 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
39 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
234 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
32 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
1answer
119 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
78 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
68 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
55 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
58 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 ...
0
votes
0answers
9 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
0answers
9 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 ...
0
votes
1answer
119 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
14 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 ...
0
votes
0answers
62 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
0answers
82 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 ...
1
vote
2answers
143 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 ...
1
vote
0answers
24 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 ...
0
votes
0answers
99 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
399 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 ...