Posts

Showing posts from March, 2010

Apex 4.0: SQL in Plugins and seeing Stars.....

Image
This is my first post in a few weeks as I've been a little busy with work recently, which is just criminal as I really just want to play with Apex 4 EA2.  Oh well, bills have to be paid and children fed I suppose. Anyway, let's cut to the chase.  There is a nice feature of Apex 4 plugins (which I'm pretty sure wasn't working correctly in EA1) where you can create a custom attribute of type 'SQL Query'.  I've added this to the Range Slider plugin I use on my Online Store demo for the min and max default range values, as you can see below: Anyone using the plugin can write SQL statements for these attributes, and the good part is that they will be parsed when the changes are saved.  You can see in the screenshot below that I have set the Default Range Min Value to the mimimum selling price and the Default Range Max Value to maximum selling price.  I should, of course, set the Minimum Value and Maximum Value to also be 'SQL Query' attribute types a