Important notice

Please note that this blog is discontinued here. All the posts are also coppied to my new blog at
Important: Due to large amount of comment spam further commenting has been disabled here. If you wish to send me a comment, plase look up the same post on my new blog and leave comment there. Thanks!


Making "Post" and "Get" forms from SharePoint’s pages

Recen project we were working on needed some forms to be posted to certain services. Knowing that SharePoint's pages are one big form and you can't nest another form inside another this starts becoming a problem.

But I remembered a while ago I was watching how the guys over at MSN spaces did it with the "Blog this" functionality. So based on this I've made similar script and methodology so you can create "forms" that make POST or GET from within SharePoint's Pages. The script is not fully automated, since it directly works only in IE, but with minor additions specific to your form, you can get it working easily in other browsers also.

Read all about it over at my new blog



Group items in a data view with the ability to nest items

In case you've missed it I've written a new article over at my new blog, which shows step-by-step process to group items. The difference between this method and the method the SharePoint Designer uses is - you can use nested elements (like nested lists, nested divs, etc.), which is fantastic for some navigation items, etc.)

See how to group items a bit differently over at my new blog

Oznake ponudnika Technorati: ,,,


Test move of my blog + a new post on the new one

I've been trying to move for a while. Still while this service is great, I've decided to migrate my blog to another platform. (No, still not SharePoint - that comes next :)). But now you can find my blog (currently) on a new address:

I've added lots of stuff to that blog - like the support pages for my ERTE project (which I'll be expanding), code highlighting (at least in some posts and for future posts), etc. And there is also wider space for my screenshots and code snippets.

You don't have to update the RSS, if you're subscribed to FeedBurner, If not, please update your subscribtion to

If you check the new site, there is already an interesting post awaiting for you about a different way of sorting and grouping which enables nested items.

Hope this move will work, otherwise we'll meet back here on webBorg :)


SharePoint Conference in Slovenia

B4Contact, the company where I work, is preparing an event that will take in my home town, Murska Sobota:

Display bigger map
Apart of knowing this beautiful part of our planet the event will open opportunities for cooperation between Microsoft partners from Slovenia and neighboring countries as Italy, Croatia, Hungary, Austria and other European countries.
It will be also a good opportunity to see which solutions are available for SharePoint!
I will have a presentation there, of course, but I will not tell you about it yet.

Here comes another nice part: If you think you could be a speaker, please let me know by adding a comment. I would love to get to know in person some of you!

More details will follow


Deployment of ERTE

There were some questions about how to deploy the ERTE solution that I've prepared on Codeplex (for inserting embeddable content to SharePoint Enhanced Rich Text Field). So I've prepared a video on how to deploy it.

Oznake ponudnika Technorati: ,,,


Couple of useful JavaScript global variables in SharePoint

If you're using custom JavaScripts with SharePoint some global JavaScript variables may come in handy.

These variables work if you're using SharePoint's default or any other custom master page.

L_Menu_BaseUrl - the base URL of the site / subsite. Very useful when you need to determine the absolute path of the site in JavaScript. Example: document.location = L_Menu_BaseUrl + 'lists/calendar/allitems.aspx' //redirects to Calendar list

L_Menu_LCID - the LCID of the site you're in. Useful if you need to determine the language of the site. The list of Locale IDs can be found here. I'm using the LCID for localizations in ERTE project. See the example of checking LCID below:

L_Menu_SiteTheme - the name of the theme applied to the site.

There is one more useful variable, but this one can't be used on custom master pages that you created. This one is used in the SharePoint's default pages:

_spUserId - the ID of the logged in user.

Oznake ponudnika Technorati: ,


New Release of ERTE for SharePoint now supports localizations.

The new version is released. If you've downloaded the first release, just download the new one from CodePlex and replace the .js file in the /_catalogs/masterpage gallery in your site collection. The project is still under Beta, so if you find some bugs please let me know.

The new version now supports localizations. The current version is published with English (LCID 1033) and Slovene (LCID 1060) translations. If the script can't find localization for your language, it will use english by default.

To add your own localization, add under "//Localization arrays" the translated following line:

var erte1033 = new Array("Please inputtt details","Alt Text","This will be displayed in RSS feeds","Embed Code","Paste your Embed code here","Insert","Close"); //english

and change the LCID and language at the end. If you don't know the LCID of your SharePoint site, open it in Internet Explorer, in the address bar type javascript:alert(L_Menu_LCID) and press enter. The alert window will tell you the LCID. The final translated version (example for Slovene language) will look like this:

var erte1060 = new Array("Vnesite parametre","Besedilo","Besedilo bo izpisano v RSS-viru","Embed koda","Prilepite Embed kodo v polje","Vstavi","Zapri"); //slovene

If you've localized the texts, I'd be happy to add them to the new release, so we could have as full version as possible. Please publish the translation under comments on my CodePlex HomePage.

Oznake ponudnika Technorati: ,,,,,