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: , , ,

Live! Messenger allow multiple instants running

Since I was in need having 2 MSN Clients installed, I had a look and found a cute solution for that!
Having a 3rd Party MSN Client installed was boring none of the origin feat. worked well. (Miranda, Trillian, whatever)

Have a look: msgplus

You can customize mostly all features of Live Messenger, inkl. Custom Scripts in your Chat Window, Custom Text Colors, Transparency.

Just a short Intro for its massive additions.

Messenger is must for Nintex Lazy Approval or just for communication with Sharepoint.

Looks its written entirely in .Net

Currently rated 5.0 by 1 people

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

Tags: , ,

Sharepoint Theming and Skinning - well recolor or paint it

Fancy thing: http://www.elumenotion.com/

Is a nice tool in a classic scope for simply recolor a Sharepoint Theme without CSS writing and just modify the colors of an existing Theme.
The Main usability IMO is the feature of listing all Colors of a Sharepoint theme. These Colors are grouped/arranged in a rainbow (Ascending)
You modify the selected Colors refresh the View and get all the colors you need to change. 
Free to Download: http://www.elumenotion.com/ or have a look at codeplex.com
Currently I'm working on a lightskin for Sharepoint, which should improve the speed for browsers. Nice tools: CSS Tidy

Currently rated 5.0 by 1 people

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

Tags: , , , , ,

Sharepoint Error Loging, as comfortable as a Coffeemachine

Interessant ist folgendes Snippet:

Microsoft.Office.Server.Diagnostics.PortalLog.LogString("Error in WebPart: {0}, {1}, {2}", "MyWebPart ",e.Message, "Fix IT!");

The Logging is simple and smoove, easily add your string you want to format and throw the values into it. (Similiar the string.format you should use! instead of += string + "info" ) 

My need was to catch the Exception, if a user doesn't have an EMail Adress, to inform the Admin (WFL) and restart base Workflow.

Microsoft.Office.Server.Diagnostics.PortalLog.LogString("Fehler in ListWatchDog: {0} ", "Benutzer: " + nUser.Name + " hat keine EMail Adresse hinterlegt");

Currently rated 5.0 by 3 people

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

Tags: , , , ,