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

learn more… | top users | synonyms (1)

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
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
96 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
69 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
66 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
396 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
2k 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
29 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
55 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
443 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
460 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.
14
votes
4answers
13k 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
8 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
112 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
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 ...
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
4k 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 ...
2
votes
4answers
5k 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
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 ...
1
vote
2answers
585 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
53 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
275 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
125 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
60 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
564 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
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 ...
1
vote
2answers
367 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
92 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
289 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
224 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
910 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
36 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?
1
vote
2answers
129 views

Debugging sandboxed solution?

I know this is a novice question, but my sandboxed solution works on one site and not the other. How/where can I actually see the errors generated by some sort of report? Debugging simply takes me to ...
1
vote
1answer
658 views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
0
votes
1answer
78 views

How can I build a Visual Studio 2010 solution from wsp? [duplicate]

I've inherited a site with a Sandbox Solution but no documentation nor the original solution package. How can I extract the .wsp to get the solution? I tried renaming it to a .cab file and ...
3
votes
1answer
910 views

How to create a lookup field that has a list column picker

How would I be able to create a list field in VS that would be a lookup to select columns from any list? I would preferably like to have something like the PickerTreeView.aspx, but instead of ...
1
vote
7answers
9k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...
5
votes
1answer
2k views

Importing a SharePoint 2013 workflow in Visual Studio

I'm creating a simple workflow in Visual Studio: I can deploy it, and it works. I then try to open it with SharePoint designer: However, the steps/activities/stages are missing. How come I'm not ...
0
votes
1answer
40 views

Add SPuser to SPGroup by defult ,after registration directly

I need that when the user registers on the site he should automatically be logged in to the site. How can I do that by code?
3
votes
1answer
323 views

Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013

I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps: 1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) ...
0
votes
0answers
15 views

Columns not added to the sharepoint deployed list

I used vs2013 to create a list with name "Committees" and added columns to it within visual studio environment and added both to the same feature, after deployment and deactivate the feature and ...
1
vote
3answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
1
vote
2answers
95 views

Advance Search For Find Document with Column

I have a Document Library that contain large number document with four kind of content type. My Documents Contain specific column that inherit from content type. Now I need to design an advance search ...
0
votes
1answer
82 views

How to restore the sharepoint list data after deploying project solution again?

I have an Visual Studio 2010 empty sharepoint solution project. Solutions consist of several custom lists and workflows attached to that lists. The solution always changes, so it means I'm redeploying ...
3
votes
1answer
161 views

Is there a way to us CKS Dev Tools to find undisposed of objects?

I thought I had used CKS Dev tools to display warnings about undisposed of objects in Visual Studio in the past, but we just stood up a new server and I can't seem to find a way to do it. Can it be ...
2
votes
5answers
2k views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
1
vote
1answer
54 views

How to create a custom list that is only available on RootWeb via Visual Studio?

I know how to create lists with Visual Studio. I need hint on how to create the custom list named 'test' with Title, URL and an boolean field only on the RootWebs of every site collection the feature ...
0
votes
1answer
156 views

default.aspx renaming

I manage rip-off SharePoint team site. Some reason, I cannot rename default.aspx. If I rename default.aspx -> demo.aspx and I create new site collection, it gives me 404 error message. Also, if I ...
1
vote
1answer
95 views

How to wait for all tasks completion in VS Workflow 2013

I have a workflow which create some number of tasks to different users. These tasks are created in web service method which invoked by workflow. It can create a different amount of tasks. I need to ...