0
votes
0answers
22 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
2answers
20 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
51 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
28 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 ...
1
vote
1answer
172 views

Programmatically altering approval workflow task in separate workflow

Here is my code to programmatically alter the task at hand, the only problem is that the code doesn't alter the "Outcome" of the approval task. The Outcome field is blank. "Task Status" is Complete, ...
0
votes
3answers
128 views

Custom List Form Will Not Deploy

A demo List Form using Visual Studio 2010 to test and experiment with a few things. Nothing at all was added inside the project. Functionality, etc, will be added later, but at this point it was ...
0
votes
0answers
5 views

I have got a program which I was wrie. How Could I do 5 instation of it in Visual Studio

I have got a Program, which I was write. How could i do diferent 5 or more Instation by Visual Studio. Hov Copy Event Receiver and difrent list. I want in production Server have got a very fast ...
1
vote
1answer
50 views

Creating Browser Enabled Form Without Using InfoPath

I'm relatively new and inexperienced with SharePoint 2010 development and I have a question that may sound a bit strange. I'd like to be able to create a Form Library that has entries opens into a ...
0
votes
2answers
30 views

When to use Release configuration in Visual Studio for SharePoint solutions?

The regular SharePoint solution development outputs mainly assemblies, which is deployed to GAC and used by other stuff (pages, webparts, controls, etc.). From googling I found that Release ...
2
votes
1answer
52 views

Using C++ dlls in event receiver

I am trying to use a legacy C++ dll that has around 5 C/C++ dependencies in SharePoint. I created a wrapper for the dll and it works fine in a test desktop program. I added the wrapper and all C++ ...
0
votes
1answer
23 views

need support/materials for developing external lists with visual studio 2010

Up to now, I have mostly used Sharepoint designer to develop external content types and lists. Due to the lack of source control and for other reasons, we would like to move the development process ...
0
votes
1answer
60 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 ...
2
votes
1answer
39 views

How to Retrieve the Data from an Individual Blog Post

I am trying to brand a blog post according to our standards, and to do that I have simply created a custom visual web part to take the place of the SharePoint default. What I am wondering is how am I ...
0
votes
2answers
65 views

get string from another method after setting it with SelectedIndexChanged event of asp-net dropdown

So I'm creating a contact form for my event management system at the moment. I've got a Visual Webpart including private string selectedEmail; as a variable after declaring my class in code ...
2
votes
2answers
228 views

SharePoint 2010 - Visual Studio Project Structure

