Options

Object Type::System

eYeeYe Member Posts: 169
In the AllObj table I see the object type System.
What I want to know if these contain the functions that they specify in name and can I access them? Example: Can I use System-1330 to export objects?


    Object Type Object ID Object Name System 1310 File, Import, Binary System 1320 File, Import, Text System 1330 File, Export, Binary System 1340 File, Export, Text System 1530 File, Database, Test System 1540 File, Database, Expand System 1550 File, Database, Delete System 1570 File, Database, Information System 1580 File, Database, Options System 1610 File, Company, New System 1630 File, Company, Rename System 1640 File, Company, Delete


I have written C/AL code to export and import objects. But you cannot use the File - Import functionality because if export the BLOB in code, the header of the file is missing.[/i]
Kind Regards,
Ewald Venter

Comments

  • kinekine Member Posts: 12,562
    No, you cannot use it. These system objects are there just for security module, where you can use them to set the permissions for the main menu items.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • eYeeYe Member Posts: 169
    Oh Ok, thanks.

    Still, is there no way to get or write that header?
    I'm writing a tool to do batch exports and generate the filenames to save some time when backingup and restoring the objects.

    Maybe even later doing version control by specifying the path to where it is exported. You get the picture...
    Is it possible doing it using CFRONT or something?

    If anybody has any experience in this please ( [-o< ) help.

    Thanks
    Kind Regards,
    Ewald Venter
  • kinekine Member Posts: 12,562
    There is just one way - simulate the keystrokes through external components. It is used in the Navision Object Manager (http://www.mibuso.com/dlinfo.asp?FileID=482).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • WaldoWaldo Member Posts: 3,412
    eYe wrote:
    Oh Ok, thanks.

    Still, is there no way to get or write that header?
    I'm writing a tool to do batch exports and generate the filenames to save some time when backingup and restoring the objects.

    Maybe even later doing version control by specifying the path to where it is exported. You get the picture...
    Is it possible doing it using CFRONT or something?

    If anybody has any experience in this please ( [-o< ) help.

    Thanks

    Looks like something you can put in the downloads-section when it's finished? :wink:

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.