The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

4
votes
1answer
161 views

Add a Three-State Workflow by Code?

I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code. This is what I need: Add a ...
0
votes
2answers
499 views

How to temporarily hide a column in a list view

To put this in context, what I need to do to complete work on a custom action is to hide a particular column from users who aren't members of a given group. Given that the custom action is implemented ...
0
votes
1answer
793 views

Detected use of SPRequest for previously closed SPWeb object

I've got an event receiver that fails, seemingly inconsistently. I've checked the ULS logs and I can see the 90hv Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb ...
0
votes
2answers
119 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 ...
0
votes
2answers
1k views

Datasheetview copy managedmetadata field

We have a list with 2 metadatafields, however in this list the user wants to use datasheetview to copy many rows, the problem is when you try top copy it says managed metadatafields are readonly, is ...
0
votes
2answers
193 views

Can we find out in Event Receiver group Users like in a CS file

In CS file I used this code and it's worked: SPWeb site = SPContext.Current.Web; int managerGroup = site.Groups["Właściciele witryny Main"].ID; if ...
3
votes
2answers
6k views

how to give Role permission to list programmatically?

I have set my web permission to Inherit Permissions as well as Lists.and programmatically i have add SPUSER to web with assigned 'Restricted Read' access Role. and also associate SPUSER to List1 ...
1
vote
1answer
109 views

Multiple files upload to document library simultaneously & Custom property

I have a custom SharePoint 2007 document library which has a custom boolean column "Is it Important". It works perfectly for all documents if I upload documents one by one regardless of if its a word ...
1
vote
1answer
151 views

Stale QuickLaunch after SPWeb.Title update and Redirect

Thanks for taking a look. I have a text box and a button on a SharePoint aspx page which will update the current SPWeb's title. The control then redirects the user to a different .aspx page in the ...
5
votes
3answers
155 views

Keeping VM images consistent across development team

In trying to keep VM images consistent across our development team we need to ensure that SharePoint groups/users/permissions/audiences etc stay in sync as part of our CI process. Can anyone suggest ...
1
vote
0answers
32 views

E-Mail appearing in 'My Settings' but not in user profile?

As title suggests, there's a user who has confirmed he has his e-mail populated based on what they see in 'My Settings'. However, when I'm trying to do something in code with their e-mail I can't ...
6
votes
3answers
636 views

How to get two User Profiles service application using C#?

Is it possible to get two User Profiles service application 1). User profile service1 2). User profile service2 I have some code which only fetches the Ist User profile service application but ...
3
votes
3answers
1k views

Can not update Navigation programatically

I have following code var subWeb = newWeb.Webs.Add(subsite.Url, subsite.Title, subsite.Title, 1033, PublishTemplate, false, false); subWeb.AllowUnsafeUpdates = true; subWeb.Update(); PublishingWeb ...
1
vote
1answer
51 views

Reupload the document (update)

I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the ...
2
votes
4answers
11k views

SharePoint 2010 Code: Get list items of list in other site collection

I'm trying to access list items from an other site collection than the current "sitecollectionname" where I laungh my code in. I would like to validate the url of the current "sitecollectionname" with ...
2
votes
1answer
790 views

Delegate control with class.cs

I searched on google for some clarifications but I didn't find the answers I've been looking for. I want to deploy a delegate which would perform some custom functionality. That is why with a ...
2
votes
1answer
528 views

Send emails to multiple recipients via contactform webpart

Happy new year everyone, so I'm creating a contact form webpart for my event management system at the moment which has a checkbox "send to all attendees". I'm using the SPUtility.SendEmail method to ...
2
votes
3answers
3k views

Location of Microsoft.Office.Server.UserProfiles.dll

I am working on a Feature in C# in VS2010 for a Sharepoint 2010 site. The business logic requires working with user accounts, so we are using UserProfile and UserProfileManager. Theoretically (I ...
2
votes
2answers
445 views

Updating a document library list ltem in ASP.NET code behind file

I am trying to update a list item's custom property in asp.net code behind file but getting Error 500 without any explanation or further error, while debugging I realized it happens while calling ...
1
vote
1answer
136 views

How to fake Manifest.xml for WSP builder solution

I know WSP builder creates manifest at run time and then deletes it but can I fake it somehow to add few safe controls (I know other ways but I want to know if I can do it this way or not)
0
votes
1answer
140 views

STSADM or C# script to delete all custom site templates

I want to delete Custom site templates off my farm and wondering if someone know any script I can use. Not a big fan of Powershell at the moment as I am using SharePoint 2007.
3
votes
2answers
650 views

How to Use a AjaxScript Manager on ASP.NET 3,5 to add AjaX control Toolkit Script Manager

How should I use Ajax Control Toolkit in Sharepoint 2010. When I add Extender Calendar don't Shown. I tried add AjaxToolkitScript manager, but it's vrite me that it shouldn't be there 2 Scripts ...
1
vote
1answer
153 views

InfoPath, and Calling a instation of Template InfoPath from Event Receiver

I want to call a form of InfoPath from Event Receiver. How Could I set a field infopath a Values, from Event Receivers to sets a Values on infopath fields which could I Validate and show or hide a ...
0
votes
1answer
91 views

How Could I edit InfoPath in Visual Studio

If I add infoPath from Infopath Designer its blocked me all the Modal Dialog fired from Event Receiver. I want to edit InfoPath form to don't block My Sharepoint Modal Dialog. Now no one dialog boxed ...
0
votes
1answer
47 views

Connecting infopath with the data from the list

When I creating a infopath conected with list in creator from Microsoft InfoPath Designer the bookmark which called developer is hinding, and I can't editing or writing any of code. How could I ...
0
votes
2answers
68 views

