Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Maximo Anywhere 7.6.4 Upload attachments

    Posted Tue June 23, 2020 03:39 AM
      |   view attached
    Hello,

    we are having some problems with workexecution attachments. Attachments are syncing from Maximo to Anywhere, but not vice versa. When we add a attachment in workexecution, it seems as it is uploaded to Maximo, but nothing happens in Maximo..also at that moment that workorder stops syncing with Maximo(even description field). 

    There is nothing we could find in Maximo log even after setting OSLC log to DEBUG. In Android log we get errors. I am attaching the log file.
    In workexecution app log we get this:

    2020-06-23 07:21:21.422[ERROR] [TRACE] [ATTACHMENTSERVICE]: uploadFileAsPromise result: {"isTrusted":true}
    2020-06-23 07:21:21.427[ERROR] [TRACE] [ATTACHMENTSERVICE] Fail to parse JSON from attachment response, error = SyntaxError: Unexpected token < in JSON at position 0

    We also found this:
    Anywhere 7.6.4 - Upload Attachment
    But we have it set up like it is described, still no luck.

    Has anyone run into the same problem?

    Thank you

    ------------------------------
    Robi Cavnik
    Troia d.o.o.
    ------------------------------



    #Maximo
    #MaximoAnywhere
    #AssetandFacilitiesManagement

    Attachment(s)

    txt
    764Attachemnts.txt   183 KB 1 version


  • 2.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Tue June 23, 2020 10:02 AM
    Hello Robi,

    I suspect that this is due to a malformed URL, if that is the case, I have the workaround, in that case. send me an email to ctorres@cl.ibm.com and I will show you how to do it.

    Regards

    ------------------------------
    Claudio Torres Mendoza
    ------------------------------



  • 3.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Mon August 17, 2020 10:09 AM
    Hi

    I have the same problem. Would it be possible to share the solution publicly?

    Regards
    Bani Greyling

    ------------------------------
    Bani Greyling
    ------------------------------



  • 4.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Sun August 30, 2020 02:19 PM
    Hello Bani,

    You can  request the LAFix-IJ24990-764 to support,

    Regards


    ------------------------------
    Claudio Torres Mendoza
    ------------------------------



  • 5.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Tue September 08, 2020 11:53 AM
    Got the same fix and after comparing the CommunicationManager.js files there's actually only one line of code change

    //anywhereUploadPath = WL.StaticAppProps.WORKLIGHT_BASE_URL + changeRecord.identifier.substr(resourceMetadata._urlBase.length,changeRecord.identifier.length) + anywhereUploadPath.slice(anywhereUploadPath.indexOf("/"));
    anywhereUploadPath = changeRecord.identifier + anywhereUploadPath.slice(anywhereUploadPath.indexOf("/"));

    ------------------------------
    Christopher Kung
    ------------------------------



  • 6.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Wed September 16, 2020 12:17 PM
    Thank you @Christopher Kung! It worked for me.​

    ------------------------------
    Alexey Potanin
    ------------------------------



  • 7.  RE: Maximo Anywhere 7.6.4 Upload attachments

    Posted Mon April 12, 2021 01:29 PM
    Hi, I have the LAFix-IJ24990-764 but somehow still got this issue. Is there someone in the same situation here ?

    Thank you


    ------------------------------
    Mathieu Guilmette
    ------------------------------