RobotII http://www.robotii.co.uk Welcome to the real world Wed, 23 Jan 2013 22:30:37 +0000 en-GB hourly 1 http://wordpress.org/?v=3.5.1 Getting Notifications to work in CRM 2011 UR12 http://www.robotii.co.uk/2013/01/getting-notifications-to-work-in-crm-2011-ur12 http://www.robotii.co.uk/2013/01/getting-notifications-to-work-in-crm-2011-ur12#comments Wed, 23 Jan 2013 21:22:39 +0000 Peter Arthur http://www.robotii.co.uk/?p=580 If your CRM 2011 online instance has recently been upgraded to CRM 2011 UR12 (Polaris), you may have noticed that a few things don’t work as well in Javascript as they used to. One of the major annoyances is that the notification code posted here stopped working. I investigated the problem, and found that the [...]

Getting Notifications to work in CRM 2011 UR12

]]>
If your CRM 2011 online instance has recently been upgraded to CRM 2011 UR12 (Polaris), you may have noticed that a few things don’t work as well in Javascript as they used to. One of the major annoyances is that the notification code posted here stopped working.

I investigated the problem, and found that the AddNotification function is now no longer attached to the element “crmNotifications”, but to a separate object within the Javascript object model. Below is an updated version of the code that should work with Polaris.

addNotification = function (message, level) {
 var notificationsArea = $find('crmNotifications');
 if (notificationsArea == null) {
 alert('notifications not found');
 return;
 }
if (level == 1) { //critical
 notificationsArea.AddNotification('mep1', 1, 'source', message);
 }
 if (level == 2) { //Info
 notificationsArea.AddNotification('mep3', 3, 'source', message);
 }
 if (level == 3) { //Warning
 notificationsArea.AddNotification('mep2', 2, 'source', message);
 }
 if(message == "")
 {
 notificationsArea.SetNotifications(null, null);
 }
 }

The changes can be found on the second line, which uses an internal undocumented function $find. Having said that, the document.getElementById function is also an unsupported method, so if it didn’t work before – and does now – you’re in the same situation as you were previously.

Useful Resources

http://blogs.msdn.com/b/johnsullivan/archive/2011/11/02/crm-2011-custom-form-notification.aspx

http://marcoamoedo.com/blog/show-custom-warning-messages-on-microsoft-dynamics-crm/

Getting Notifications to work in CRM 2011 UR12

]]>
http://www.robotii.co.uk/2013/01/getting-notifications-to-work-in-crm-2011-ur12/feed 4
Ultimate Google Analytics plugin now hosted on Github http://www.robotii.co.uk/2012/12/ultimate-google-analytics-plugin-now-hosted-on-github http://www.robotii.co.uk/2012/12/ultimate-google-analytics-plugin-now-hosted-on-github#comments Sun, 23 Dec 2012 13:41:16 +0000 Peter Arthur http://www.robotii.co.uk/?p=573 I’ve tidied up a few of the small bugs mentioned on the support forum at http://wordpress.org/support/plugin/ultimate-google-analytics, so the code should contain a few less niggling little problems. I’ve also moved development over to github, in case anyone else wants to help out with the maintenance burden. The code can be downloaded at https://github.com/robotii/ultimate-google-analytics. Please feel free to [...]

Ultimate Google Analytics plugin now hosted on Github

]]>
I’ve tidied up a few of the small bugs mentioned on the support forum at http://wordpress.org/support/plugin/ultimate-google-analytics, so the code should contain a few less niggling little problems.

I’ve also moved development over to github, in case anyone else wants to help out with the maintenance burden. The code can be downloaded at https://github.com/robotii/ultimate-google-analytics.

Please feel free to clone the repository and send pull requests if you do anything interesting.

Ultimate Google Analytics plugin now hosted on Github

]]>
http://www.robotii.co.uk/2012/12/ultimate-google-analytics-plugin-now-hosted-on-github/feed 0
Synopsis of Traffic to this Site http://www.robotii.co.uk/2012/08/synopsis-of-traffic-to-this-site http://www.robotii.co.uk/2012/08/synopsis-of-traffic-to-this-site#comments Mon, 06 Aug 2012 11:34:34 +0000 Peter Arthur http://www.robotii.co.uk/?p=549 There are two main types of traffic that you can get to your site. The first is search engine traffic. This is where your site has come up in the search engine listings for a particular keyword, and someone has clicked on the result, hoping that the page is going to be of use to [...]

