FileSync Rule - Post-script copy BadLink.html file to Enterprise Browser location

Solved
MJ
Mitch Jeffcoat
Bridgestone Plants & Distribution Centers

Android 11 or 13

Models MC93 & ET60

FileSync Rule copies config.xml, badlink.html, copy_config.xml & copy_banklink.xml files to %sdcard% as expected (xml files are used in post-synchronization)

copy_config.xml

<wap-provisioningdoc>
  <characteristic version="11.3" type="FileMgr">
    <parm name="FileAction" value="1" />
    <characteristic type="file-details">
      <parm name="TargetAccessMethod" value="2" />
      <parm name="TargetPathAndFileName" value="/enterprise/device/enterprisebrowser/Config.xml" />
      <parm name="IfDuplicate" value="1" />
      <parm name="SourceAccessMethod" value="2" />
      <parm name="SourcePathAndFileName" value="/sdcard/config.xml" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

copy_banklink.xml

<wap-provisioningdoc>
  <characteristic version="11.3" type="FileMgr">
    <parm name="FileAction" value="1" />
    <characteristic type="file-details">
      <parm name="TargetAccessMethod" value="2" />
      <parm name="TargetPathAndFileName" value="/enterprise/device/enterprisebrowser/badlink.html" />
      <parm name="IfDuplicate" value="1" />
      <parm name="SourceAccessMethod" value="2" />
      <parm name="SourcePathAndFileName" value="/sdcard/badlink.html" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

After file synchronization has completed execute script:

mxconfig /sdcard/Copy_badlink.xml
mxconfig /sdcard/Copy_Config.xml

Always Execute is checked

Enterprise Browser utilizes the settings from our config.xml but if it has a page error it calls the badlink.html that comes with the apk and not our customized file (customized file has an exit function to get out of the Enterprise Browser application in case they lose wifi).

I cant get our customized version of the badlink.html to copy to the location where Enterprise Browser is located.

a year ago
SOTI MobiControl
ANSWERS

Similar Discussions