Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Trusted Objects and Managed Execution

$
0
0
Hello,
I am faced a problem with managed execution introduced in the latest LN version. It was required to zoom into session and return several field values into calling session. I used to use export function for this cases. Here is a code example in the zoom session:

Code:

zoom.from.all:
on.exit:
  export("TABLE001.FLD1",TABLE001.FLD1)
  export("TABLE001.FLD2",TABLE001.FLD2)
  export("TABLE001.FLD3",TABLE001.FLD3)


and the code piece in the calling session:

Code:

field.table002.fld1:
after.zoom:
  table002.fld1=table001.fld1
  table002.fld2=table001.fld2
  table002.fld3=table001.fld3


It worked fine in earlier LN versions. If I try to use it now warning message put.var function is untrusted and can't be used in trusted objects only.


Does anybody have any details on Managed execution and trusted/untrusted functions?

Viewing all articles
Browse latest Browse all 4216

Trending Articles