Has anyone recently told you how amazing your articles are?
Great article/technique. I really think I can get some good use out of this.
You mentioned that you would encourage anyone to try to implement this for WebDirect, citing problems with context and global variables. Upon testing, the problem seems to go further. While I have the BaseElements Plugin working properly on WebDirect, it seems the BE_ExecuteScript function is not compatible. I called the same script using Perform Script on Server and it worked, so I know it wasn't a server/context issue. If I am missing something, and anyone has gotten that function to work on WebDirect before, I would love to know about it. I hope I'm just missing something obvious staring me in the face.
Is it possible to retrieve formatted text (fonts, sizes, colors, styles) with ExecuteSQL?
In my experiments, I can only get plain text with ExecuteSQL …
Thanks for any insights.
Peace, love & brown rice,
FileMaker + Web: Design, Develop & Deploy
Certifications: FileMaker 9, 10, 11, 12 & 13
Member: FileMaker Business Alliance
One Part Harmony <http://www.onepartharmony.com/>
Austin, Texas • USA
I wouldn't think so. font or background "formatting" is not a part of "SQL".
Maybe with some clever extractions using the GetAsCSS() function on the field(s) as the arguments?
Well it was 6 months in the making, but op finally delivered on that tantalizing youtube video https://www.youtube.com/watch?v=SvUgDjXWmoA.
As a filemaker noob, I also just want to say what a awesome resource your weetbicks posts are.
Thank you for the comments, much appreciated
Ryan - the BaseElements (and other) plugins should work in webdirect but only really as a server-side plugin, meaning you can make use of the functions providing plugin is server-side. It wouldn't surprise me that some functions like execute script won't work client (webDirect) side.....
An earlier implementation of this demo pre-plugin was using onTimers to expand/collapse, so maybe this is an alternative to a plugin for webdirect, running an ontimer every second to check whether the state of the drawer need changing - not as responsive and ideal as running the script when required only, but could work...
Smith7180 - I totally forgot I posted that on youtube! I also didn't get any notifications of comments to the video, so was interesting going back and seeing them all now,l had I known there was as much eagerness for the demo file I would have posted this sooner, sorry !
I've just posted a followup article that takes a similar technique from sliding drawers and applies it to popovers. There's some other stuff in there about making it multi-window supported and how that is done, check it out