MxLoader

 View Only
  • 1.  How to load hyperlinks to Long Descriptions?

    Posted 12-08-2021 12:28
    I am using MXLoader for creating new WO records and need to load rich formatted text to the long description. This includes hyperlinks for URLs. I encounter errors when attempting to load with rich text formatting. I queried for an existing record that was manually setup as needed and copied this long description text to load and it still failed. How can I load this with MXloader?

    <div><font size="3"> </font></div><div><font size="3">Video:  </font></div><div><a href="URL REFERENCE" target="_blank"><font size="3">URL REFERENCE"</font></a></div>
    <div><font size="3"> </font></div><div><font size="3">PPT: </font></div><div><font size="3"><a href="URL REFERENCE"" target="_blank">URL REFERENCE"</a> </font></div>
    <div><font size="3"> </font></div><div><font size="3">Activity: </font></div><div><font size="3"> </font></div><div><a href="URL REFERENCE"" target="_blank"><font size="3">URL REFERENCE" </font></a></div><!-- RICH TEXT -->

    ------------------------------
    Clyde

    ------------------------------


  • 2.  RE: How to load hyperlinks to Long Descriptions?

    Posted 12-08-2021 22:57
    Hi Clyde,

    I used the following format and loaded 3 URLs successfully:

    <div>Video: <a href="https://www.youtube.com/watch?v=UtqHsuvIjwo" target="_blank">Aquitas Video</a></div><div> </div><div>PPT: <a href="https://www.aquitas-solutions.com/" target="_self">Aquitas Solutions</a></div><div> </div><div>Activity: <a href="https://moremaximo.com/home" target="_self">MORE</a></div><!-- RICH TEXT -->

    What is the error you're receiving?

    Thanks,

    ------------------------------
    Matt McGuire
    Aquitas Solutions
    https://www.aquitas-solutions.com/
    ------------------------------



  • 3.  RE: How to load hyperlinks to Long Descriptions?

    Posted 12-09-2021 09:07
    Hi Matt, 

    Thanks for the follow up.  The error I receive is a parsing error.  I tried my test using the sample you provided and received the following error. Only happens if I try loading with the rich text syntax. 

    Bad Request
    BMXAA9233E - Error parsing JSON data.
    Unexpected character 'w' on line 13, column 62


    ------------------------------
    Clyde Waters
    Projetech Inc.
    ------------------------------



  • 4.  RE: How to load hyperlinks to Long Descriptions?

    Posted 12-09-2021 09:36
    Morning Clyde,

    From the error message it looks like you're using the REST service? Assuming that's the case my understanding is that you can't load data with double quotations using REST. I recommend changing the service on your config sheet from REST to OS and that should fix it.

    Please let me know if that works.

    Thanks,

    ------------------------------
    Matt McGuire
    Aquitas Solutions
    https://www.aquitas-solutions.com/
    ------------------------------



  • 5.  RE: How to load hyperlinks to Long Descriptions?

    Posted 12-12-2021 10:07
    It is a bug in MxLoader.
    I have fixed it and it will be released in MxLoader 8.3 (planned in January 2022)

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