0
votes
1answer
17 views

Pass data from custom asp.net form to workflow (SharePoint 2010)

I've got a state-machine workflow with custom instantiation and task asp.net forms. My custom task form is pretty easy, it just shows the instantiation data and let the user approve or reject it. If ...
0
votes
3answers
60 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
0
votes
1answer
20 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
1
vote
1answer
39 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
0
votes
2answers
45 views

How to determine custom application page URL independently of the environment/farm?

I have deployed a custom ribbon button and when a user clicks it, I open a custom application page - I have deployed the page to _layouts mapped folder. To open the page (with JavaScript), so far I'm ...
0
votes
1answer
29 views

how to create a visual web part in the following format [duplicate]

I am a newbie to Visual Studio, it would be great if someone could provide me with an idea how to create the webpart in the following format Thanks
0
votes
0answers
12 views

How to create web setup

I have a multiple of import SharePoint Solution Package (.wsp). After I importing the .wsp file into vs2010, how can i create a web setup in vs2010? May I know what is the step how to create web ...
0
votes
0answers
13 views

Workflow with EF Does not Execute Properly When Called Programatically. The specified named connection is either not found in the configuration

I have a WF that is using EF 6.0 that needs to be started by another workflow. If I call the WF manually, it runs without any problems and an entry is added in the database. The problem is when the ...
0
votes
0answers
44 views

Sharepoint 2010 Mobile Adapter - Type cannot be found in the assembly

I am attempting to create a mobile adapter for a custom web part by following the MSDN instructions. I've created the web part, which displays a certain list in a branded view. Now I would like this ...
0
votes
0answers
87 views

Save Conflict error on task when saving task

The idea of the task lifecycle is this: CreateTaskWithContentType: Set all the task properties OnTaskCreated: Set unique permissions for the task OnTaskChanged: Complete task and continue workflow ...
0
votes
1answer
102 views

Create a SharePoint 2010 BCS connection to Web Service with Visual Studio only

While I have been using SharePoint for quite some time I have not used BCS at all (except way back when I took some training). What I am looking for are steps to create a BCS connector to an external ...
1
vote
1answer
471 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...
0
votes
4answers
936 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 ...
1
vote
1answer
420 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 ...
0
votes
0answers
33 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
70 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 ...
1
vote
2answers
61 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
0answers
222 views

Exception has been thrown by the target of an invocation while adding web part

I am adding an XsltListViewWebPart from code behind and I am getting the above mentioned error. My code is: static void Main(string[] args) { SPSite site = new ...
0
votes
1answer
266 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
3answers
308 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() : ...
0
votes
1answer
81 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
99 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 ...
0
votes
1answer
213 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
144 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
154 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
0answers
20 views

SharePoint Customisations Tab Missing

While follwoing an example for creating a site definition in a development environment, something strange was noticed. The SharePoint Customisations Tab in the New SharePoint Site page was missing. ...
0
votes
2answers
1k 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
340 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
619 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 ...
0
votes
0answers
71 views

Is there a way to build custom workflow actions for Sharepoint Designer in Sharepoint 2013 Foundation using MS Visual Studio 2012?

I've searched and tried almost all the blogs about this and failed in deploying the custom action primarily because Sharepoint Foundation doesn't have any Workflow manager. So im wondering if how can ...
0
votes
1answer
65 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
0answers
116 views

Branching logic not working with pakaged lists

We are developing a solution with Visual Studio. When we create a survey list from a list instance in the project, branching logic does not work. By "does not work" I mean that I can see the ...
0
votes
0answers
17 views

What things can I check to ensure that I can edit a workflow in Visual Studios 2010 Designer?

I have five workflows which are using a single activity and differentiating from each other through DependencyProperties. All of this is, of course, in Visual Studios 2010. Everything was working ...
1
vote
0answers
224 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
0answers
126 views

Resgen - Could not load referenced assembly “\\bin\debug\..dll” caught a FileNotFoundException

I am working on SharePoint 2010. I am using Visual Studio 2010. I get the following error when I build my solution - Could not load referenced assembly "C:**path**\bin\debug\somename.dll" ...
0
votes
0answers
12 views

How to duplication Site Defintion for 2010 with all new GUIDs

I have a fairly elaborate Site definition for a project underway. I want to make a customized edition with new settings to go alongside my original, that is pre-configured to certain situations. How ...
0
votes
1answer
78 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 ...
3
votes
1answer
323 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 ...
0
votes
1answer
78 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
68 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. ...
0
votes
0answers
247 views

Not all changes apply after re-deploying solution (custom workflow action for SharePoint Designer)

currently I'm creating a custom workflow action for SharePoint Designer 2010. After the first deploy succeeded everything looked fine. But after that I changed several things and re-deployed the ...
1
vote
3answers
689 views

SharePoint 2010 development with Visual Studio 2012

What is the community recommendation regarding SharePoint 2010 development with Visual Studio 2010 vs. 2012? I am allowed to install 2010 Pro on my new machine or I may choose 2012 Pro. There may not ...
0
votes
1answer
102 views

How to create site collection by using feature?

I am trying to create a feature which creates a site collection using a custom/ootb template in a specified application pool. My question is is this possible if yes then how what i'm trying to do is ...
1
vote
2answers
276 views

How can the deployment of a feature (or element) be made dependent on the SharePoint version (2010/2013)?

I have a solution (deployed in the Sandbox) that declaratively creates CustomActions (menu items). It works fine in SharePoint 2010 and 2013, but we don't like the look in 2013 so I'd like to exclude ...
0
votes
1answer
60 views

Not working following code

webtemp file <?xml version="1.0" encoding="utf-8"?> <Templates xmlns:ows="Microsoft SharePoint"> <Template Name="MyReed" ID="10001"> <Configuration ID="0" Title="MyReed" ...
1
vote
1answer
511 views

How to deploy SharePoint 2010 Sandbox solution on SharePoint 2013 Office 365

I have developed a SharePoint 2010 Sandbox solution in Visual Studio 2012 which has been deployed on Office 365 SP2010. The solution contains custom lists, visual web parts and workflow activities. I ...
0
votes
1answer
304 views

Different View for Top-Level folder and folders of a Content Type (programmatically)

I have a Document Library where I add Folders of a specific Content Type. Inside these folders I can upload documents. I would like to have different Views for both. I found a manual solution as ...
2
votes
1answer
228 views

Overriding the Default Upload.apx form for a Document Library

I am a total newbie to SharePoint but I have been given the task of driving the roll out/Proof of Concept that SharePoint 2010 is capable of providing what our company wants. One of the main ...
0
votes
1answer
93 views

Blog Site in Anonymous Use in SharePoint 2010

Trying to setup anonymous access to a SharePoint 2010 blog following: http://www.sharepointblues.com/2010/12/22/blog-site-in-anonymous-use/ I am not sure what I am doing wrong but the source code is ...
0
votes
1answer
196 views

Workflow configuration by custom config file

I'm currently researching workflow configuration possibilities delivered by Sharepoint 2010 (I am meaning the Visual Studio development side). The kind of configuration I'm meaning is the one done by ...