Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How to execute set up script at creation time of a new DB ?
Application_Services_FUJITSU_(fuji_ware03_-_(delet
Dear helper,When I have a module already installed on my livelink instance and when I create a new database I would like to create some object.For instance when a new DB is created new records are created in the table AgentSchedule How may I put my code to be executed at creation time ?Thanks for your help,jef_CreationTime
Find more posts tagged with
Comments
Steve Brezina
Your module needs to have DB schema associated with it - meaning it owns its own RDB tables. Instructions for how to set this up are in DBWIZAPI:Root:HowToAddSchemaToAModule.Readme()Once your module is properly configured, override IniModule() on the orphan of DBWIZ:Root:ModuleDBObject in your module. This method is called upon creation of the module schema. That is during module installation, or creation of a new database.Hope this helps. Regards, Steve
Application_Services_FUJITSU_(fuji_ware03_-_(delet
Hello Steve,Thanks for your help, I will try your solutionbye,jean-Fran?ois