Forum

Vitali Kurdasov
      Has successfully completed the online course Intermediate (200)
      Has successfully completed the online course Basics (100)
      Has successfully completed the online course Advanced (310)
      Has successfully completed the Intermediate Certification
    3 years ago #27599
    Up
    0
    Down
    ::

    Hi Gabriel,

    the call you are using seems to work only with elements bound via Simplifiers visualbinding.

    In the example the table was bound via an ItemsPath, so the context of the model on pressing the item is not the view name but requires the name ‘variableHolder’.

    Please create an new Clientside BusinessObject and create a Method analogous to “ITIZ_Utilities “-> “GetSelectedListItem”.

    Afterwards change the scriptline 4 into:

    var oOriginal = lo_listItem.getBindingContext(Object.keys(oSelectedItem.oBindingContexts)[0]).getObject();

    We are currently working on a solution in ITIZ_Utilities to correct this error.