MxLoader

 View Only
  • 1.  Unable to create Object structure using REST and API authentication

    Posted 12-09-2021 09:41
    Hello,

    First of all, I would like to thank you for MXLoader and I must admit it is an awesome tool.

    I have been using it from long time and recently, when I am using it with new feature of REST API authentication, I am facing few issues.

    When I fetch an Object structure (Containing data from MAXINTOBJECT, MAXINTOBJDETAIL, MAXINTOBJCOLS, MAXINTOBJALIAS, MAXINTOBJAPP, OSLCQUERY and OSOSLCACTION in single template) and migrate using OS service it works fine.

    When I fetch it using Rest API authentication by making required changes in template, I get the data however, when I try to migrate it using "AddChange" method, I get error as per attached screen shot and text file.

    I am not able to resolve the issue. Any help would be highly appreciated.

    Thank you,
    Amol Pardeshi.

    ------------------------------
    Amol Pardeshi
    Sedin Technologies, India
    ------------------------------

    Attachment(s)

    txt
    Error.txt   11 KB 1 version


  • 2.  RE: Unable to create Object structure using REST and API authentication

    Posted 12-12-2021 09:55
    Hi, I have faced the same issue recently and already fixed it.
    The fix will be included in the next update that will be released in January.
    Stay tuned.

    ------------------------------
    Regards
    Bruno Portaluri (MaximoDev)
    ------------------------------



  • 3.  RE: Unable to create Object structure using REST and API authentication

    Posted 12-12-2021 23:24
    Hello Bruno,

    Thank you for the reply.

    It is great that it has been fixed already. I will wait for the next release.

    Thanks & Regards,
    Amol Pardeshi.

    ------------------------------
    Amol Pardeshi
    Sedin Technologies, India
    ------------------------------



  • 4.  RE: Unable to create Object structure using REST and API authentication

    Posted 12-15-2021 09:42
    Hello @Bruno Portaluri,

    I am also getting below error, when I am just trying to add Object Structure with fields from MAXINTOBJECT and MAXINTOBJDETAIL tables:

    BMXAA1385E - You specified a relationship name that does not exist. Specify a valid relationship name to proceed.

    Just informing you so that if possible, this can also be fixed if not fixed already.

    Thank you in advance.

    Thanks and Regards,
    Amol Pardeshi.​

    ------------------------------
    Amol Pardeshi
    Sedin Technologies, India
    ------------------------------



  • 5.  RE: Unable to create Object structure using REST and API authentication

    Posted 01-21-2022 07:08
    This problem is now fixed in MxLoader 8.3

    ------------------------------
    Regards
    Bruno Portaluri (MaximoDev)
    ------------------------------



  • 6.  RE: Unable to create Object structure using REST and API authentication

    Posted 01-24-2022 03:51
    Hello Bruno,

    Thanks for updated version.

    I tried creating Object Structure using 8.3 version however, I am still getting the error.

    Please find attached excel sheet that I am using to create Object Structure. It has two sheets: 1. E3MMAXINTOBJECT: this is the object structure we use to create any object structure using MXLoader. 2. APIs: This sheet has the object structure that I am trying to create.

    It fails with error as per attached Error.txt file.

    This works perfectly fine with OS Service.

    Thanks and Regards,
    Amol Pardeshi.​

    ------------------------------
    Amol Pardeshi
    Sedin Technologies, India
    ------------------------------

    Attachment(s)

    txt
    Error.txt   11 KB 1 version
    xlsm
    8.3Issue.xlsm   609 KB 1 version


  • 7.  RE: Unable to create Object structure using REST and API authentication

    Posted 01-25-2022 05:45
    It is hard to say because the OS is really complex and there are many columns in sheet.
    An important difference between REST and OS services is that REST uses the database relationship instead of the Object Structure names.
    Try removing LONGDESCRIPTION , MAXINTOBJCOLS and MAXINTOBJALIAS

    ------------------------------
    Regards
    Bruno Portaluri (MaximoDev)
    ------------------------------



  • 8.  RE: Unable to create Object structure using REST and API authentication

    Posted 09-28-2023 00:40

    The complexity of the OS and the extensive spreadsheet columns make it challenging to determine. A key distinction between REST and OS services is that REST relies on database relationships rather than Object Structure names. Consider removing LONGDESCRIPTION, MAXINTOBJCOLS, and MAXINTOBJALIAS for potential improvements.



    ------------------------------
    Aaronn78 Khan
    google
    ------------------------------