Uzamčený Navigating to a screen after created new entity

  • Friday, November 30, 2012 9:31 PM
     
      Has Code

    Hi

    Trying to navigate to a screen after creating a new entity from modal window passing the new id to the right screen.

    Tried something like

     $okButton.click(function () {
    
            msls.application.acceptNestedChanges().then(function () {
               
                msls.application.saveChanges(myapp.showBesiktning(contentItem.screen.Id));

    Know its the wrong way but someone maby can Point me in the right direction...

    Thanks

    Sven


    SE1969

All Replies

  • Thursday, December 06, 2012 5:57 PM
     
     Answered

    Hi SE1969_SWE,

    We are still shaping our APIs for the final release. We already added a new API which will enable exactly this scenario. For the moment this requires a fair amount of JavaScript code, going foreward it will be very easy using the new API. Let us know if there are more APIs that seem to be missing.

    Heinrich

    • Marked As Answer by Sven Elm Friday, December 07, 2012 6:53 AM
    •  
  • Thursday, December 06, 2012 6:17 PM
     
     

    Wonderful news, Heinrich!


    Garth Henderson - Vanguard Business Technology

  • Friday, December 07, 2012 6:53 AM
     
     

    Hi

    okey. thanks

    Sven


    SE1969