Results 1 to 7 of 7

Thread: Tablet_index.html not generated

  1. #1
    Member
    Join Date
    Sep 2013
    Location
    Bristol UK
    Posts
    95

    Tablet_index.html not generated

    I can't seem to get my Lianja to generate a tablet_index.html.

    I opened my deployment folder: D:\lianja\cloudserver\tenants\public\wwwroot\apps. The folder is empty.

    I opened example_webapp1 and checked that the tablet UI Presentation Rule is ticked and that the directory and deployment directory settings were correct.
    I saved the app. Message: App Saved
    I clicked the Tablet App View and the app is displayed in the Tablet App View and works as expected.
    I clicked the Tablet App View Deploy button. Message: example_webapp1 generated in debug mode and the folder example_webapp1 is created in the deployment folder.
    On checking the folder there is an index.html but no tablet_index.html.

    When I try to load the app on a tablet, I get a message saying tablet_index.html not found.

    What am I doing wrong?

    Cheers,

    Rob C

  2. #2
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,940
    Hi Rob,

    run the Tablet View. Right click the results screen and click Inspect. See if there is a red x in a circle, bottom right of Inspector. If there is, that means there's an error. Click it and it will tell you the location of the error, showing you where in it happened.

    If not, beats me.

    Hank

  3. #3
    Member
    Join Date
    Sep 2013
    Location
    Bristol UK
    Posts
    95
    Hank,

    I've done as you suggested and no errors are displayed. There are 185 CSS related warnings but no errors. Clicking deploy appears to re-generate the index.html but won't create a tablet_index.html.

    I will uninstall and reinstall Lianja using the standard installation folders and see if that make any difference.

    Thanks,

    Rob C

  4. #4
    Member
    Join Date
    Sep 2013
    Location
    Bristol UK
    Posts
    95
    I've uninstalled everything and then re-installed clean using default settings and folders. I've deployed example_webapp1 and it's working perfectly in the Web View, Web Preview, local and remote browsers.

    However, I still cannot generate a tablet_index.html and I still get an error saying "tablet_index.html" not found when accessed from a Galaxy tablet. I checked the inspector int eh Web Tablet View and there are no errors.

    Rob C

  5. #5
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,376
    Hi Rob,

    I've submitted a ticket for this. 'Deploy' in the Tablet App View and Phone App View is naming the generated file 'index.html' instead of 'tablet_index.html' and 'phone_index.html'.

    If you click the 'Deploy' in the Tablet App View and rename the resulting 'index.html' file 'tablet_index.html' this will give you the correct file to test on your tablet. Sorry for the inconvenience.

    Regards,

    Yvonne

  6. #6
    Member
    Join Date
    Sep 2013
    Location
    Bristol UK
    Posts
    95
    Yvonne,

    I understand. I assume this means that when deploying from tablet/phone views the existing web client index.html will be over-written so you'll always need to re-deploy from the web client after deploying and renaming from the tablet and/or phone views. Otherwise your web clients end up accessing the tablet/phone views.

    Thanks,

    Rob C

  7. #7
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,768
    Hi Rob,

    until it is fixed yes.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us