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

learn more… | top users | synonyms (1)

0
votes
0answers
304 views

SPServiceContext class not available in SharePoint

I have made a web part in Visual Studio in which I am using the following class: Microsoft.SharePoint.SPServiceContext It is working fine. Then I created a new visual web part project and tried to ...
0
votes
4answers
3k views

How to get count of list items in SharePoint 2010 if count is more than List View Threshold value?

I have more than 10000 items in my list. I have default List View Threshold value as 5000.I want to get the count of items programmatically. How can I get the count? I think here ...
2
votes
1answer
320 views

SharePoint 2013 Edit & Continue with .NET 4.5.1 and Visual Studio 2013

Looking for an answer to this question since I heard of .NET 4.5.1, I've nearly given up the hope. Looks like no one has written anything about this anywhere. So now that 4.5.1 and VS2013 were ...
0
votes
1answer
1k views

ribbon custom action template in visual studio 12

I want to create a ribbon custom action for SharePoint 2013 using Visual Studio 2012 but I am not finding where the Ribbon Action Control is. I can see it here but I cannot see in my setup. ...
1
vote
1answer
1k views

Correct Way to Reassign Workflow Tasks in Visual Studio WF

What is the correct way to programmatically reassign a task to another individual in a SharePoint 2010 custom workflow? We do not want to simply change the person to whom the task is assigned although ...
1
vote
0answers
365 views

why is Gridview moving infinetly to the right in visual studio 2010 designer view

In visual studio 2010, I have a gridview, with another inside, this has been working fine for 3 weeks, but today, it randomly begins to move to the right in designer, not when deployed, its jumping a ...
3
votes
1answer
229 views

How to check Reset all subsites to inherit this alternate CSS URL Programitically?

I had set Alternate CSS URL programmatically. But next CheckBox of "Reset all subsites to inherit this alternate CSS URL" is not checked it self. I want to check it programmatically. Please Suggest ...
1
vote
1answer
148 views

Error while publishing Provider-Hosted MVC App to catalog site

I am tying to publish SharePoint 2013 Provider-Hosted MVC App to my site. I am getting this error message: Parser Error Message: Could not load type 'Microsoft.SharePoint.WebControls.ListMenu'. ...
0
votes
1answer
337 views

Visual Studio WebPart to get the item being edited to replace List Edit Form

I had created a web part in Visual Studio 2010 for Sharepoint 2010. I added all the fields, implemented cascading dropdowns, custom panel and bind the data using Sharepoint SPLists var ...
3
votes
2answers
7k 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
4answers
3k views

Create visual webpart for SharePoint Online

I want to create a visual webpart for SharePoint 2013 Online but I find that the requirement is to install the SharePoint on the local machine. Another thing, do SharePoint 2013 Foundation support ...
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
365 views

Postbuild event with PowerShell 3 script does not works

In a SharePoint 2010 project, using VS 2012, I set up a post build event: "%WINDIR%\SysNative\WindowsPowerShell\v1.0\powershell.exe" -version 2 -command "& {Add-PSSnapin ...
0
votes
0answers
42 views

Custom Action works fine on default view but not other?

I have a list. Over in Visual Studio 2010, I have a customized replacement for the "Delete Item" button in the Ribbon, my customized version fires off a workflow, and some other stuff. In order to get ...
0
votes
1answer
468 views

Create user security groups in Site Definition using visual studio

I am creating a site definition by code and I have a requirement to create the security groups in the site definition. How can I create the user security groups in the site definition using the ...
1
vote
1answer
879 views

How to make taxonomy picker required when used in visual web part?

I have created a visual web part in which user has to specify a field's value from taxonomy picker control. I want to make that value mandatory. The control is placed successfully but when I use the ...
0
votes
2answers
302 views

trouble when updating view programmatically

