3 years ago
#27599
::
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.