Is it okay to use a domain account for a SP dev box?

Salvete! I have installed Windows7 64bit on an Oracle VirtualBox VM. I am preparing to install Sharepoint (Enterprise 2010), but I've a question about how this will work with my network's Active ...
5
votes
5answers
3k views

How to create a deployment package for a Sharepoint 2010 webpart in Visual Studio 2010

This might be a dumb question, but i really tried to google and didnt find any good answer. I was developing some webparts for SharePoint 2007 in Visual Studio 2008, and when i would build my ...
5
votes
1answer
394 views

Get SPListItem from LINQ

I have used SPMetal to create a data context. I can query my lists. The queries return an object of the type of list that they are in. Is it possible to convert this type into a normal SPListItem ...
3
votes
2answers
483 views

How could I put a references of Ajax Control Toolkit in a GAC

How Could i put a references to the Gac. I want to putting a dll file to the AjaxControl Toolkit.
0
votes
1answer
292 views

Ajax Control Toolkit at Sharepoint How to install

I get a AjaxControlToolkit from http://ajaxcontroltoolkit.codeplex.com/ I used install by Toolkit via NuGet. And i'm woried that it's get a lattest version of AjaxControlToolkit. Now I'm getting a ...
-1
votes
3answers
37 views

Two DropDownLists in this same site

I have got two DropDownLists. I want when I set in one value it should change in secound DropDownList the vales. Please Help. Always the values should look like updated.
1
vote
1answer
90 views

How to conenct in Visual Studio to the BDC from External List

I how got a question. How to connect to the External List with Visual Studio, and edit them BDC definitions in BDC Explorer Window. I try to open them, but I don't seethe BDC Explorer Window.
4
votes
1answer
463 views

How to customize a ListView Webpart from code

I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...
6
votes
1answer
834 views

Problem Extending SPDiagnosticsServiceBase

I am trying to create a feature that Extends the SPDiagnosticServicesBase class following the code described in MSDN That article has example code for extending the SPDiagnosticServicesBase class ...
5
votes
1answer
2k views

SPList.GetItems query returning an invalid SPListItemCollection. What am I doing wrong?

I'm trying to query an SPList object using a CAML query (see code below). SPQuery queryGetExistingTargetTask = new SPQuery(); queryGetExistingTargetTask.Query = ...
4
votes
2answers
471 views

Button not appearing on custom tab

I'm attempting to add a tab to the Library contextual group. So far that works inside a Document Library. I can also see my Group on the new tab, but I don't see my button (will have more than one ...
1
vote
2answers
241 views

SharePoint 2010 Modal Dialog body color

I have a link which opens my visual webpart inside Modal Dialog. I need to change the background color of Modal Dialog content area..dont want to make change in my custom css which is overiding ...
0
votes
2answers
74 views

How to build a InfoPath form on the site

I listened that it could be done that InfoPath Form is on the Site with WebPart. How Could be it Done? It should be a InfoPath form when I could on a site put date start of range, and date end of a ...
0
votes
0answers
21 views

SharePoint-Progammatically create a folder using non administrator account in c# [duplicate]

Possible Duplicate: SharePoint -access to path is denied I am working in SharePoint 2010,C#. I need to create a folder in my system using a sharepoint non administrator account. For ...
1
vote
3answers
968 views

Email loses table formatting using Sharepoint

Currently I am creating a form for my team in which whenever I created a table inside the form, the formatting always loses out when its emailed out using the workflow. It looks fine inside ...
1
vote
3answers
88 views

Is using the Using statement to close unknown and possibly Current webs, bad practice?

Until today I had been using the Using statement to open and dispose of webs. The variable relative_web_url is defined by a user input in the custom web part editor. using (SPWeb web = ...
2
votes
3answers
4k views

SharePoint List items being used in an ASP Repeater

If I am returning items from a SharePoint list is there anyway that I can store the values in an array or a list to use them in an ASP Repeater? I would have 4 values that would need to be stored (the ...
1
vote
0answers
78 views

DropDownList change the values in the same times

I have got two DropDownLists, and I want to change if I change in first Drop down list Values then I want to change in secound DropdownList. My first DropDownList has got a code: SPUserCollection ...
2
votes
2answers
392 views

Item Updated through different forms runs Item Updated event receiver

Simple but mind blowing question it is. Basically I am updating a specific list items through two different ways, one is using ASP.NET web forms and one is using default list forms provided by ...
1
vote
2answers
558 views

How to get all SharePoint Web Applications in the Central Administration Page from code behind

How can I have the list of all existing SharePoint Web Applications and their site collections from code behind .
0
votes
2answers
2k views

How to get a list of events from a Sharepoint calendar that are 1 day from now?

I've been trying to get all events that are today as a test, I haven't been able to do that either. So far I've set an event for today (an all day event so times don't matter) and executed this query: ...
1
vote
2answers
2k views

GetDataTable from SPListItemCollection

My question is regarding the use of DataTable vs ListItemCollection. Basically I have a small solution, where I have to loop through the items in the list to verify if the items already exists or not. ...
3
votes
1answer
3k views

What text type are multi line text columns in SharePoint lists?

When accessing a multi line text field from a SharePoint item in a list, what is the text type returned? Using C#: item["Description"].ToString() Is the above plaintext or html or...? I want to ...
0
votes
0answers
43 views

Can't read by loop foreach Externall List

If I tried to view in Element one of three External List I geting this error: Unable to display this Web part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint ...
2
votes
2answers
119 views

Getting latest datetime from a splist

I have sharepoint list with data and one of the columns contains date ... how can i programmatically retrieve the latest date, the field is a Date And Time type?