Thursday, 26 June 2014

Use form properties on an external web-resource in CRM Dynamics 2013

I assume that you have read my previous post and now you would like to bind the attached web resource to some information coming from the calling form, no?
This is supported out-of-the-box in CRM Dynamics 2011 as well as in 2013, but not automatically activated. To activate this feature, you will need to edit the customizations XML file.
Go find the solution that you have been working on and export it, making sure that the customizations option is checked:

Add navigation items in a form view

Hello again. This time I would like to share something with regard to CRM Dynamics 2013. I was trying to add a new navigation button under an account form. So this is how you do it.

First, you go into the solution where you want to add the new customization, in my case the solution was called Tickets. I made sure the Account Entity was included into it, yet I did not bother to include its dependencies.

Wednesday, 18 June 2014

Switching your HDMI inputs on a Samsung TV

Hi all, let's assume that you have a Samsung TV and a Raspberry Pi connected on an HDMI input.

Using CEC you could send:
 echo "as" | cec-client -s
to switch to the next input,. However this is inconvenient since it does not switch "back" to your previous input. So what can you do?

Get this lovely utility from here. (Disclaimer: I did not write this, I got it on GitHub). It is a lovely python script which you can use to send commands to your samsung TV AFTER you have turned it on. In my case I use the commands KEY_HDMI2 or KEY_HDMI3 but there is a great variety of commands that you can send.

Keep in mind, your device (where the script will run needs to be paired with your TV in order for this to work. This can be a simple procedure, the first time you fire a command the TV asks if you would like to pair with the device, you say yes and that's all.

Python is already installed on the xBian Linux for R-Pi. So, in the same manner that I have described here, you can set up an ssh command that executes this script with python on your raspberry Pi.

$ python KEY_HDMI.

A more comprehensive list of commands can be found online, search google for samsung and KEY_HDMI or look for example here.