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

learn more… | top users | synonyms (1)

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
19 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
519 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
55 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
221 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
3k 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
73 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
181 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
63 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" ...
2
votes
2answers
58 views

custom pagelayout not available in pagelayout-list

I want to deploy a new custom pagelayout, like I did always done it before too. It will be deployed without any errors. It appears on the 12-directory in the correct folder. The feature is availible ...
0
votes
1answer
49 views

Remove WorkFlow from List Instance

I have Created one Document Library Definition.I have Created two Document Library Instance from that Definition.I had created one workflow.I want to associate workflow for only one Document Library ...
0
votes
1answer
285 views

How to Programmatically load a SPList from an Generic List…?

After running the program... I check my site and only see city5. I also have a console app that undoes all below. The foreach loop only works for the last item. Tying to load all 5 cities... ...
3
votes
3answers
300 views

Should this be a App or Farm Solution

I am new to SP2013 development. I have been asked to create the following for a client timesheet system: 8 custom lists (some of these link to each other) each list has 3 or 4 different views 2 of ...
1
vote
0answers
159 views

How can i extend the rich text editor behavior?

I want to extend the behavior of RteUploadDialog.aspx. When inserting a image in Rich Text Editor, i would like to upload the image to another server Image Library. I guess i could create an ...
1
vote
0answers
342 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
0
votes
1answer
37 views

Sharepoint not Installed

Hello I'm trying to create a sharepoint 2010 project. I have Sharepoint as well as Visual studio 2012 installed on a VM, but when i go to create a new sharepoint project it tells me "Sharepoint not ...
1
vote
1answer
506 views

Application Page VS Template Not Generating Designer Files