Synopsis of Traffic to this Site

]]>
There are two main types of traffic that you can get to your site.

The first is search engine traffic. This is where your site has come up in the search engine listings for a particular keyword, and someone has clicked on the result, hoping that the page is going to be of use to them.

The second is where you have a link on another site, that may not be under your control. These are usually referred to as referral links.

I’ve noticed that the referral links tend to provide more value in terms of more pages visited on my site. The Google listing provide more traffic, but of slightly less quality.

Note that I’m measuring quality by the number of pages per visit, which is mainly due to the fact that my main goal is not to get money off people, but simply to put this stuff out there and see what happens. Interestingly enough, the BBC site, although providing fewer “hits” than most other sites, also provides more pages viewed per visit than either Google, Bing, Yahoo or other referrals. I’m guessing that this is due to the BBC attempting to provide high quality links, and hence the trust factor on BBC links is much higher than for other sites.

The biggest spike in BBC traffics came around August last year (2011), but doesn’t seem to correspond to any post or activity on my part, so I’m still not really clear as to what happened there. It also seems to have died off, so I’m presuming that it was time dependent.

Google traffic has steadily increased on the site over the last 12 months, while a minuscule part of the traffic comes from Bing, Yahoo! and Ask. The biggest referrer by far is artofmanliness.com, which accounts for almost as much traffic as Google, but results show that people don’t spend any more time, or visit any more pages than they do when coming from Google. The biggest page by number of hits is my Best Man’s Speech, written for Richard‘s wedding, and has consistently been high since it was put up there. It accounts for the majority of my traffic.

All in all, as visitors are still coming here, and in increasing numbers, despite the low level of posts, I think we are doing OK.

Synopsis of Traffic to this Site

]]>
http://www.robotii.co.uk/2012/08/synopsis-of-traffic-to-this-site/feed 1
Epic fail! http://www.robotii.co.uk/2012/06/epic-fail http://www.robotii.co.uk/2012/06/epic-fail#comments Fri, 29 Jun 2012 12:00:40 +0000 Peter Arthur http://www.robotii.co.uk/?p=542 Came across this in Paddington Street Gardens, London

Epic fail!

]]>
image

Came across this in Paddington Street Gardens, London

Epic fail!

]]>
http://www.robotii.co.uk/2012/06/epic-fail/feed 0
Buying an Android Tablet http://www.robotii.co.uk/2012/05/buying-an-android-tablet http://www.robotii.co.uk/2012/05/buying-an-android-tablet#comments Tue, 01 May 2012 12:17:14 +0000 Peter Arthur http://www.robotii.co.uk/?p=531 If you want to get an Android tablet, you should look out for the following: Capacitive touchscreen – this is a must, or you will hate using it. Don’t even look at it if it says resistive touchscreen. Seriously. Android version 3.0 (also known as Honeycomb) or Android 4.0 (aka Ice Cream Sandwich or ICS), [...]

Buying an Android Tablet

]]>
If you want to get an Android tablet, you should look out for the following:

Capacitive touchscreen – this is a must, or you will hate using it. Don’t even look at it if it says resistive touchscreen. Seriously.

Android version 3.0 (also known as Honeycomb) or Android 4.0 (aka Ice Cream Sandwich or ICS), as previous versions will not run apps designed for tablets. Again, pretty essential. Prefer version 4.0 if possible.

Android Market (or Google Play as it’s now called) – this lets you install apps easily. Some of the tablets don’t support it, which makes it a pain to load apps on them. Another essential.

RAM – preferably 1GB, although 512MB would be acceptable if everything else looks OK. Anything with less than 512MB is not worth getting, no matter how good it looks.

Storage – 8GB or 16GB most likely. Can go up to 32GB, but that’s beyond my budget too! Recommend that you make sure it has a storage slot and not worry too much about this.

MicroSD slot – a lot of tablets will have this, typically worth it if you want to put your music on the tablet. Internal storage size is less important if you get one of these slots, as the cards are usually under £20, and you can get one if you need one.

Size. Usually either 7″ or 10″. Take your pick. I would recommend the bigger screen, unless you have a particular reason for getting something smaller. Worth going into a shop with them in and having a play to see which you like best.

HDMI - used to connect to your TV or some new monitors. You would probably need a cable, as it’s different from the normal HDMI cables. Again, you have to decide if you want to connect to the TV.

