RDK - DICT updates ???? (OpenInsight Specific)
At 26 NOV 1997 02:13:44AM Barry Stevens wrote:
How is everyone updating dictionary records on a clients system using the RDK.
I have changed my original RDKInstallModule doesn't copy dict files, even though the RDK creates them, so I changed it to also copy dict files.
The problem I have is with relational indexes, even thought the 'Delete relational flag is set on the copy_table. I have a post upgrade function that remakes the index but I am losing the ! file.
Also with this methos the %SK% record get 'deleted'.
Please give me some clues or proceedures. I would like to keep using the RDK as the rest works OK.
cheers
bsbs@ozemail.com.au
PS If any of you Aussies want to email me a phone no!
At 29 NOV 1997 08:57PM Kevin Bolitho Peak Software wrote:
Barry - I have the same problem. It seem everyone
has had to write their own code so I guess I will
also have to reinvent the wheel soon. Did revelation
not consider that an upgrade of an app may include
dict row and changes to indexing !!!???. The one thing
I can tell you is that we are on OI 3.14 and have
found Table_copy to be bugged when coping from indexed
files as it think you are doing. In our case the
source dict would get dammaged so if you are in the
same version then don't use table copy.
Kevin Bolitho
kevin.peak@peak.co.nz
At 29 NOV 1997 11:59PM Barry Stevens wrote:
Thanks for your input Kevin.
Would anyone else like a say.
Any suggestions to Revelation as to how RDK can be improved.
What about dict records just being copied with the file created by Deployment named as XDICT.MYFILE. Rdkinstall module looks for XDICT] files and sets up a copy_row routine.
Barry
At 30 NOV 1997 12:05AM Barry Stevens wrote:
Cont'd
if field 23 in any dict record contains a value, and the users system is the same value then continue, else null out the field and save the index details.
At the end of all dict copys create relational indexes from the saved index details.
Barry
At 01 DEC 1997 11:57AM Cameron Revelation wrote:
Kevin Bolitho,
The one thing I can tell you is that we are on OI 3.14 and have found Table_copy to be bugged when coping from indexed files
The problems you describe with Copy_Table against indexed tables are fixed in 3.4. Also in 3.4, you can copy individual dictionary items into a deployed application using the RDK.
Cameron Purdy
info@revelation.com
At 01 DEC 1997 06:40PM Barry Stevens wrote:
you can copy individual dictionary items into a deployed application using the RDK.
How??
Sorry, I know I am dumb at times.
Barry
At 02 DEC 1997 07:39AM Cameron Revelation wrote:
Barry,
How??
If the dictionary rows are in the RDK upgrade table as "DICT./" then they will be copied into the destination application. I believe if you set the "track database columns" option (db mgr?) it will allow the RDK to automatically ship those dictionary items that have changed.
Cameron Purdy
info@revelation.com
—————————–17485287113099–
At 02 DEC 1997 07:57PM Barry Stevens wrote:
Cam
That would be good if it worked.
But, I have tested it with the repository view showing the DBCOLUMNS but there are no records in SYSUPGRADE for these items.
Also, what is the idea if being able to deploy dicts in the tables tab if RDKmoduleinstall does not action these.
Besides a fix for the above, what about changing the 'DATA\' path for deployed files to the value in the 'default data path' in the database manager - environment.
Barry