Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Configure VisualFormat for Tables
SteveR
I am attempting to configure VisualFormat Editor to allow me to predifine the characteristics of a new table (rows, cols, colors, etc). I want to replace the existing Tables button with my own custom button on the toolbar.
I have followed the VisualFormat Developers Guide for creating a Custom Command, and added a button to the toolbar, added the command to the list of commands in the VFE config file, and written the custom JavaScript function.
My problem is I don't know where the code for function should go. In the VFE config file? In the DCT? The example given in the manual has the VFE called from an HTML page, and the JavaScript included there. My VFE call is within the DCT. Is there a way to call the JavaScript function from within an XML file?
I'm new to all of this, so any help would be appreciated!
Find more posts tagged with
Comments
jzhuang
I have talked to several people who worked on Visual Format. We don't support VisualFormat Javascript callout from within DCTs. But, theoretically you should be able to use our FromAPI to do it. You can put your JavaScript in FormAPI, then call the method from VisualFormat using the fully qualified method name(with Frame name).