8 Replies Latest reply on Jul 21, 2013 10:55 PM by HAO-FAN MA

    Javascript in RhoElements Config.xml


      Dear All,


      There is a customer would like to use RhoElements to access their SAP ITSMobile web application and integrated barcode scan function into their applicaion, but the application was developed by the previous develop team and they are unable to modify the source code to use javascript scanner API, so I would like to config DefaultMetaTags to enable the scanner and set callback function for decode-event to put decode data to current focus textbox in all their web page.


      I know I can use meta tags and javascript to use scanner as below:


      <META HTTP-Equiv="scanner" Content="enable">

      <META HTTP-Equiv="scanner" Content="DecodeEvent:url('javascript:doScan(%json);')">



      function doScan(jsonObject)


           // get decode data and process




      I would like to know if I can include the javascript in Config.xml for RhoElements?


      Many Thanks!