What are your project structures for sharepoint projects. For example my simple structure is: Think of a project named MyPortal MyPortal.sln --MyPortal.Branding (Custom master pages, page layouts, ...
1
vote
1answer
690 views

InfoPath 2010, Sharepoint Liist Form and Custom code

I'm editing SharePoint 2010 list's Form in InfoPath 2010. Heard I can edit/add custom code via Visual Studio. Checked all buttons on ribbon but cannot find anything referencing to 'custom code' or ...
2
votes
1answer
155 views

Visual Web Part vs Visual Web Part (Sandboxed)

While I was creating a visual web part in Visual Studio 2010, I also saw an option to create Visual Web Part (Sandboxed) under Visual Studio Template Gallery. I need to know how does a Sandboxed ...
0
votes
1answer
26 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
0
votes
1answer
166 views

Visual Studio 2010 Workflow Error

I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history. When I change ...
1
vote
1answer
35 views

Creating tasks simultaneously, freeze.

I am working with two workflows, both of them have been done in C# by using Visual Studio within SharePoint 2007 , the first one is activated when a document has been updated and copies the file into ...
1
vote
2answers
532 views

How to programmatically create editable wiki pages within the Pages library of an Enterprise Wiki site

I'm new to SharePoint. I'm trying to programmatically create a wiki page within the Pages library of an Enterprise Wiki site in SharePoint 2010. Here is my code: using (SPSite site = new ...
4
votes
4answers
1k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
1
vote
3answers
125 views

how to detect where a memory leak is in my application

I have a webpart that loops through web apps, sites, and webs. I using the DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error on this line. I've ...
0
votes
1answer
260 views

How to create a new FBA user programatically using VS 2010?

I am looking to create a new FBA user (explicitly) in the membership db using the membershipuser create user programatically. The purpose is to test permissions using the spfarm account. What is ...
0
votes
1answer
420 views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
2answers
24 views

What is the most efficient way to compile a solution with multiple dependent projects?

I currently have a solution with one "active" project and several helper projects. These projects represent different utility libraries used within my team. The benefit is that the libraries are kept ...
2
votes
3answers
2k views

How to send an email in a visual studio sequential workflow

I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status. I have not found any good ...
0
votes
1answer
295 views

Modify the content of the home page programmatically in SharePoint 2010

First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :) I have a team-site in SharePoint with ...
0
votes
1answer
80 views

Import a UI built solution into Visual Studio for further development

Trying to get my head round a few things with SP and SP development. I have a complete solution which was built using both the UI and SPD. I have exported the WSP and now want to import this into ...
1
vote
0answers
100 views

Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring

The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
1
vote
2answers
515 views

How to add check-in comments to Alert Email?

Ok so I want to customize the email alerts that are sent out when a document is modified so that besides the information that is already there, it also shows the comment that the editor typed in when ...
1
vote
2answers
404 views

Sharepoint Project automatically retracts Visual studio

I have a Sharepoint project with a workflow and every time I try run it, as it deploys the solution it automatically retracts. This retraction happens 1 second after the deploy. Below is the build ...
1
vote
1answer
64 views

Including a WorkFlow in a WSP

I am creating a feature that I want to install a couple of workflows when activated and bind them to a list. Is there a way you can use SPD and then export your workflow to include them in your visaul ...
0
votes
0answers
71 views

Get the activation properties of a workflow from a page external to the workflow

I'm trying to get the activation properties you bind on the activity OnWorkflowActivated in an aspx page which doesn't belong to the workflow. It looks like I'm able to get to the workflow this way ...
1
vote
1answer
133 views

Non-global fields for custom content types?

I've been tasked with creating a fairly complex system in sharepoint 2010. Coming from a background of from-scratch .NET applications, I'm used to defining tables with their own "local" columns. My ...
2
votes
1answer
74 views

Possible to use the object model to push content across two different web applications?

I've been able to use the object model to move list items between sites in the same site collection, but I'm wondering if I can use it to move list items between two different web applications on ...
1
vote
1answer
54 views

Finding source item in Workflow

I am new to Sharepoint and using Visual Studio 2008 I have created a workflow that uses custom content type based off workflow task list with additional columns for Approval Status and Approver Notes. ...
0
votes
2answers
134 views

Start Sharepoint C#

I'm beginner in Sharepoint 2010. I would like to develop a solution with Sharepoint (interaction with api Linkedin or google maps). I see many samples but the hierarchy of the vs project is unclear. ...
1
vote
0answers
121 views

using calculated field in calculated field

I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1 Calcfield1, Calcfield2 uses field1, field2 and field3 for its values. ComplexCalcField1 uses Calcfield1 and Calcfield2 for its ...
0
votes
1answer
86 views

Automatically add a folder (document set) by code (generating the name also by code, without the user inputting the name)

I want to know if it’s possible to write en Event Receiver in VB for automating the creation of a document set: the user only click “new document set” and then the code generates the document set with ...
0
votes
2answers
140 views

Any method or way to bypass an automatically starting workflow?

I have a solution in C# where users are able to submit a lengthy form, which then automatically kicks off a workflow that was created in Designer. However, I am looking to add functionality to the ...
2
votes
2answers
685 views

FileNotFoundException from a Visual Web Part using an external class library

I have a solution and two projects in it: VisualWebPart and ProjectsLibrary VisualWebPart has a reference to ProjectsLibrary (tried to change Property for ProjectsLibrary Copy Local to false/true , ...
1
vote
1answer
197 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
1
vote
1answer
271 views

Custom Field does not save

I've created a list that contains a cumstom field. The custom field inherits from SPFieldUser. After I created a new ListItem (webfrontend) and have a look on the elements details the field is empty. ...
1
vote
2answers
308 views

Disable value in dropdown menu after being selected

I have created a library in which i am using the drop down column with some values.These Values will depend on the group to which the user belongs. For Eg. If Drop Values are A, B , C, D, E and ...
0
votes
1answer
309 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
875 views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
3answers
170 views

Minimum access required for Visual Studio 2010 on Windows Server 2008

Hi we are trying to set up a SharePoint development environment for multiple developers on Windows 2008 server, we do not want to give the developers admin rights to the servers, does anyone know the ...
1
vote
3answers
164 views

what is the best way to write code to a asp.net control in a masterpage

I have a button that I've added to our masterpage in Sharepoint Designer. What is the best way to write c# code to that button? I'd like to do this in visual studio if possible. Thanks,
0
votes
2answers
237 views

Modify an existing item based on ID

The following code is what is I use to insert new list items: using (SPSite oSPsite = SPContext.Current.Site) ' using (SPWeb oSPWeb = oSPsite.OpenWeb()) ' SPList list = ...

1 2