Hello Osman,
There is a cleanup operation for $ude, but it is not documented (yet). At this moment I do not know the exact reason for this, but this will work:
vResult = $ude("cleanup", "component", "mycomponent")
This is the same as executing the ide command line: /cln mycomponent
In case you would use the
Work Area Support Utility (or something similar) then objects are deleted automatically before new sources are imported.
I hope this helps.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Original Message:
Sent: 01-26-2023 06:37
From: Osman Shariff
Subject: $ude clean
Hello All
Is there an option to have an $ude clean or a $ude import component with a clean option.
If not, could it be something to add for the future?
The problem is, if you import a component, you will always need to clean it for ghost fields.
The workaround is a 'delete' and then an 'import'; assuming the imported is already correct.
Thanks
------------------------------
Osman Shariff
------------------------------