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
------------------------------
Page 1 / 1
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
------------------------------
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
------------------------------
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
------------------------------
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
------------------------------
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
------------------------------
That saved a lot of messy code, especially as ude-delete does not as I expected delete the source code.
------------------------------
Osman Shariff
------------------------------
Thanks Daniel
That saved a lot of messy code, especially as ude-delete does not as I expected delete the source code.
------------------------------
Osman Shariff
------------------------------
That saved a lot of messy code, especially as ude-delete does not as I expected delete the source code.
------------------------------
Osman Shariff
------------------------------
The documentation of $ude ("delete") is quit clear, I think. It says: "Delete a symbol table or script listing, or a resource (compiled runtime object) on the $RSO path." There is nothing mentioned about source code.
I hope this clarifies this matter.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Thanks Osman. And you are welcome.
The documentation of $ude ("delete") is quit clear, I think. It says: "Delete a symbol table or script listing, or a resource (compiled runtime object) on the $RSO path." There is nothing mentioned about source code.
I hope this clarifies this matter.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
The documentation of $ude ("delete") is quit clear, I think. It says: "Delete a symbol table or script listing, or a resource (compiled runtime object) on the $RSO path." There is nothing mentioned about source code.
I hope this clarifies this matter.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
I am assuming the work area support uses something outside of uniface to do the deleting?
------------------------------
Osman Shariff
------------------------------
Yep Daniel... it was an assumption on my part.
I am assuming the work area support uses something outside of uniface to do the deleting?
------------------------------
Osman Shariff
------------------------------
I am assuming the work area support uses something outside of uniface to do the deleting?
------------------------------
Osman Shariff
------------------------------
And the work area support uses normal Uniface functionality to delete the (main development) objects. Not really different from what the IDE is doing when you are deleting something in an Editor.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Okay, thanks for clarifying.
And the work area support uses normal Uniface functionality to delete the (main development) objects. Not really different from what the IDE is doing when you are deleting something in an Editor.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
And the work area support uses normal Uniface functionality to delete the (main development) objects. Not really different from what the IDE is doing when you are deleting something in an Editor.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
------------------------------
Osman Shariff
------------------------------
Is that functionality available for us to use... what is the command?
------------------------------
Osman Shariff
------------------------------
------------------------------
Osman Shariff
------------------------------
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Sure. At its core the IDE is just a "normal" Uniface application that uses ProcScript statements such as (e.g.) remocc.
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
------------------------------
Osman Shariff
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.