Maximo Open Forum

 View Only
  • 1.  Export attached doclinks documents to an external system.

    Posted 11-27-2025 07:49

    Hello, experts.
    I need to send attached DOCLINKS documents along with a PR procurement order.
    I found the X1CPR object structure, added the original DOCLINKS object, and enabled the non-persistent DOCUMENTDATA attribute. I regenerated the object structure XML, and also regenerated the publication channel XML.
    In these XML files, I see (<max:DOCUMENTDATA changed="true">YW5pbW9z</max:DOCUMENTDATA>)
    But the DOCUMENTDATA field doesn't appear in the outgoing XML message. Please help me: what did I do wrong?
    Should I add documentdata field to the sync_pr_mx21c.xsl structure of the publish channel?

    x1cpr
    X1CPRPUB
    In such an XML message, after these manipulations, the attachment is never sent to the external system.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Sync xmlns:ns0="http://www.gsrenergy.ru" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    <ns0:PRequest> 
    <ns0:PRNum>MXPR98</ns0:PRNum> 
    <ns0:PRNum1C /> 
    <ns0:X1CCFO>F00000127</ns0:X1CCFO> 
    <ns0:Description>test export file</ns0:Description> 
    <ns0:FullDesc /> 
    <ns0:IssueDate>20251127</ns0:IssueDate> 
    <ns0:RequiredDate>20251226</ns0:RequiredDate> 
    <ns0:Status>Under Agreement</ns0:Status> 
    <ns0:RequestedBy>MELN</ns0:RequestedBy> 
    <ns0:Supervisor>MELN</ns0:Supervisor> 
    <ns0:X1CTel>323</ns0:X1CTel> 
    <ns0:X1CWORef /> 
    <ns0:X1CPMRef /> 
    <ns0:PRPrior>2</ns0:PRPrior> 
    <ns0:PRClass1C>PR</ns0:PRClass1C> 
    <ns0:Vendor1C>3241234</ns0:Vendor1C> 
    <ns0:XType1C>Planned</ns0:XType1C> 
    <ns0:XCFOAdm>0</ns0:XCFOAdm> 
    <ns0:Lines> 
    <ns0:Line> 
    <ns0:PRLineNum>1</ns0:PRLineNum> 
    <ns0:PRLineNum1C /> 
    <ns0:ItemNum>F0013639</ns0:ItemNum> 
    <ns0:OrderQTY>1.000</ns0:OrderQTY> 
    <ns0:UnitCost>75654.00</ns0:UnitCost> 
    <ns0:VenDeliveryDate /> 
    <ns0:LineType>ITEM</ns0:LineType> 
    <ns0:Remark /> 
    <ns0:Tax1Code>20%</ns0:Tax1Code> 
    </ns0:Line> 
    </ns0:Lines> 
    </ns0:PRequest>
    </ns0:Sync>

    #Administration
    #Architecture
    #EverythingMaximo
    #Integrations

    ------------------------------
    Sergey Melnikov
    RusNet
    ------------------------------


  • 2.  RE: Export attached doclinks documents to an external system.

    Posted 2 days ago

    I apologize because this is an older post I missed somehow. Hopefully you figured it out but in case you haven't or in case someone else stumbles on this post, I wanted to add a response.

    Based on the formatting of the message, it looks like you have a XSL file (defined in the XSL Map section of the publish channel) transforming the message from the Maximo format into the format you need for your external system. These XSL files control the entire processing of the message and if not configured properly, will ignore additional content in the message, so you need to review the XSLT to ensure it is bringing in this data.

    In addition, specific to certain versions of 7.6.1.3 (up until IFIX 022 in July 2024), there is a bug if your attachments are stored in a S3 bucket where documentdata will not be populated. IJ51407: DOCLINKS.DOCUMENTDATA IS EMPTY WHEN THE ATTACHMENT IS IN AN S3 BUCKET



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------