Posts

Showing posts from July, 2017

Report row buttons firing a dynamic action

Image
A lot of the time on reports of data, we'll define a link column, and specify an image which is the beloved pencil icon. Which is good and all, but looking in the Sample Database Application (packaged application), they have taken a different approach to style links - a button that stretches the width of it's containing cell. So, the UI ends up looking like so: So, is this done? Well first, you define a new column for the placeholder. Suppose I want my link column to be Report, I define an extra column in my query: , 'Report' report_link Then I need to go to my new column's attributes, and change the column type to a link. And, in the link attributes, set the text to what you want displayed. Here, I'm just going to display the value of the new column and point to my desired page. So I set the target page, then also the Link text as #REPORT_LINK#. At this point the report will just show link text, as we expect. So, then to replicate t

Custom workflow to download or upload specific Google Drive files

I had an interest in downloading and uploading a specific file into my Google Drive at certain timing points. For examples sake, let's call the files "Designs.cad". There is a command line project on GitHub which is Go based. So if you have Go installed, it is just a matter of running: go get github.com/prasmussen/gdrive This will download from source, so if you don't want to do this or if you don't have Go installed (you should - there are lots of great go projects), you can see a list of releases on the project page -  https://github.com/prasmussen/gdrive - which you can download and place in your system somewhere, with the command becoming "gdrive". When you first install it, you will need to authenticate your account. Running any command will prompt you to go to a URL to get an authorization code and paste in back on your console. So for example, if I run: gdrive list Which is designed to list files in my Drive. After running the command,

Converting a physical machine for use in VirtualBox

Image
I recently had an interest in converting a physical machine (Windows) I have into a virtualised environment. For my personal Virtual needs, I tend to use and favour VirtualBox - so my end goal is to have the system running in VirtualBox. A quick google with these keywords reveals this VirtualBox article:  https://www.virtualbox.org/wiki/Migrate_Windows . However, this talks about Windows XP, and then one of the software it references is 10 years old. And for some extra context, Windows XP was first released in 2001 and the last release (SP3) in 2008. Ok, so I'm deciding not to go down that path. Putting aside the previous article, I happen to know there are two solutions that support converting a physical machine. VMWare Microsoft (Disk2vhd) So, I will go with the VMWare option for this article/guide. The software is found over at:  https://www.vmware.com/ca/products/converter.html . So, I download and install the software (note, you will need a VMWare account in order to