I am trying to use start.session() in an extension on Infor LN 10.7 with the "Extensions Ready for Cloud" option enabled, but it is not working.
start.session()
It returns the message: "Not trusted."
Is not start.session() supported in cloud-ready extensions?
The function start.session() is only trusted when being used with 'tx' components.
"In the following case it is possible to use this function in a not trusted object:
If you need to start a standard session, a public interface is required.
As LN 10.7 is in extended maintenance, there won't be public interfaces added anymore to that release. A workaround could be to disable the 'Extensions Ready for Cloud' setting in the 'Extensibility Parameters' (ttext0100m000), which would allow to call standard libraries and non-trusted functions in LN on-premise. Then request the public interface for LN CE so once you are ready to move to the cloud, you can replace the non-trusted code with the public interfaces.