Dailycode.info

Short solution for short problems

Google history

Today I was looking with google to solve a problem in with a PC. I found a good solution page that described 4 possible solutions. I read them and thaught that I knew wich solution could fix the problem. So I closed the page and tried it out on the PC.

It didn't worked. So I wanted to view the other solutions, that's when I noticed I closed the page. I couldn't remember which search term I used to find this page. My company does not allow autocomplete in forms. Thats where Google history comes in.

Log on http://www.google.com/history/ with your google account and there you have the history of all your google searches. The history goes back al long time, as far as I know it stores and keeps your history indefenately. You can delete history yourself, in case of sensative search terms.

Here a peek of the tool.

This allows you to go back in time and choose a day you like.

Here you can see the search terms of a particular day. You can click on any of them to open the result pag. There is lots to find in this tool. You can also expand your Google history if you are using google toolbar. It can include URL's you visited. I don't care about my provacy, because I have nothing to hide.


Search a theme for iGoogle

When you create your own theme, you can submit it to the Google themes directory. They won't notify you or provide you with an url on how to add your theme.

Not to worry, there is a search box where you can look for your theme. BUT!!!

When your interface language is Dutch, there is no search box. Try finding your theme in 1000's of google themes. Every day, more and more theme are added and is harder and harder to find your theme. Here is the difference between the 2 interfaces:

Dutch:

 

English:

 

So tell me, is this discrimination or what :-)

I guess somebody just forgot to put is in there...

Together with Niki we found this error and a  solution. You can use the search box by changing your iGoogle inferface language to English.

/*Added on 19 september */

Just a day after this discovery I noticed that this problem was solved by Google. I guess I was to fast with my conclusions.


Multiple users field

In WSS 3.0 you can add a person or group field. In this field, it is only possible to insert 1 person or group. But sometimes we need to insert several users or groups. I started to google and ended up on this Microsoft blog.

I started to try the proposed solutions, but I keep getting the message: You are only allowed to enter one item. The proposed solution involved changing the CAML of the field type in the list. It had to look something like this:

<Field Id="{8ADC8169-6BA9-4d7e-B77D-B0F8B79BBEC5}"
 Name="Author" 
 BaseType="Text"
 DisplayName="Vertreter"
 Type="UserMulti"
 Sealed="TRUE" 
 ShowInDisplayForm="TRUE"
 ShowInEditForm="TRUE"
 ShowInNewForm="TRUE"
 ShowInListSettings="TRUE"
 DisplayNameSrcField="Account" 
 List="UserInfo"UserSelectionMode="PeopleOnly"
 SourceID="http://schemas.microsoft.com/sharepoint/v3"/>
 
 

I tried this, but it just didn't worked. The field looked like this:

 
 

But then something strange happened. When I added a new field, the option allow multiple selections appeared. At first site, it seems that setting a field of type user to usermulti manually in the DB made the change. Now the field looks like this:

So now WSS allows it to use multiple persons or groups in 1 field. Don't ask me how it got there. I think it is because I changed the CAML manually and then WSS enabled it for all fields? Maybe someone has a better explanation for this. I reproduced it, so it works fine now.

* remark: When I choose allow multiple selection I get this message:

Earlier versions of client programs might not support a Person or Group field that allows multiple selections. Adding this field might block those programs from saving documents to this library. 

The first consequence of this error already showed up. In the workflow in Sharepoint Designer I cannot see this field. In my case it makes it useless. So I will have to find a workaround or solution to this problem.


Google Chrome

Google introduced a while ago, their new browser: Google Chrome. I'm checking it out later on, also testing several content management systems like sharepoint.

If you're looking for more info click here.

They made a cartoon on the functionalities: http://www.google.com/googlebooks/chrome/index.html.

You can join the open source developers (VS 2005 or 2008), or just take a peak at the code here:

 


New life

It has been real quiet on this blog, that's because recently I became father of a beautifull daughter.

She was born on the 14th of august, weighing 3,800 kg. Her name is Anna-Lisa, Anna (= Merci, lovely) Lisa (=devoted to God)

From Anna Lisa

I will start posting again next week, in the mean time, I'm enjoying my daughter...