I got the following event code wich is called when clicking a button: void addSubject_Click(object sender, EventArgs e) { SPWeb thisWeb = SPContext.Current.Web; thisWeb.AllowUnsafeUpdates = true; ...
0
votes
1answer
99 views

How do I get a current content from URL field (or title field) in a workflow programmatically and convert to string?

I get a wrong value from field. private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e) { SSPFieldUrlValue fieldValue = new ...
0
votes
1answer
41 views

Single Wsp From Multiple Wsp Sharepoint 2007

I have Sharepoint 2007 three Project. Each one have WSP. Now I have to create single WSP from all of three WSP. How to create One WSP from 3 different WSP in sharepoint 2007 using visual studio 2008. ...
1
vote
2answers
81 views

Best practice for taking SharePoint data and putting it into an SQL database?

I need to do some reporting across site collections. In order to do this I intend on writing a service layer that crawls SharePoint and puts information about document libraries and files into an SQL ...
0
votes
1answer
61 views

I can't find the markup for webpart properties in visual studio

I've created a custom web part editor but I don't know where to look if I want to find the markup for all the properties of my webpart inside visual studio. I mean I can create new controls on ...
1
vote
1answer
704 views

How do I create a Sharepoint hosted app for office 365 in Visual Studio 2013?

I've setup Visual Studio 2013 RC and a Office 365 developer site. I can create an app using Nappa and open it in VS from there. But if I create a Sharepoint hosted app project in VS and point it to ...
1
vote
1answer
2k views

How to solve "Type 'System.Web.UI.UpdatePanel' is not defined?

I'm using an update panel on a form to stop the page jumping and flickering when drop down lists etc are selected, I have enclosed the table which holds this inside of an update panel and a content ...
0
votes
1answer
435 views

How to add CCQWP programmatically in SharePoint 2010?

I need to add the Content Query Web Part programmatically in SharePoint 2010. I exactly don't know how to do that. I searched over the internet but not find the exact post anywhere. I got this post. ...
0
votes
1answer
81 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
3answers
772 views

Error occurs while deploying cutom timer job SP 2010

I am creating timer job in which the list item is added every 5 minutes. My class file which inherits SPJobDefinition is : public class MyTimerJob : SPJobDefinition { public MyTimerJob() : ...
1
vote
4answers
2k views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
1
vote
0answers
411 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
1answer
1k views

SharePoint app get path of selected document

In a SharePoint app i have a custom action in a document library that navigates to an .aspx page. How do I get the full path of a selected document in that .aspx page? <CommandUIHandlers> ...
0
votes
0answers
40 views

Cannot modify page layouts in SharePoint designer

We have a SharePoint solution developed by a vendor that does not allow me to make open and save a page layout with SharePoint Designer with out the thing blowing up. What would cause this type of ...
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 ...
1
vote
2answers
313 views

Access SharePoint 2010 List remotely from a WPF Client using Lists Web Service

I recently developed a WPF client application from my local machine to access a SharePoint 2010 List from a remote SharePoint Server. I thought that I should use custom NetworkCredentials object to ...
0
votes
1answer
154 views

Customize view of document library

I want to order the view of the document library in the descending order it was created. My code for doing such is: static void Main(string[] args) { string webApp = "http://bipc11:1234/sites/"; ...
1
vote
0answers
115 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
2answers
878 views

Custom Workflow in Visual Studio e-mail issue “The E-mail message cannot be sent”

I have a workflow that I have created in Visual Studio 2010 for publishing to my SharePoint 2010 site. It's for a list I created and the workflow itself is pretty simple. A while loop that contains ...
0
votes
1answer
441 views

Using custom SPRoleType

Environment: SP2010 Enterprise, VS2012, c# Server-Side, full control of environment I'm trying to assign unique permissions to an SPItem (a folder in a document library) through a console app on the ...
2
votes
1answer
205 views

Hiding Fields in Forms in List Instances Based on List Definitions

I have a list definition that I've created in XML, and multiple list instances based on that definition. On the base list definition I am hiding certain fields from the new item form in the list ...
2
votes
2answers
475 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 ...
0
votes
1answer
19 views

How to find feature including a specific element

this migth be a really easy question, but I could not find any solution for that. I'm using VS 2012 and want to find which features are using a specific element. Since I got lots of Features in my ...
2
votes
2answers
271 views

Deploying Site Solution

EDIT to add more detail about what I'm trying to do: This is the first SP project I've worked on, so I might be making a very basic mistake with how the project is set up. The project consists of a ...
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 ...
0
votes
1answer
21 views

Storing usersettings in sharepoint

I develop a SharePoint Farm Solution. I want to save the settings (like sorting of each grid) for each User. Is there a possible best practise to do this? Or is there the only way to use a ...
0
votes
1answer
640 views

Error occurred in deployment step 'Add Solution': A feature with ID xx already exists

I am getting this familiar error while trying to deploy my solution through visula studio. Earlier I used powershell scripts but this time I am little skeptical. Here is the scenario: I am Working on ...
0
votes
1answer
1k views

Create a WebPart Page in Visual Studio 2010

I have a project that will have a few components: Lists, WebParts, WebPart Pages and an Application Page. I know how to create and deploy all of the above using Visual Studio 2010 to a SharePoint ...
1
vote
1answer
57 views

Dynamically deploying branding (SharePoint 2010)

I'm developing a portal for clients in SP2010. Each client will have their own copy of the portal (a site collection) branding for them. Currently I provision all the branding artifacts to the style ...
3
votes
0answers
246 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
2
votes
2answers
4k views

Add custom NewForm.aspx with code behind to existing list

I have an existing sharepoint list generated by the sharepoint UI. I want to add a custom NewForm to this list that uses its own code behind, because I need to do a lot of stuff in the logic. As far ...
0
votes
1answer
74 views

Develop Custom List in VS2010 with checkboxes from another list

I am developing a custom list definition within Visual Studio 2010 for SharePoint 2010, I have ran into a problem with adding a field which will be choice and will use items from another list on the ...
0
votes
1answer
200 views

XSLT list view webpart is not displaying data after adding view dynamically

I am customizing xsltlist view webpart using c#. I am able to get the results properly till I give the view name to the code. As soon as I give it it's not rendering the data. It's only displaying the ...
0
votes
1answer
77 views

Attribute 'DisplayTitle' is not a valid attribute of element 'WebPartZone'

I have a Microsoft.SharePoint.WebPartPages.WebPartZone declared on an application page: <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" ...