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

learn more… | top users | synonyms (3)

6
votes
1answer
853 views

Obtain Default Content Access Account via PowerShell

As part of farm configuration audit, I need to obtain the current content access account. While I've found several resources for setting the default content access account for search using PowerShell, ...
3
votes
5answers
25k views

how to upload file to sharepoint doc library via c# application?

I need to upload files with specific information(custom fields) into sharepoint document library via custom windows application. I have no idea how to do it, anyone has any examples how to do it ...
0
votes
2answers
162 views

SP2010 Update Site Title and Description - Security problem

I've created a custom application page to update the Title and Description of a site. The page is generating an access denied and the following error message in the log file: Unknown SPRequest ...
1
vote
1answer
712 views

c# Programmatic sub-folder creation with SystemUpdate

Environment: SP2010 Enterprise, VS2012, full server access Goal: Console application that creates sub-folders in various locations based on user input, and uses SystemUpdate(false) to prevent alerts ...
2
votes
1answer
307 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
2
votes
1answer
66 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
1answer
109 views

Could these errors be the cause of my timer job problem?

I have a timer job that runs every night at midnight. The first part of the timer job is to iterate through every single site in a particular site collection (there are many). The second part of the ...
4
votes
1answer
167 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
506 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
874 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
130 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
199 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
115 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
159 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
699 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
2k 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
52 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
870 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
618 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
458 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
141 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
156 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
660 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
159 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
48 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
417 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
501 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
308 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
92 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
468 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
864 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
519 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
263 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
75 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
1k 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
91 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 = ...
1
vote
0answers
80 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
408 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 ...