Zum Hauptinhalt gehen

Offline Mode in GVH

Kommentare

3 Kommentare

  • Permanently deleted user

    Hello Hani, 

     

    As of Geocortex HTML5 viewer 2.0, offline functionality has been only fully supported in the Geocortex Mobile App Framework. You can obtain the Geocortex Mobile App Framework for Windows and Android from the downloads section of the support center (If you need the app for iOS you will have to go directly through our geocortex support team support@geocortex.com).

     

    In regards to the missing "Generate Offline Bundle" button, this is no longer needed for going offline as we are making strides to streamline the offline process (and it should get even easier as time goes on). Offline should just work when you download the viewer to your Geocortex Mobile App Framework and all updates to the viewer should be apparent in the Geocortex Mobile App Framework the next time you load the viewer within it.

     

    If you would like the offline button to still appear within the viewer portion rather than in the Geocortex Mobile App Framework actions bar you can manually change your config file to allow it. Set the following property in your confifuration json file(Desktop.json, Tablet.json, etc.):

     

     

    {

     

        "id": "ConnectionStatusIndicatorViewModel",

     

        "type": "geocortex.essentialsHtmlViewer.mapping.modules.offline.indicator.ConnectionStatusIndicatorViewModel",

     

        "configuration": {

     

            "enabled": true

     

        }

     

    }

     

    Once you have set enabled" from false to true, the online/offline toggle will appear within Geocortex Viewer for HTML5 once you have synced data.

     

    There is more information regarding this in the Geocortex Viewer for HTML5 Admin guide on page 252

     

    Let me know if you have any other questions,

     

    Cory Purnell

     

    Latitude Geographics Quality Assurance Team
    0
  • Permanently deleted user
    Dear Cory,

     

    Thanks a lot for the helpful input,

     

    May you please elaborate more where I should plug this code within the desktop.json/tablet.json file? Actually, I'm not good enough in coding.

     

    Once again, Thank a lot!
    0
  • Permanently deleted user

    Hi Hani, 

    Sure thing, just perform a search in the file for "id": "ConnectionStatusIndicatorViewModel" 

    Once you find that section right below it will be the:

    "configuration": { "enabled": false }

    section. If you change the false to true the button will appear in your viewer.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.