Thursday, May 29, 2008

Incremental number on the InfoPath form title hosted as a webpage

Let’s say you want an electronic Form and the identifier of the form needs to be an auto incremental number or ‘some text’ plus an incremental number and you have chosen SharePoint to host your electronic form and InfoPath as your tool to design your form, there is a very good article on how to do this, I’m just extending this useful information and adding some screen shots to it.

Base article

Very simple video to look at the instructions.

Friday, May 23, 2008

SharePoint Permissions

I have been asking this same thing a couple of times now, that's why I decided to blog around this.

It's very simple straight forward and here is a video about the basic permissions handling.

This contains:

Break permission inheritance from the parent site.
Create the 3 default groups in SharePoint site, for Viewers, Contributors, Owner.
Add one user to one of the groups.
Delete one user from one of the group.
In order to add an AD group to a SharePoint group is the same way as adding a user, and with this in mind you just manage the AD group.

Next time ill add voice to the video.

Monday, May 19, 2008

Development enviroment

This is my new development home environment, i'm not going to the specifics of the laptop but got 2gb ram, running Linux and on top of that developing WSS and MOSS, some Microsoft guy mention that Sharepoint developers are the elite cause of the amount of different technologies you need to learn, im adding a new variable, linux. Its been a long time and im using ir again!!!!

Friday, May 16, 2008

My first custom type, well second Enhanced image for sharepoint 2007

This is a sharepoint 2007 custom type that enhances the functionality of the out of the box "Hyperlink or Picture" type. It basically allows, once added to a list, the ability to upload a picture from the custom list via open dialog box, avoiding the tedious task of uploading the picture to a picture library then copy the url and then paste the url into a "hyperlink or picture”. So instead of having a two step process you can upload a picture directly to a the custom list generate a thumbnail to show on the list view and if click on the thumbnail a popup with the real size picture will show. This was my first attempt of creating a SharePoint custom type so once i publish the code here ill appreciate any comment in order to improve it.
So if you want to know how everything works, take a look at the video.

So now you can upload pictures to your custom list or document library without the pain of uploading the files somewhere else and then copy the URL.

Currently I have a couple of problems but its fully functional, the first one is that attachments needs to be disable on the list not for Document libraries but for Custom lists, the second one is that you need to have at least one picture library in your site.I’m not going to explain how to deploy the WSP but it’s at codeplex so enjoy.
So if you want to know how everything works, take a look at the video.