Using Windows Sharepoint Services (WSS) to create a new site

To cut to the chase, the process of creating a new subsite using WSS is as follows: Connect to the main site using SPSite. Add the new site using the Add() method on AllWebs collection. Do all kinds of magic using the newly created site. Here is a small C# code example: SPSite rootSite = new SPSite("http://testsite"); SPWeb site = rootSite.AllWebs.Add("testsub"); In order to access this site you need to visit “http://testsite/testsub”. Hope this...
read more

The “European Knowledge” experiment

I have just started a very small poll that is part of a small experiment i am conducting. If you’re interested please check it out and vote here. Please do not lookup the answer online. It will only take a minute to complete. The results of the experiment will be revealed once i close the survey, in about a week or so. I would like to thank anyone that participates in...
read more

Stop joining spam meaningless Facebook groups

I’ve seen this trend taking off the last year or so. Every spammer out there has included Facebook in their plans. Here is how it works: I have a stupid site i want to promote or a stupid product or anything that you wouldn’t actually even pay attention to. I go to Facebook and create a new group. I give it a smart, funny, witty, inviting name such as “I am always right and when i’m not i’m rightfully wrong”. How funny. I spam invite all my friends to join. They find it funny enough and do join. The group shows up in their “Info” box. More users notice...
read more

Hook up C# with Windows Sharepoint Services (WSS) tutorial

In this small tutorial i shall demonstrate how to hook up C# to use the Windows Sharepoint Services API (WSS). It’s fairly simple and straightforward. You need the following: A machine running Windows server 2003/08 with Sharepoint installed. Microsoft Visual Studio 2005. About 15 minutes. For the purposes of this example, we will create a small console application that will list all the sites of a Sharepoint site. First of open Visual Studio and create a new Visual C# console application. Next step is adding the reference to the WSS API on our project. To do so, you can go on the explorer...
read more

How to use bindings in the backing beans in ADF 10g

This is a follow up to the original post about acquiring a bindings object in backing beans in ADF. Some have had the question, how to use the bindings for standard operations in the backing beans. Hence this post! The answer is – easy. As soon as you’ve got the bindings (oracle.binding.BindingContainer object) instance, you can do a lot of interesting stuff with it. Always keep in mind, that it represents the page definition, meaning that it “contains” whatever the pageDef does. Create a class like the following one: import...
read more

« Previous Entries Next Entries »