DIW create utility
Attached is an example app containing a generic utility to automatically create a DIW script and copy all required files to a folder.
This is useful for where one or more users are working on one or more DEV app copies to be able to easily select and export new and updated documents for import into the production app.
It can be installed in any LE9 app as long as there are no form/table/relationship name conflicts.
The utility can be used to select docs created/modified for export as a new or updated document and table data can be included.
This was originally created many years ago in DFW 5 and is now updated for LE9.
Username: USER
Password: USER
NB: Doc & Records status must be run before REFRESH EXPORT EDITOR
>>AUTO SELECT DOCS allows for new/modified docs for a specified date range and user name to be automatically selected with appropriate selection of DIW 'install'/'replace' option based on the document change control history.
NB: This utility will not work for docs created/ modified if logging in with the default blank username. A non-blank high level user name must be used.
To install this utility in a LE9 app:
1. Copy the \XDOCS subfolder to your application folder - eg. ..\YOURAPP\XDOCS
2. Copy the Wizutil132ns.dll cdf library to you program or app folder.
3. Import Wiz_CDFS.txt into Custom Functions - NB: Tab delimited - (required for progress bar function - many thanks to Lawrence Fox)
4. Import RelsX.txt into Relationships - NB: Tab delimited- Use "add only new records" to ensure it does not overwrite existing records
5. Run the Install_xDocs.diw DIW script (the docs file path is relative with the expectation that XDOCS is a subfolder in your app folder)
The script will not overwrite any existing docs with the same name.
Not sure if DIW scripts will still be supported in DE9, but if not hopefully there will be a newer method to easily export / import new & updated docs/tables.