Hi together,
is it possible to run execute.form.command("xxx") inside Session Extension txess... (form command of this Std. session of course) ?
thanks
jens
What are you trying to do?
If command has a extern function I think you can use it.
Hi
thanks. Compiling no problem, but during debugging i get an error.
Hi Jens,
The execute.form.command() function can only be used with tx component in LN CE. The function is documented in the programmers guide as 'conditionally trusted', which as per the 'Trusted / Untrusted concept' documentation means that "... they are allowed to be called, but not for standard components."
'Trusted / Untrusted concept'https://docs.infor.com/ln/2023.x/en-us/lnesdoc/lnstudextdg/default.html?helpcontent=ubo1511792994857.html
If you are trying to create something like a custom form command that executes a standard command, I can see that being useful, but it might not be the best approach as you cannot determine if the execution was successful. The recommended approach is likely to request a public interface for the function that gets executed by the standard form command.
Yours,Stephan
Hi Stephan,
thanks. i know that. But you have to wait upto 6 months for a new public interface.
i thought that there is another way. Unfortenately AFS is also only supported for " tx" package :-((