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

learn more… | top users | synonyms (3)

3
votes
3answers
851 views

Securing usernames and passwords for external SQL DB

We want to ensure that we are following best practice around connecting to a custom database. I'm not a developer as such so thought I would ask SharePoint Overflow :-). We have several SharePoint ...
2
votes
1answer
2k views

Why can't I update an SPView query?

I'm trying to update a SPView query, it doesn't give any error but it also doesn't update the property (SPView.Query). In SPManager 2007 it works with the resulting query of that code. Can you spot ...
0
votes
1answer
416 views

infopath 2007 field count

Is there a menu option in InfoPath 2007 that would give me the total number of fields? The reason that I am doing this is because I have a form that I developed that cannot be uploaded to a ...
1
vote
3answers
362 views

Notifications from custom app page

I have a custom application page with a form and a submit button. After Submit is clicked some code behind is executed and the user is redirected to the fill-out form again. I would like to add a ...
2
votes
1answer
3k views

SP2010 Custom Document Library - List Definition

I created a custom Document Library in VS 2010, I've added a content type with some custom fields based on the document content type. Which parameters do I need to use in my elements.xml/schema.xml ...
1
vote
1answer
252 views

Combination of anonymous and windows authentication on sharepoint 2007 web

is it possible to enable anonymous access only for a specific library? The script library should have an anonymous access whereus the page library should use the windows authentication.
1
vote
3answers
150 views

How to develop a webpart that show report of a list

I'm final year student and I need to develop a webpart for SharePoint 2007. I'm still exploring and I search for a tutor and friends that can point me to right direction on how to do my project. I ...
1
vote
2answers
676 views

Why is ProcessWorkItems being called multiple times with the same items?