BTW, if you want a 7″ tablet one of the best on the market (if not the best) is the HTC Flyer @ £218.12

Buying an Android Tablet

]]>
http://www.robotii.co.uk/2012/05/buying-an-android-tablet/feed 1
Entitlement – No Need to Justify Yourself? http://www.robotii.co.uk/2012/03/entitlement-no-need-to-justify-yourself http://www.robotii.co.uk/2012/03/entitlement-no-need-to-justify-yourself#comments Sat, 10 Mar 2012 13:05:08 +0000 Peter Arthur http://www.robotii.co.uk/?p=465 I have increasingly noticed a trend on social networking sites, where people post up links to various other sites and expect that they can commandeer the attention of their supposed friends or followers. In one recent particular case, the link in question was to a 30 minute video. Now there’s nothing wrong with posting links [...]

Entitlement – No Need to Justify Yourself?

]]>
Entitlement - Taking up two parking spacesI have increasingly noticed a trend on social networking sites, where people post up links to various other sites and expect that they can commandeer the attention of their supposed friends or followers. In one recent particular case, the link in question was to a 30 minute video.

Now there’s nothing wrong with posting links to 30 minute videos, or even longer if you can find them. The problem occurs when someone then asks why they should spend 1/2 an hour of their time watching this video. Some people become quite indignant when asked to justify why you should spend your time in a manner proscribed by them. Instead of posting up a link to a video with no explanation as to why it’s worth watching, try connecting with people and telling them why they should care.

To do other than the above is begging the question of relevance. If you really can’t think of the reason that someone should be following the link, then I would question why you want to do it in the first place. If it’s because everyone else is doing it, I would question the value of it immediately. The wisdom of crowds can very easily turn into the folly of crowds.

The bottom line is that you do need to justify why you expect someone to take time out of their day, and the bigger the chunk, the more justification that is required. For instance, if you link to a 3 minute video, you may want to tell them it’s funny, and that would be sufficient. For something longer, it might be wise to let people know what to expect. 

If you are thinking that this post is aimed at you, then you are almost certainly correct. The question is, what are you going to do about it?

Picture is from http://www.justinbuzzard.net/2012/01/30/dont-confuse-entitlement-with-salvation/ 

Entitlement – No Need to Justify Yourself?

]]>
http://www.robotii.co.uk/2012/03/entitlement-no-need-to-justify-yourself/feed 0
Update to Ultimate Google Analytics WordPress Plugin http://www.robotii.co.uk/2011/09/update-to-ultimate-google-analytics-wordpress-plugin http://www.robotii.co.uk/2011/09/update-to-ultimate-google-analytics-wordpress-plugin#comments Wed, 21 Sep 2011 21:22:44 +0000 Peter Arthur http://www.robotii.co.uk/?p=458 I really like the Ultimate Google Analytics plugin for WordPress. It does exactly as I need it to do in terms of ensuring that the Analytics code is embedded in each page. Unfortunately it hasn’t been updated since 2008, and the code is a little out of date. I have taken the liberty of updating [...]

Update to Ultimate Google Analytics WordPress Plugin

]]>
I really like the Ultimate Google Analytics plugin for WordPress. It does exactly as I need it to do in terms of ensuring that the Analytics code is embedded in each page. Unfortunately it hasn’t been updated since 2008, and the code is a little out of date.

I have taken the liberty of updating some of the code, and have posted it here for you to share. This adds in the most recent GA javascript, allowing it to load asynchronously and hence speed the page load time. I am keen to make further changes, but I have contacted the author of the original code to see if he is willing to pass the maintenance burden onto myself.

The code is compatible with any version of WordPress from 1.5 to 3.2.1 and probably beyond. That said, please leave a comment if you do have any problems with it.

Download: ultimate_ga_1.6.1.zip

Update to Ultimate Google Analytics WordPress Plugin

]]>
http://www.robotii.co.uk/2011/09/update-to-ultimate-google-analytics-wordpress-plugin/feed 0
Just do it (again) http://www.robotii.co.uk/2011/09/just-do-it-again http://www.robotii.co.uk/2011/09/just-do-it-again#comments Fri, 02 Sep 2011 12:35:37 +0000 Peter Arthur http://www.robotii.co.uk/?p=449 Plan to throw one away, you will anyway It is a well known axiom in computer science that the first system or prototype you develop will need to be discarded. There are a number of factors that can contribute to this. Firstly, the understanding you gain on what the system needs to do from actually [...]

