Tech Tip: "skip_onstartup_method" also skips On Exit
PRODUCT: 4D | VERSION: 12 | PLATFORM: Mac & Win
Published On: April 21, 2012
The database access file feature (henceforth referred to as 4DLINK) provides the abilty to launch a 4D database and bypass the database On Startup method. This is accomplished via the XML attribute "skip_onstartup_method" applied to the "database_shortcut" element in the 4DLINK file. For example:
<?xml version="1.0" encoding="UTF-8"?> <database_shortcut skip_onstartup_method="true" structure_file="file:///C:/4D/Projects/Misc/skipOnStartup/11.4dbase/11.4DB" data_file="file:///C:/4D/Projects/Misc/skipOnStartup/11.4dbase/11.4DD" data_conversion_mode="0" /> |
Note that enabling "skip_onstartup_method" also causes 4D to bypass the On Exit database method when quitting the database for that same session.