Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Uniface 9: Cleanup Old Signatures

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

17 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

Uniface lab;  delete component ==> delete signature??  Wink


Author: Knut (knut.dybendahl@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

Hi, I have made little tool that helps you find and delete signatures without implementation. Code reviews, comments etc are welcome ! http://unifaceinfo.com/wp-content/uploads/dlm_uploads/2014/06/sigclean.zip


Author: Theo Neeskens (tneeskens@itblockz.nl)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

One way is to sort the signature list by clicking on the column header for the icon column on the very left.  You will then find it sorts all the signatures with no implementation together. Unfortunately, they are about two thirds of the way down the page.  I don't believe there is any useful command line to get rid of signatures for removed components easily. 


Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

Colin said Hi Theo,   I used the tool you developed and it works fine. One question though. It doesn't do anything with tables USLINK and USILINK. Should it? My data here has entries in both those tables referencing (using columns USLINK-->USPECNAMCAL and USILINK-->UIMPLNAMCAL) the removed component.   Thanks,

I probably missed those tables... Will investigate when I have some time and will update the tool when needed. Will post a reply in this thread when I know more.


Author: Theo Neeskens (tneeskens@itblockz.nl)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

Hi, it took me some time to do this but now I have updated the Signature Cleaner to include USLINK and USILINK. I have replaced the download at: http://unifaceinfo.com/downloads/download-info/signature-cleaner/   Unfortunately it still won't cleanup ALL unused signatures, because there is a bug in the Global Actions screen. See this discussion: http://unifaceinfo.com/forum/unifacedevelopment/global-actions-component-delete/#p6048442


Author: Theo Neeskens (tneeskens@itblockz.nl)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

From a customer point of view, I think it's better to write a "component delete" form on our own, which deletes components including all connected occurences rather than try to remove half of the debris left over from the Global Actions. Perhaps I will spend some time as a dITo project with some hints how these infos are collected and evaluated. If we create our own tool, we can have it now. P.S. As the data model documentation can NOT be trusted, it takes some investigation at first which records are created when a new component is compiled. All of them should have the formname somewhere in the record, so it's not too hard to find them, especially if we start with an empty repository at first.


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:31 AM UTC

Cleanup Old Signatures

Author: cdouglass@siriussoftware.com.au (Colin)

Hello Everyone, How do I cleanup the signatures from uniface components that have been removed? Thanks, Col Douglass

Just do it the dITo way and start with an empty repository.   create a new component "DITOFIND" with entity and fields etc., including compile. go to the assembly workbench (wait until their part of data are created).   Now EXPORT all of the repository to myfind.exp in the dosbox, use: find /n "<DSC " myfind.exp > myfind.entities find /n "DITOFIND" myfind.exp > myfind.formfields   It's EASY


Author: ulrich-merkel (ulrichmerkel@web.de)