I've written a timer job inheriting from SPWorkItemJobDefinition. For some reason I'm seeing the ProcessWorkItems method called multiple times for the same work items (i.e. they have the same batch ...
2
votes
2answers
2k views

SetCustomProperty within OnSaveChange

Saving Custom Field Type properties using SPField.SetCustomProperty within the IFieldEditor.OnSaveChange event does not seem to work, for reasons explained elsewhere. I've seen all kinds of bodges ...
0
votes
2answers
640 views

Setting user group specific permissions in InfoPath form

I am trying to set specific permissions to an infopath form if a certain check box is checked. Currently, the form will automatically inherit permissions from the top level site. I want to stop this ...
7
votes
4answers
311 views

Options for SharePoint 2010 developer training?

What are my options for solid, relevant and affordable training for SharePoint 2010 development? I am working with a relatively small budget and would also have to do this on my own time, so it would ...
8
votes
1answer
2k views

Opening the default “New Document” editor for a given ContentType from an external C# application (Sharepoint 2010)

I'm currently working on integrating some SharePoint functionality to an existing C# application we have here. Most of the requirements have be fairly easy to implement: I'm using the ListData REST ...
0
votes
1answer
522 views

Converting CAML to SPQuery syntax

Following CAML Query is giving me all the events for the upcoming two weeks. Does anyone have an idea how to convert the part [Today+14Day(s)] correctly when using the SPQuery class syntax to use the ...
2
votes
1answer
2k views

SharePoint 2010 set a custom page as home page through a feature

I have a WebTemplate using a team site as BaseTemplate, and was wondring how I could set the default page as home page instead of the home.aspx page and this during the provisioning process of the ...
1
vote
1answer
573 views

Why does my InfoPath 2010 form stop opening in the browser when I add a code project? [closed]

I created an InfoPath 2010 form and published it to SharePoint Server 2010. I published it to open in the browser not in the InfoPath Filler, and it works fine. When I attach a code project to it ...
1
vote
3answers
646 views

Sharepoint Designer Crashes When Adding a Custom Web Part [closed]

I'm trying to add a webpart to a "Dispform.aspx" of a list in Sharepoint Designer. I can add ootb webparts without any problem, but mine just won't work. By the way, I can add the web part normally ...
6
votes
2answers
1k views

Using dependency injection with SharePoint

In the particular project I'm working on we are already using Enterprise Library. I'm researching using it (i.e. Unity) for dependency injection. The recommended way to include Unity is modify ...
2
votes
2answers
420 views

Site definitions vs Web templates in SharePoint 2010 when using Feature Receivers

I've written some code which needs to be exacuted when creating a new site. The site should look like something between a blank site and a team site. (Very basic) And also uses a custom master page. ...
2
votes
1answer
878 views

Creating a Yes/No modal dialog box

Apologies if this is a pretty basic question but I'm a relative SharePoint newbie and I've been trying to find an answer for this for a couple of days. I have an SPToolBarButton that provide Delete ...
0
votes
2answers
735 views

Creating a class library in VS2010 - cannot be loaded by sharepoint

I have a Sharepoint 2010 solution with project containing a custom content type, list definition and list instance in. In this solution is an event receiver project and a standard class library ...
1
vote
1answer
613 views

Programmatically Adding a Publishing Page

Has anyone at all look at uploading a file to/using an existing SPFile in the PublishingPageCollection.Add() method? I'm referring to this override specifically: ...
0
votes
1answer
6k views

SharePoint 2010: Use SP Usercontrols in custom application pages

I would like to use SharePoint User Controls in my custom application pages. In VS2010 I've created a new project and added an application page. I've added the follow Tagprefixes in my customapp.aspx ...
3
votes
1answer
411 views

Time conversion via ClientContext

In native SP list I have item with datetime field which shows 24.1.2010. 00:00:00. When I try get it with ClientContext, I got that item field with the time 23.1.2010. 23:00:00. I understand that ...
0
votes
2answers
358 views

Feature Receiver: Add users from list to a group

I have a list 'Users' with a column 'UsersToAdd' of Type "Person or Group" which I like to use for provisioning a SP group 'MyUsers' at the creating of a new site. I have created a feature receiver ...
1
vote
1answer
426 views

Is remote development possible with SharePoint 2010?

Basically I'd like to develop components for our SharePoint test environment from my development machine and use the "Deploy" functionality to go from my development machine to the test environment. ...
0
votes
1answer
230 views

Web part: Security trimmed results on Recently updated content for currently logged in user

I'm looking into a solution for a querry web part(?) The web part should display the 10 last updated documents (or less), in the last 2 weeks for all the document libraries in a specific web ...
0
votes
1answer
127 views

SP 2010: List overview of logged on user access (500 sites, 30.000 users)

We have a platform with 500 site collections and over 30000 users. One of the requirements is to list an overview of the sites (on the central site collection:Home page) the logged in user has access ...
0
votes
2answers
2k views

CEWP on Allitems.aspx in SharePoint 2010?

I have a SharePoint 2010 Discussion board and would like to add a Content Editor Webpart on Allitems.aspx page of it. I understood that we can not directly add a CEWP into the page however should use ...
3
votes
1answer
1k views

Add users to the site collection administrator group through code

You can add users to the site collection administrators group through Site Actions ->Site Collection Administrators (and add users) But how can you do this through code? What is the grpName? ...
0
votes
1answer
312 views

Custom App Page Change Site Title, pass new Title value

I created a custom app page with two user controls: asp:TextBox ID="SiteTitle" runat="server" and asp:Button ID="UpdateSubmit" runat="server" Text="Update" The goal is to have the same behavior as ...
-1
votes
1answer
233 views

Add a class to a sharepoint web part project

I do apoligize in advance for that's a probably silly question but... I'm developing a custom Sharepoint Webpart and, for the sake os SOLID principle, I need to embed certain functionalities in ...
0
votes
1answer
82 views

Create an Exit link which returns users to referring page

The users come to my site from a link setup on another site. I need to create an Exit link on the header of my Site Collection. When user clicks on this Exit link they should be send to the site or ...
1
vote
1answer
468 views

SharePoint 2007 Search Webservice client call - darrenjohn's API

I want to get the same result set as sharepoint search returns using webservice/object model, what is right way of doing it? Let's say: If sharepoint search core result webpart says 20 items/result ...
0
votes
1answer
760 views

Sharepoint 2010 ALERT settings - customize possible set of lists

I want to customize possible set of lists on which user can set "alerts ON". Customizing just ribbon button ("Alert me") for not showing on specific list isn't enough because - on some list on which ...
3
votes
1answer
277 views

SharePoint 2010 development practices

We are a group of ASP.NET developers who are new to SharePoint and we are starting fresh from SP 2010 with no prior experience with 2007. I am trying to figure out how to implement the SW development ...
3
votes
2answers
359 views

Using a shared DAL class library solution for a SharePoint farm

I was wondering what your thoughts were on a shared data access layer in a SharePoint farm. I am well aware of the implications of accessing the SharePoint content databases directly - I am referring ...
0
votes
1answer
261 views

Forms Based Authentication - default page

I have mixed authentication on my site ("Windows" and FBA). If I go to site url I should be redirected to default.apx from 14hive\TEMPLATE\IDENTITYMODEL\LOGIN folder which contain LogonSelector ...
2
votes
2answers
779 views

How can I add a social tag to a page by using a custom script?

I wrote a script which I think is supposed to tag a page with a URL. I copied the URL which SharePoint uses to tag a page with "I Like It" when someone clicks on the I like it button. The URL is ...
0
votes
3answers
1k views

How do I use custom code to rotate images from an image library?

How do I rotate images from an image library on a SharePoint page? I want to do this using custom code not jQuery though. I'm using C#. Anyone have an idea?
1
vote
1answer
698 views

Why are controls being lost on postback?

I am having a really frustrating time with this. I have tried starting from scratch with a new project even, and still it happens. Basically, I have a webpart, with a label and a button in it. When ...
0
votes
1answer
562 views

Re-order Content Types for a List in code

Has anyone been able to re-order content types for a list in code? If I'm given a specific content type, I want to make it the default in a list, by re-ordering the SPList.ContentTypes collection and ...
1
vote
2answers
860 views

CKSDEV tools - problem with debugging

I use CKS devtools version 1.1(latest). Problem is: I installed tools and everything was ok relating to debug (VS2010 - Tools - CKSDEV -Attach to IIS Worker Processes) but after I changed ...
3
votes
1answer
3k views

CAML 'Endswith' equivalent?

I have to pull the data from the custom list by using a CAML query. I would like to use the "Endswith" option in the CAML query however it seems to be unsupported in sharepoint 2007. What would be ...
1
vote
1answer
555 views

Invalid field name error when calling GetAvailablePageLayouts()

UPDATE Worth noting that this is only happening when the site definition is called from SPWebApplication.Sites.Add, if I use the UI then this works fine. My code is impersonating the system account ...
2
votes
1answer
514 views

Is it possible to grant permission for groups (in SharePoint) to a site programmatically?

I am using the SharePoint Object Model to create new sites programmatically (with a custom web part). It works fine but I am wondering if it is possible to grant permission for groups as well? When I ...
3
votes
1answer
738 views

SPLongOperation never ends

I have an SPLongOperation that occasionally fails to redirect the user to a new page when the operation completes. I'm not sure what circumstances cause the problem, since I don't yet have a reliable ...
1
vote
2answers
287 views

Practical WSS 3.0 development environment?

I'm looking to set up a small development environment at home and I'm trying to figure out my options (a key consideration for me is price). Assume I have nothing but a Windows 7 32 bit PC. I think ...
0
votes
1answer
299 views

Modal error dialog

I would like to modify modal dialog for add/edit list items. Precisely, if i got some error message because user didn't enter correct informations in modal form (I have validators), then - I want to ...
1
vote
3answers
806 views

Can you query SharePoint in C# using SQL?

I'm sorry if this has been asked, but I cannot find an answer. Can you query a SharePoint Document Library or site in a C# program using SQL? If so, how do you set up the connection to SharePoint ...
0
votes
1answer
3k views

C# Add choice field to list and set default value

I am currently writing some code that when a user presses my custom ribbon button I add a choice column to the current document list. I am using the AddAsXml to add the column, I add the choice list ...