Archive for the '.NET pasaule' Category

MOSS & custom master pages

Tuesday, August 5th, 2008

I just found an interesting “feature” in MOSS publishing infrastructure. We’re designing a custom master page for our MOSS portal solution. If I recall correctly, we started with Heather Solomon’s minimal master page, but I’m not really sure. We swiped out all of the built-in styles and layouts to achieve maximum flexibility and stylability of MOSS [...]

Sharepoint - LOC?

Thursday, December 20th, 2007

This is rather a question or an idea for a discussion than a regular blog post. I’m just wondering how does one count LOC in Sharepoint? Or, to be more general, how do you measure the amount of work that has been invested in creating a solution in Sharepoint. A solution can consist of [...]

Sharepoint Workflow modificēšanas formas izveide ar InfoPath

Thursday, August 23rd, 2007

Iesākumam Workflow modificēšanas formas jāveido kā InfoPath XSN formas, nevis kā ASPX formas. InfoPath ir dabūjams pilnajā MSOffice paketē, oficiāli tas piederas pie “Microsoft Office Suites and Applications 2007″ pakas Pašas formas izveide Jāveido jauna forma, to veidojot uzreiz vēlams uzstādīt ķeksi “hide features that do not work in InfoPath Forms Services” (saucas kaut kā citādi, bet ideja [...]

Sharepoint un yyyy.MM.dd

Tuesday, July 31st, 2007

Kad uzinstalēsiet Sharepoint valodu paku, par kuru rakstīju iepriekšējā ierakstā un gribēsiet, lai “viss būtu pavisam latviski”, var gadīties vilties tāpat kā man. SPPS ļauj glīti nomainīt gan “Sort order”, gan “Locale” katram atsevišķam Web vai Site objektam. To dara apmēram šādi. Varam uzstādīt latviešu lokāli un latviešu kārtošanas secību. Rezultātā iegūstam, ka konkrētā vietne [...]

Sharepoint runā latviski

Tuesday, July 31st, 2007

Šodien (31.07.2007) ir nopublicēta latviešu valodas paka, kas paredzēta Microsoft Office Sharepoint Server. Tā pieejama Microsoft lejupielāžu centrā “par velti”, tas ir, licencēšanas noteikumi tie paši vecie. Ļoti ceru, ka tulkojums būs pilnīgs un bez īpaši pamanāmām kļūdām. Lejupielāde: MOSS2007 valodu paka. Ja nepieciešama valodu paka “plikajam” Windows Sharepoint Services, tā pieejama jau ilgāku laiku.Te gan uzreiz [...]

Sharepoint, MOSS un WSS - 2007. versija

Wednesday, November 22nd, 2006

Šķiet, esmu viens no retajiem LV, kuram šīs lietas vispār interesē, tomēr pastāstīšu - lai jau saglabājas nākotnei. Kopš šī gada sākuma tīmeklī it bieži tiek pieminēts “jaunais Sharepoint” - visvairāk kā apjūsmojoši ieraksti dažādos blogos, cik ērts gan tas būs. Runa ir par Sharepoint 2007, precīzāk, diviem Sharepoint saimes produktiem - Windows Sharepoint Services (WSS) [...]

Always, ALWAYS initialize!

Friday, October 20th, 2006

What output would you expect from such a piece of code (VB.net, of course): Imports System.Globalization …. Dim CurrentCalendar As System.Globalization.Calendar = _ CultureInfo.CurrentUICulture.Calendar ‘We want to [...]

IsUserInGroup updated

Thursday, May 11th, 2006

In an earlier article I’ve been talkin about how to check if a user belongs to a specific domain group. However, the code in that article doesn’t work on local groups and WinNT ADSI provider. I’ve made an update to the code posted there, this should work both on domain and local groups. Usage: If IsUserInGroup(”Contoso\JohnDoe”, “Contoso\Managers”) [...]

cmdSave.Enabled = False

Wednesday, January 11th, 2006

Nemaz nav prātīgi domāt, ka, ASP.Net kontrole (piemēram, poga), kas it kā ir “atspējota” (disabled, not enabled), patiesībā tāda ir. Vienīgais, ko patiesībā ASP.Net izdara, ir, ģenerējot HTML kodu, kontroles kodā ieraksta disabled=true. Taču, ja šo pogu klienta pusē atkal “iespējojam” (eneiblojam), piemēram, ar šāda te: javascript:( function(){ [...]

Finding SPListItem by its ID

Monday, December 19th, 2005

I just found out that some operations in my SharePoint application run quite slow when used on lists containing large amounts of listitems. In the particular case it was approximately 2,500 items in the list. The result is: NEVER use this code construction to find an element by its ID: oList = oWeb.Lists(”LongList”) [...]