DAS setup

Posted: 4 June 2013 in Uncategorized

When DAS is configured, it needs to be enabled each datatype.
The first step is to generate a dbschema.cfg file for the dcr type. I found that specifying parameters for a dcr type required a DTD file present. Specifying the path to a Datacapture file directly does not.
iwsyncdb -dbschemagen -dcfile "y:\default\main\acme\WORKAREA\my-wa\templatedata\category\type\datacapture.cfg"

The second step is to generate the data deployment configuration (_dd.cfg) for the DCR type.
iwsyncdb -ddgen "/default/main/acme/WORKAREA/my-wa" category/type
Modify it to use the correct database ($OD_HOME/etc/database.xml)

The last step is to physically create the tables that will contain our records.
iwsyncdb -initial "/default/main/acme/WORKAREA/my-wa" category/type


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s