locked
How to change the Home Screen (HTML Client) after publishing? RRS feed

  • Question

  • I want to change the Home HTML Screen on a published application. I can see that the home screen is defined in Client.lsml but after publishing, I can't find that file. I suppose it got compiled somewhere. So, is there any way to change the home screen without recompiling?
    Friday, April 12, 2013 7:23 PM

Answers

  • Hi,

    You can look for this file under your application's directory: "HTMLClient\Content\Resources\Generated\model.json".

    And replace the "homeScreen" attribute with a valid screen id.

    {
      "modules":
      [
        {
          "homeScreen": { "__id": "Home" },
          "id": "!module",
          "name": "LightSwitchApplication.Application1",
          "logo": "/Content/Images/logo.png",
          "targetPlatform": "MobileWeb",
          "version": "1.0.0.0",
          "shell": { "__id": ":HTMLShell" },
          "theme": { "__id": ":HTMLTheme" },

    Best regards,
    Huy Nguyen

    Monday, April 15, 2013 4:34 PM