HTML Client, Lightswitch, Passing Parameter to Edit Screen


  • Hello, 

    following scenario:

    I have a filtered view (game-ids and usernames, Tutorial) and a relation to a game table.
    So the User only sees Games he is allowed to see.
    Additionaly i created the Property "Username" to pass the Username.

    The current ontap Action:

    myapp.Matchreporting.Game_Tap_execute = function (screen) {
        screen.Username = screen.Matchreporting_Rights.selectedItem.Matchreporting_Username;
        myapp.showGamedata_edit(screen.Matchreporting_Rights.selectedItem.Game, screen.Username);

    Now i want to use the username in the screen "showGamedata_edit" to modify the visibility of some objects.

    I don't know how to get the passed parameter on the new edit screen...

    myapp.showGamedata_edit.created = function (screen) {
        screen.Property1 = ?

    Thanks in advance

    Thursday, January 09, 2014 11:52 AM


All replies