is it possible to clear the Soti Surf Cache ?

L
Leahcim
Aptar Freyung GmbH (Aptar Congers)

is it possible to clear the Soti Surf Cache into the Kiosk mode over a button ?

We have an Zebra TC72 scan gun with a 8.1.0 Androit OS. I read that the script :

sendinfo net.soti.action.surf clearcache

will help for this, but it don't work into the Kiosk Mode. I can run the command over a rule and it works without any problems, But I need a button so the production employees can reset the cache by themself.

Regards

Leahcim

4 years ago
SOTI surf
ANSWERS
J
JSMOD@SOTI
4 years ago

Hi Leahcim,

Thank you for posting on SOTI Central.

This should be possible if you create a .CMD file with the contents of the script you want to run, then push the file to the device with a package or File Sync. In the Lockdown configuration add a Menu Item with the exact path of the .CMD file in the device storage "Package Name or Script File or URL": Add Home Screen Items (soti.net).

I hope this helps.

Kind regards,

L
Leahcim
4 years ago

Hello,

I write e a "clearcache.CMD" file which include the command "sendinfo net.soti.action.surf clearcache" and put the file into the folder "script" directly on the SD card from scan gun  Then I create a new entry  into the Kiosk mode and use different commands to execute the CMD file:

script://%sdcard/script/clearcache.CMD

script://sdcard/script/clearcache.CMD

file://%sdcard/script/clearcache.CMD

browser://%sdcard/script/clearcache.CMD

but all the commands don't execute the CMD. By the way are you sure that CMD files are working on a Android device ? 

What is going wrong ? 

Regards

Leahcim

 
RC
Raymond Chan Diamond Contributor
4 years ago

Use

  script://%sdcard%/script/clearcache.CMD

J
JSMOD@SOTI
4 years ago

Hi Leahcim,

I just wanted to follow up on this thread and see if you were able to get this working? The suggestion from Raymond should work; the syntax for the file path should include the full macro like: %sdcard%.

If you were able to solve this I kindly ask that you mark the appropriate comment as 'Solution' to help others find the answer.

Kind regards,