3 Replies Latest reply on Sep 15, 2014 7:38 AM by Anu Kannan

    Postal.xml file format

    Mårten Lindquist

      Hello

       

      After downloading the Postal.xm file it looks corrupted, or encrypted. I cannot use the file.

      The .pdf fils in the same folder looks ok.

      The file is in "Extranet Projects\SimulScan (formerly DPX) Alpha Testing\Forms"

      How do I get the contents of the file?

       

      Regards

        • Re: Postal.xml file format

          Hi Marten,

           

          The contents of the file are intentionally in this format. The template will still work, although you may receive an error when clicking on it on Compass. If this occurs, right click on the link, then click on "Save Link As..." or something similar. If used with software version 1.2.1 or higher, there should be no issue as a result. If you are seeing an error when using the template, please provide us with more details so we can troubleshoot the issue.

           

          One additional note: you may notice that the templates were recently updated on Compass. A slight change was made that improves responsiveness of the software when using this version of the template; please re-download it if possible for best performance.

           

          Regards,

          Lawrence

            • Re: Postal.xml file format
              Mårten Lindquist

              Hello again.

               

              I'm afraid the Postal.xml file is still not working.

              When I try to use it in DataWedge I get message:

              TEMPLATE ERROR: Invalid template. Select a valid template file.

              Unexpected token (position:TEXT @1:3 in java.io.StringReader etc

               

              The contents of the Postal.xml is this:

              PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzc21haW4gdmVyc2lvbj0iMS4wIiBuYW1lPSJQT1NUQUwiPg0KICA8c3N0ZW1wbGF0ZSBuYW1lPSJQT1NUQUwiIHdpZHRoPSIyMDQ4IiBoZWlnaHQ9IjE0NDciIG51bWJlcj0iMSIgdHR5cGU9Im1peGVkIj4NCiAgICA8cmVnaW9uIG51bWJlcj0iMSIgbmFtZT0iTG9nb19JRDEiIHg9IjQ1IiB5PSI3NCIgd2lkdGg9IjQ2NyIgaGVpZ2h0PSIxMjkiIGlkZW50aWZ5X2Zvcm09IlRydWUiIHJ0eXBlPSIweDAxIj4NCiAgICAgIDxwcm9jbW9kZSBwdHlwZT0icGljdHVyZSIgLz4NCiAgICA8L3JlZ2lvbj4NCiAgICA8cmVnaW9uIG51bWJlcj0iMiIgbmFtZT0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4NCiAgPG1haW5mcz43QTMzNzc1MjY1MjI3MDJCNzczMzcwN0M2MTZEMkI3MzIxNkE5MTZEMjMyMTI1Mjk2RjIyMjUyNTI4NkYyOTZFNkE4RjZEMjUyNjZGMjgyNTZGMjUyNzI4NkYyMjIzMkE2RjY1MjI2RTZBOEY2RDI4MjYyOTZGMjcyOTZGMjQyQTJBNkYyMjIzMjI2RjY1MjI2RTZFODg2RDY1MjI2RjIyNkU3MDk1NkQyMzI1NkYyMTZFNzA1Njc3MjE3MDYzNzA4NTZEMkI2RTcwMDA8L21haW5mcz4NCiAgPCEtLSoqKioqKioqIENvbW1vbiBwYXJhbWV0ZXJzIGZvciB0aGlzIHRlbXBsYXRlICoqKioqKioqKi0tPg0KICA8IS0tDQpDb3JyZXNwb25kaW5nIEZsZXhpc2NyaXB0IG91dHB1dCA6DQpEZWNvZGUNCmkgPSBOLTE7DQphID0gaTsNCkVuZE9mRnJhbWUNCklmIChhID49IDAgQW5kIENyZWF0ZVJlZigyMDQ4LDE0NDcsOCkgQW5kIFRlc3RSZWdpb24oNDUsNzQsNDY3LDEyOSwtMSkgQW5kIFRlc3RSZWdpb24oNzU4LDY4LDM5OSwxMjEsLTEpKQ0KCU1lc3NhZ2UoLTEsMSk7DQoJT3V0cHV0Rm9ybVJlZ2lvbigyNCwwKTsNCglSID0gMDsNCkVuZElmOw0KDQpEaXNjYXJkKGEpOy0tPg0KPC9zc21haW4+

                • Re: Re: Postal.xml file format
                  Anu Kannan

                  Marten,

                  The string you pasted seems incomplete. I attempted to retrace your steps as below :

                  1. Logged into the extranet site where the forms are loaded at https://compass.motorolasolutions.com/cgi/go/472289295

                  2. Downloaded the "POSTAL.xml" and saved it as Postal_Extranet.xml on my local machine.

                  3. Copied it over the /internal/simulscan/templates/ folder on the device

                  4. On the device, launch the File Browser app -> copied the POSTAL_Extranet.xml from the /internal/simulscan/templates/ folder to the enterprise/device/settings/datawedge/templates folder

                  5. Launched the DWDemo app -> Settings -> Barcode Input -> Uncheck "Enabled" -> SimulScan Input -> Check "Enabled" -> Template Selection -> POSTAL_Extranet.xml -> Back

                  6. Touched the Trigger button that launched the SS UI which then proceeded to capture and process the Postal template properly.

                   

                  My device is running the latest SimulScan version 1.2.3.


                  Could you please try again from scratch as above. I've attached the file here for your reference as well. Please let me know if you still face any issues.

                   

                  Thanks,

                  Anu