Uniface User Forum

 View Only
  Thread closed by the administrator, not accepting new replies.
  • 1.  Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    How to export DTD includes the mapping

    Author: avner@one1.co.il (avner)

    Hi all

    maybe tou can help me

    i have to export  dtd from one model to another

    How can i export Dtd data and the mapping to an trx or xml file

    the version is uniface8 D608

     

    Avner Simon

     

     



  • 2.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Avner,

    if you are in the DTD editor,

    use the menu File=>Duplicate

    Success, Uli


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


  • 3.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Uli

    what i need is to Export the dtd and it's mapping to the same model but in another database what i use for production

    so it is eporting from dvelop db to production db

    now , i try to do it using Convert  Data utility

    the problem was an error message "OUCDTYP IS MISSING" SO IT DIDN'T CREAT THE O TABLE BY DEFALT

    SO I HAD TO CREAT MANUALY A DTD OBJECT CREAT A BIG ONE WITH NESTING AND BIG MAAPING DATA USING THE WIZARD TOOL

    THIS DID MANAGE TO  ALTER UNIFACE TO CREAT THE  "OUCDTYP" EXTENTION TABLE FOR THE "UCDTYP" TABLE AT THE DICT MODEL

    AND AFTER THAT WAS DONE I  used the Conver Data utiluty and the import ,compile and /urr

    and all is well

    but it took me good 4 hour's to figure it out look in the : internet  , uniface help , and   again get in the uniface lab mind


    Author: avner (avner@one1.co.il)


  • 4.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Avner,

    looks I misunderstood the context of your question:
    seems you had a lot of work fighting with the internals of uniface; overflow tables are real killers.

    Another option beside the /CPY might have been:

    - export the complete model using the standard export functionality.
    - take the export file into your editor and delete all packages which are not DTD related
    - import this condensed export in your new database

    This may do the job as well (if not, please inform us).

    To export just the DTD-infos from a model
    I wonder if it would be a good idea to provide a tool
    where you can filter the information exported.

    What do You think about that?

    Success, Uli


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


  • 5.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Uli

    i think that uniface should change the  consept about how they construct the DTD'S utility

    I also do a lot of stdy and work testing uniface 9.4 beta 3

    and i found out that it is complitly the same as uniface 8.4

    the path to get to DTD'S is not strait forword , there is no mention of DTD'S at the export form

    and i think that working with DTD'S is as importand as working with : WEB SERVICE,WEB SERVER . because it an inegral part of it

    we have to use DTD'S in an intensive way as all the world  is using  , web services, XML to communicate


    Author: avner (avner@one1.co.il)


  • 6.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Avner,

    Following the "di IT ourself" (dITo) initiative,
    This is a way to get more support from the current IDF:
    Use a special data-model called DTD_TRANSFER to export/import DTDs only.
    "Duplicate" allows transfer from/to this model.

    As "the lab" sees/implemented DTDs as part of the data model,
    there is not so much support splitting the contents of a model for tenasfers.
    Same goes if all you want to transfer is a single entity
    because you have added some fileds.

    Success, Uli

    P.S. by the way: have you seen my DTD editor in the download area?


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


  • 7.  RE: Uniface 8: How to export DTD includes the mapping

    ROCKETEER
    Posted 11-19-2018 11:48
    No replies, thread closed.

    Hi Uli

     

    now that is a good idea , i will try it , thank's

     

    Avner


    Author: avner (avner@one1.co.il)