Page 1 of 1

new feature w/ new tab button

PostPosted: Tue Feb 01, 2011 6:51 pm
by tgibson2011
I can't seem to figure out how to add a new feature and associated tab button. I've read thru the documentation and tutorial, but I don't see how to 'glue' things together. I also haven't found any code from the sample apps. Are there any code sample areas showing how to use the various APIs and functions?

thx in advance... tom..

Re: new feature w/ new tab button

PostPosted: Wed Feb 02, 2011 11:58 am
by shannah
Sounds like you're looking to create a custom action. Some resources to look at include:
http://xataface.com/documentation/tutor ... ce_actions
http://xataface.com/wiki/actions.ini_file
http://xataface.com/wiki/Creating_a_Dashboard
http://xataface.com/wiki/Selected_Records_Actions
http://xataface.com/wiki/Creating_Printable_Reports

The category directive of the actions.ini file is used to make your action appear in a particular page. e.g.:
Code: Select all
category=table_tabs

will make your action show up as a table tab (e.g. details, list, find, etc..)

You can check the xataface actions.ini file to see some of the different existing categories you can use.
You may also want to make use of the mode directive to allow the tab to be selected when your action is the current one.