Just do it (again)

]]>
Plan to throw one away, you will anyway

It is a well known axiom in computer science that the first system or prototype you develop will need to be discarded. There are a number of factors that can contribute to this. Firstly, the understanding you gain on what the system needs to do from actually building the system quite frequently means that it would make more sense to completely redo the project or code.

Secondly there could be some improvements that you could make after seeing the system in operation, ranging from performance optimisation to additional features that would be useful.

There are doubtless many other reasons that could be brought up. However, I’d like to point out a couple of points on this.

It is not always a bad thing to have to start again. Sometimes this is exactly what is needed, although it is far from the axiomic truth that is is purported to be.

System designers and project managers rarely take this into account when planning and designing new systems. This can lead to project overruns, in terms of budget, time and lead to low quality deliverables.

Agile solutions are proposed as an answer to this, but I remain unconvinced. I definitely see these techniques as being better than the traditional waterfall methodology for a large proportion of projects, but I am convinced that there needs to be a fundamental change in the way we develop and manage large software products.

I will hopefully get round to posting my thoughts on how this can be achieved in the near future.

I would appreciate any comments on this subject.

Just do it (again)

]]>
http://www.robotii.co.uk/2011/09/just-do-it-again/feed 0
ASUS Transformer TF101 with docking station http://www.robotii.co.uk/2011/08/asus-transformer-tf101-with-docking-station http://www.robotii.co.uk/2011/08/asus-transformer-tf101-with-docking-station#comments Wed, 31 Aug 2011 08:17:25 +0000 Peter Arthur http://www.robotii.co.uk/?p=432 Just bought the ASUS Transformer TF101 with the docking station, and I’m pretty impressed. The unit came with Android 3.1, but very quickly got an update to version 3.2. The device can be used as a slate device, like the iPad, but with the addition of the keyboard dock (which also extends the battery life [...]

ASUS Transformer TF101 with docking station

]]>
Just bought the ASUS Transformer TF101 with the docking station, and I’m pretty impressed. The unit came with Android 3.1, but very quickly got an update to version 3.2. The device can be used as a slate device, like the iPad, but with the addition of the keyboard dock (which also extends the battery life considerably) it becomes an Android netbook.

There is a raft of bundled software, including Polaris Office, which is capable of replacing Microsoft Office for reading and making edits to Office files. Power users will be disappointed perhaps, but for me the functionality is great. You also have access to all the Android apps on the market, as well as any you download from third parties.

I think that this is the first Android tablet that compares favourably with the Apple iPad(2). Having used it I don’t think I would ever change to an iPad (I’ve tried out the iPad and I like it too, but this just blows it away!)

Absolutely brilliant! Click the picture below to buy one from Amazon.co.uk.

 

ASUS Transformer TF101 with docking station

]]>
http://www.robotii.co.uk/2011/08/asus-transformer-tf101-with-docking-station/feed 0
What’s going to be different this time? http://www.robotii.co.uk/2011/08/whats-going-to-be-different-this-time http://www.robotii.co.uk/2011/08/whats-going-to-be-different-this-time#comments Tue, 30 Aug 2011 11:37:47 +0000 Peter Arthur http://www.robotii.co.uk/2011/08/whats-going-to-be-different-this-time We all know the speed at which New Year’s Resolutions become forgotten, or how promises are rapidly broken and how good intentions crumble under weight of everyday life. In order to make sure when we make our next set of vows, promises and commitments that we don’t fall into the same old trap, we need [...]

What’s going to be different this time?

]]>
We all know the speed at which New Year’s Resolutions become forgotten, or how promises are rapidly broken and how good intentions crumble under weight of everyday life. In order to make sure when we make our next set of vows, promises and commitments that we don’t fall into the same old trap, we need to look at the reasons behind the failures, and make changes that will make it easier on ourselves.

This could take the form of putting things on an easily accessible calendar, sticking a reminder on your computer or fridge, or simply ensuring that you build it into your daily routine. If you don’t change the things you do that aren’t working, then you will get the same results you did before.

So, before you attempt a change that you’ve tried and failed to do in the past, ask yourself the question.

What’s going to be different this time?

What’s going to be different this time?

]]>
http://www.robotii.co.uk/2011/08/whats-going-to-be-different-this-time/feed 2