Maximo

Maximo

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

 View Only
Expand all | Collapse all

MAS9 - Maximo Mobile RBA (browser) Technician app can't scan a barcode anymore

  • 1.  MAS9 - Maximo Mobile RBA (browser) Technician app can't scan a barcode anymore

    Posted Wed October 02, 2024 07:43 AM

    Hi,

    It seems that as of MAS9 the Maximo Mobile Technician RBA (browser) app can't scan any barcode anymore. This was working fine on MAS8.11 after updating some system properties. Steps to reproduce:

    • Opening the Technician App via browser on either an iOS or Android device
    • Select the search button
    • Click the SCAN button
      • The camera is opened and you can select either front or back camera
    • Try to scan a QR code 
      • The selection window is opened and I am trying to scan the code
    • No response..... code is not scanned 

    I have checked the system properties as per previous post 

    Maximo

    Ibm remove preview
    Maximo
    Hi,I have MAS8.11 and MAS manage 8.7.4 installed on our OpenShift cluster. When working with Maximo Mobile RBA on an iPad and using the web browser Safari (onl
    View this on Ibm >

    There is a system property mxe.sec.header.Content_Security_Policy which requires the addition of worker-src 'self' blob: ; 

    The default value for this property is:

    font-src 'self' data: https://1.www.s81c.com *.walkme.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com; style-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com; img-src 'self' d2qhvajt3imc89.cloudfront.net data: *.walkme.com; object-src 'self' *.walkme.com;

    Just replace the default property with this:

    font-src 'self' data: https://1.www.s81c.com *.walkme.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com; style-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com; img-src 'self' d2qhvajt3imc89.cloudfront.net data: *.walkme.com; object-src 'self' *.walkme.com; worker-src 'self' blob: ;


    On the MAS9 environment I have checked this system property and it seems fine:



    ------------------------------
    Jan-Willem Steur
    Manager Business Development
    ZNAPZ b.v.
    Breda
    +31 6 25639950
    Jan-Willem
    ------------------------------


  • 2.  RE: MAS9 - Maximo Mobile RBA (browser) Technician app can't scan a barcode anymore

    Posted Thu October 03, 2024 03:07 AM

    Hi Jan-Willem,

    thanks for sharing!


    It looks like the security tightening, introduced by mxe.sec.header.Content_Security_Policy property and decorating Manage responses with Content Security Policy (CSP) header is taking its toll. I have experienced it on my own with external BIRT reports images (QR codes) references and @Ivan Lagunov with Goole Maps integration (ref. Managing Content Security Policy (CSP) in IBM MAS Manage).

    Just one tiny rectification - mentioned header has been introduced already back in MAS 8.11. 



    ------------------------------
    Andrzej Więcław
    Maximo Technical Consultant
    AFRY
    Wrocław, Poland
    ------------------------------