I’ve been working on moving document generation button from salesforce agents to partner community users. I’ve created a LWC Button and making use of LoopMessage functionality for same at https://github.com/sdknintex/dl_apex_loopMessage
The code seems to work fine when executed as Salesforce Admin, but doesn’t work when invoked from LWC Apex Imperative call. The class I have defined is set as ‘without sharing’ as such.
Also, made sure to follow the steps here -
Apart from this, have also made sure to this option enabled as well -
The problem is webservice callout doesn’t show any error and has no document generated as well. I can share the logs if needed.
Seems like similar issue has been asked here and no one as responded. Kindly do help if anyone has any possible approaches to debug this issue.