Page 1 of 1

List of external dictionaries

Posted: September 17th, 2019, 5:03 pm
by htuser
Dear All,
I'm working on an user defined function able to sync all related applications using a menu. Actually, i must write a separate function for each dictionary, applications related to menu. This new function must replace several's.

a) I can have all pen, pff applications related to menu using dirlist. However, actually i don't know any function able to extract dictionary name for each specific pen file...
b) the keylist give an ID for each case in a data file, but nothing similar to have a list of external dictionaries...
c) In the .ent of the menu, i can have all External dictionaries:

[External Dictionaries]
File=.\Applications\AppInscription\InscriptionDS_V1.dcf
File=.\Applications\Consommateurs\F_consommateurs.dcf
File=.\Applications\Consommateurs\Rapport_ext.dcf
File=.\Applications\Supermarches\F_supermarche.dcf

[Dictionary Types]
Dict-Type=.\Applications\AppInscription\InscriptionDS_V1.dcf,External
Dict-Type=.\FilieresF_mV1.dcf,Input,.\FilieresF_mV1.fmf
Dict-Type=.\Applications\Consommateurs\F_consommateurs.dcf,External
Dict-Type=.\Applications\Consommateurs\Rapport_ext.dcf,External
Dict-Type=.\Applications\Supermarches\F_supermarche.dcf,External

But, i can't access to them in logic...

Please does anyone have a solution?

Thanks in advance for support.

Re: List of external dictionaries

Posted: September 19th, 2019, 9:38 am
by aaronw
A function doesn't exist that's going to look at the PEN file and give you the dictionaries. You could try deploying a config file with the dictionary names and then read it.

Re: List of external dictionaries

Posted: September 20th, 2019, 11:27 am
by htuser
Thank you Aaron. I create a list string with external dictionary names and it's Ok.
Best Regards,