I've been banging my head on this one. I've never used the auto-generated designer files in Visual Studio before (it's the OCD...), but I'm trying to use them now and I don't know if this is a known ...
0
votes
2answers
354 views

create list definition under sub site in site definition

I want to Create List Definition & List Instance under particular Sub-site.It can not been seen under site Collection.
0
votes
0answers
56 views

Error in adding post to a blog programmatically

I used linq to insert post into blog programmatically but when i clicked button error is appeared
0
votes
3answers
277 views

Sandboxed Solution doesn't work on production server

I am new to SharePoint development and recently get stucked by a problem of deploying own Sandboxed Solution that do a event receiver job (ItemAdded). It create a subfolders in top folder in a ...
0
votes
1answer
21 views

Create addin for Sharepoint

I want to know if there's a way to create an addin for Sharepoint similar to the Outlook Plugins you can develop in Visual Studio. I've seen I can create a "Web Part" but I don't think that's the ...
0
votes
2answers
1k views

Prevent SharePoint 2010 custom timer job to run on all web application

I have successfully created the custom timer job to send status mails on daily basis. For testing I set the minute scheduler on the job and deployed as Web Application Scope. The timer job is running ...
0
votes
1answer
93 views

Best way to update 200 items on a list [closed]

Situation in a VS2010/SP2010 site: List A with main items List B with subitems, having a lookup column that points to List A ID There are about 200 subitems for each item The Page where users edit ...
0
votes
2answers
99 views

Feature Receiver fires before Layouts content is copied

I have a package with some Application Pages (in Layouts Folder) and a Feature which contains some WebParts. I tought the Layouts contents are copied first to SharePoint, then the WebParts from the ...
0
votes
2answers
384 views

Rename “Title” column on multiple lists

I have 3 or 4 lists where the title column is not required. Hence I started renaming the Title field to any other text field that I have in the list per the below blog. ...
1
vote
1answer
383 views

Workflow consumes WCF Service: Exception is invalid or unrecognized

I have got issue. It's an update from a question that I have asked a week ago: I have a State Machine Workflow that is deployed in my local SP machine. It is attached to a list, and will consume a ...
3
votes
1answer
499 views

Getting a “Content types that are available to this Document Set have been added or removed”

I am creating document sets through workflows. Edit: I just tested and I'm getting this message for manually created documents sets as well. Every new document set is showing the message: Content ...
-1
votes
1answer
2k views

Visual studio 2012 cannot find SharePoint Server 2013

I have installed SharePoint server 2013 on my dev machine and it is working fine when I login as an administrator. and after that I installed Visual studio 2012 professional on the same machine. But ...
0
votes
0answers
140 views

code of approval workflow in c#

I have a task to make approval workflow between three lists . When i add item to first list ,workflow should check second list and and assign tasks to specific people that on active directory(and they ...
0
votes
1answer
109 views

OnWorkflowItemChanged fire multiple times

I have been using a State Machine workflow (SharePoint 2010). Workflow design Main State: The Main State does not update the item. The Main State contains a OnWorkflowItemChanged. When the item ...
1
vote
1answer
125 views

Can not open the package designer in visual studio 2010

I can not open the package designer in a SharePoint project. When I double-click Package or when I right-click Package and then select "View designer" then the XML file Package.package is displayed. ...
1
vote
1answer
70 views

Switch view of a custom list

How can we switch views of the list which is created on visual studio? SharePoint designer solution or code solution?
0
votes
1answer
61 views

Web.config was wiped out by Visual Studio

Upon trying to edit our web.config file on our SharePoint 2010 Enterprise server via "wss\VirtualDirectories\80", Visual Studio started up to load the file for editing and then threw an error, ...
0
votes
0answers
59 views

I can not see Custom Ribbion that created from following code

I have created custom action to view on webpart page but i can not see it. <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyRibbonCustomization" ...
0
votes
2answers
87 views

How to embed image in SharePoint Workflow Association Form?

I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp). ...
0
votes
2answers
32 views

The assembly is created after its built or deployment?

I was wondering when do the runtime create the assembly of my sharepoint project, is it after building it or after it deployment ??
1
vote
2answers
148 views

Lookup field two projects

I've got two Sandbox Solution projects in visual studio that I want to use in SharePoint online. The first project has a list and a lookupfield. The other project has an other list and I want to use ...
0
votes
1answer
14 views

SharePointDesigner2010 Add-In

Is there any SharePointDesigner2010 add-in to use SPD more effectively? Also, can I use Visual Studio like SharePointDesigner to edit pages and list views? Is there any VS add-in for this or not?
1
vote
0answers
83 views

CopyItemActivity how to configure

I want to copy an item using a workflow in VS. So i've used the copyitemactivity. In the properties what do i put in the ListItem? I want to reference the current item the workflow is operating on. ...
1
vote
2answers
974 views

Lists included in an App for SharePoint 2013

I've seen that when I create an Autohosted App for SharePoint 2013 (or any other type of Apps), I'm then able to add a new item to the SharePoint Project such as a List. I can then add/edit/delete ...
0
votes
2answers
54 views

I want to execute workflow when new item is inserted

private void codeActivity1_ExecuteCode(object sender, EventArgs e) { SPSite objsite = SPContext.Current.Site; using (SPWeb objWeb = SPContext.Current.Web) { ...
-1
votes
1answer
187 views

Yammer Integration with Sharepoint 2013 [closed]

How can I Integrate Yammer With Sharepoint 2013 ??
3
votes
2answers
747 views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
0
votes
1answer
170 views

Development with SQL Data Source in Visual Studio

There is a sql database. I want to get datas and display them as a list. And I want to filter the datas too. But I can't find any basic tutorial to do it. I don't know where to begin. Where should I ...
0
votes
1answer
348 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
105 views

Deploying Sequential Workflow on Another Server

I have created a sequential workflow using VS2010 which is a part of my Dashboard Solution. Now I want to deploy that Dashboard Solution to another Server. What I have done is, disabled the Workflow ...
2
votes
1answer
618 views

Customize Form (new wiki page)

Firstly, I would like to create a section for news in SharePoint, for this I use a wiki library, so far, it's good. Everything works fine, but I'd like to change is some point for my needs. when a ...
0
votes
1answer
84 views

Templated projects for autohosted or provider apps don't have TokenHelper and aren't set up correctly

When I add new project to my solution, select SharePoint 2013 App, then choose Autohosted or Provider hosted and create it, the created web project is completely empty and the projects are not set up ...
0
votes
1answer
110 views

Reusable Workflow in Sharepoint 2010

I have created a simple reusable workflow using designer and deployed its solution on the server. I have done it using Powershell. Now I wanted to know; how can I attach this workflow to a list or a ...