Browse by Tags

All Tags » SharePoint (RSS)

Validate that file name before uploading a file to the SharePoint library! by Adis Jugo

In a course of time I’ve seen many ways to validate a name of a file which is being uploaded to the SharePoint library. It’s somehow not that well known that there is a SPEncode class in Microsoft.SharePoint.Utilities namespace which can really...

Microsoft Windays 09: MOSS 2007 and Enterprise Application Integration by Adis Jugo

One of the important developers conferences in Europe, Microsoft Windays , is traditionally being held in a beautiful Croatian coast town of Opatija (April 20-24th 2009). It is primarily a developers and architects conference, although this year there...

List of SharePoint Events by Adis Jugo

Here is the full list of SharePoint Services 3.0 Events that you can handle with your recievers: Item – level events (SPItemEventReceiver Methods) Synchronous ItemAdding Synchronous Before event that occurs when a new item is added to its containing object...

VSeWSS: CTP of Visual Studio 2008 extensions for SharePoint v1.3 by Adis Jugo

Finaly! A version 64-bit of  VS 2008 Extensions for SharePoint is out, in a form of a CTP. Yes, that means we can now develop on x64 servers as well :) CTP 1.3 brings some new features as well: Can be installed on x64 Server OS machines running SharePoint...

Working with user roles and permissions in SharePoint Object Model part 2 by Adis Jugo

In my previous post , I have explained how to work with user roles and permissions in SharePoint object model, how to access and create SPGroup objects (SharePoint groups) on the fly, and how to assign Permission Leves (a.k.a Role Definitions) to these...

Which Microsoft Office version can be used with WSS 3 and MOSS 2007? by Adis Jugo

Yesterday, I was explaining the user-experience differences between Office 2003 and Office 2007 to a customer. What can be done with 2003, where do I definitely need 2007. And then came the question if the Office XP can be used. I didn't know, and...
Filed under: , , ,

Working with user roles and permissions in SharePoint Object Model by Adis Jugo

In this example, I'll create a SharePoint group using the Object Model, add few users in that group - which will be single users as well as the whole AD groups, create a folder inside the existing SharePoint Document library, break it's permissions...

Read the BDC data from MOSS Object Model by Adis Jugo

So, what do you do the first when you want to create a rock-solid BDC system with your SharePoint? If your BDC is going to fetch it's data from the web service, you will of course first create the service, which must contain at least two methods:...

MOSS, Sharepoint Object Model and CAML: Recursive search (search in subfolders) in document libraries and lists by Adis Jugo

One of the nice features in SharePoint Object Model is querying lists and document libraries with CAML queries with GetItems method. One of the overloads of this method allows (a part of a) CAML query as parameter SPList.GetItem(SPQuery), meaning everything...

Importing linked lists into existing MOSS 2007 site by Adis Jugo

Picture this situation: you have two operational MOSS 2007 sites, possibly at two different MOSS servers. Now, you have to copy two SharePoint lists from one site to another, retaining all additional information like field names, descriptions, views....

A few more MOSS tricks... by Adis Jugo

Master dialog pages So you created a great all new master page for your Sharepoint site, but all the dialog pages (i.e. Acces Denied, Unknown Error...) are still in the "Default" style? Yeah, I know... You have to edit the "simple.master"...
Filed under: , ,

MOSS: How to remove "My Settings" and "Personalize this page" menu items from the "Welcome" menu by Adis Jugo

You will sometimes want to hide certain menu items from the "Welcome" menu in the SharePoint site. You can do the following: 1. Go to the following folder at the MOSS server: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions...
Filed under: , ,

Using CAML to query Sharepoint lists over Lookup fields by Adis Jugo

If you have ever tried to query a SharePoint List, over a LookupList value with CAML, you know that the "supposed" CAML way to do it is over the "Title" field of the LookupList values. For example, if we want to query the sharepoint...
Filed under: , , ,