Datamodel Properties

Please login to reply  Page: « < 1 of 1 > »
07 Jul 2010 - 15:19689
Datamodel Properties

What file are the Datamodel Properties stored in?

I was creating a new version of a survey, and all the Datamodel Properties I had previously defined "disappeared".



07 Jul 2010 - 16:01690
The bxi file

Hi Bill

The datamodel properties are stored in the BXI file. You should always keep that with the source code if you want to re-use your settings. You also need to keep it with the compiled instrument when you deploy it.

Cheers

Fred



07 Jul 2010 - 16:26693
Thanks Fred.



07 Jul 2010 - 17:53694
But there is more to tell...

You can also export the datamodel properties to a text file with extension .bdp (click the export button in the datamodel properties dialog...). By adding the prepare directive {$DATAMODELPROPERTIES <filename>} or {$D <filename>} (where <filename> is the name you used for the export) in the source of your datamodel the Blaise parser uses the content of that text file to produce the .bxi file. If the name of the text file is the same as the name of your datamodel source file you can also add {$D *}. Storing the datamodel properties as text has advantages: it allows you to make changes using the editor in the Blaise Control Centre. While parsing your main datamodel the text file is parsed also and the Blaise parser will report you a syntax error if you made a mistake.



Please login to reply  Page: « < 1 of 1 > »