Skip to main content

Custom Tools in Handheld mode

Comments

7 comments

  • Permanently deleted user
    Anyone have a clue?

     

    Is it possible at all to have custom developed tools work in handheld mode?
    0
  • Dan Giersz
    Did you have to manually modifiy your desktop json files to get your custom stuff to work? Maybe the handheld json is missing a reference to a library or something?
    0
  • Permanently deleted user
    I actually just did some sort of "emulation". I changed the index.html part of

     

    http://IPADDRESS/Html5Viewer/Index.html?configBase=http://IPADDRESS/APP/REST/sites/WEBSITE/viewers/VIEWER/virtualdirectory/Resources/Config/Default#

     

    with Handheld.html.

     

    I'm not 100% sure though I can do this as it's the first time I'm trying a handheld version and I'm emulating it on desktop (not from a smartphone even though I also tried in a smartphone and the behavior is the same)
    0
  • Dan Giersz
    I do that also to test the tablet and handheld versions.

     

    I meant did you manually modify any of the config files when implementing your custom stuff? If you had to add library references for a custom module for instance, you need to do that in all 3 of the config files. 

     

    How did you add the toolbox to the handheld? Copying the configuration in Essentials while editing the viewer or manually updating the config files?

     

     
    0
  • Permanently deleted user
    I think Dan is on the right track.  It sounds like the module isn't being loaded or not loaded correctly.  Custom modules will definitely work in handheld and tablet viewers - we have done this many times.  Have you looked at the console output for any errors?
    0
  • Permanently deleted user
    I added the tools through essentials nothing manually. Didn't edit any files.

     

    Console shows no output errors.
    0
  • Permanently deleted user
    Thanks for the help guys.

     

    Sorted it out, it was missing the library and scripts references in the Handheld.json.js file.

     

    working as intended now.
    0

Please sign in to leave a comment.