Global Values RRS feed

All replies

  • For VS 2013, you'll want to add it to the "<ProjectName>.Server\Properties\Service.lsml" model file.

    Justin Anderson, LightSwitch Development Team

    Wednesday, December 18, 2013 6:30 AM
  • Hi Justin

    Thanks for that but it doesn't work. if I try and add in anything to the xml it immediately tell me that changes have been made and it wants to reload the project and it will not take no for and answer

    <?xml version="1.0" encoding="utf-8"?>
      Version="" xmlns="http://schemas.microsoft.com/LightSwitch/2010/xaml/model">
          Namespace="LightSwitchApplication" />
          IsPrimary="True" />
            <Generated />
              Value="Security Data" />
              Value="Service that provides access to security-related data." />
          EntityContainer="Business_ITData" />
            Replacement="$1 $2" />

    this is a copy of the existing XML file and what I would like to do is add a date value for 2 months ahead any ideas where in this file I would put the code even what the code would be as I tried to paste in what the other chap had said and nothing showed up on the global list.

    I know I am being somewhat thick and should really just code the query but this facility of adding Global Values could be handy in the future.

    Wednesday, December 18, 2013 10:27 AM
  • Sorry Justin

    It is a silverlight desktop not HTML

    Wednesday, December 18, 2013 10:31 AM