Again and Again, some things don't keep in mind for long

Some things, don't keep in mind.

Just a reminder(for myself) if you want double curly braces, you need three curly braces.

// I have been asked how to format it and I forgot lol...
string.Format("My Informations need to be curled this is the number: {{{0}}}", "1337");

Extremhelpful working with GUIDs in Sharepoint....

So don't bother reading it, just a notice too myself... *s*

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Variations in Sharepoint are quite cool, sometimes somehow

Currently I'm working on relations between Variations and Sources and Pages.

10 approaches got booted out of my head cause of non logic between them.
I'd use SQL but then my MS-ADC would slap me. ;)  So I have to use "standard".
The current approach is looking nice (so far)...

"A lot of garbage I'm staring in, but sometimes I find some news of tomorrow."

Screenshots of the full solution are provided here (soon tm)

CODE SNIPPETS:

How to Access the Hidden List:

SPContext.Current.Site.RootWeb.Lists[new Guid("PUT YOUR LIST GUID HERE")].GetItems(YOUR QUERY);
You need to Provide the List's GUID to access it, U2U CAML Query or Sharepoint Explorer allows you to access this Information.

You can expect: The ObjectID, no Title, and the GroupID

foreach (SPListItem itm in SPContext.Current.Site.RootWeb.Lists[new Guid("PUT YOUR LIST GUID HERE")].GetItems(YOUR QUERY))
{
        // Another Funny thing, the object ID is an URL! So take care.
        using(SPSite nSite = new SPSite(itm["ObjectID"].ToString().Split(',')[0]))
        {
            using (SPWeb nWebs = nSite.OpenWeb())
            {
                if (itm["ObejectId"] != null) // yes put everything else string prove and so on here too, and a count etc.
                {
                    // Yes, nOriginItem is a SPListItem
                    nOriginItem = nWebs.GetListItem(itm["ObjectID"].ToString().Split(',')[0]);
                }
             }
         }
 
}

With the Item you can create PublishingPages and co and do what you like.

// Enjoy

 

 

Currently rated 4.8 by 4 people

  • Currently 4.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Hyper Hyper

Lucky me with Hyper V

I'm happy to pronounce that I'm going to give Hyper V a try this or next week.

All about performance and stuff coming soon(tm)

Here something about the set up:
Double Quad Core Xeon 5330
16GB 667 RAM
Raid 1.5

So let's see how it runs with at least 6 VPC 32Bit Setups Win 2K3 with MOSS and VS2005

 

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Another Tool for Branding Sharepoint

 Haven't had the time to give it a try but I'll do soon(tm)

The G.O.D. of the Tool was the designing and customizing the MySite.
You should be able to brand the complete front end and swap the Themes on the fly for all MySites at onces.
Also a benefit is to set a theme and MasterPages on the fly for all new MySites created.

*apparently* So no more writing painful features for the MasterPages and Themes.

Features:

This tool can be used apply the following actions for multiple Site Collections, and Child Sites:
* modify Themes,
* modify MasterUrl (Master Page),
* modify CustomMasterUrl (System Master Page),
* modify SiteLogoUrl (Site Logo),
* modify SiteLogoDescription (Site Logo Alternative Text),
* modify AlternateCssUrl (Custom CSS Style Sheet)
* view various properties of sites and themes at a glance

Compatibility: Works with WSSv3 and MOSS 2007.

Check it out @ Codeplex 


I'll definitely have a look at the fancy tool. More soon(tm)

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,