I am trying to use DynamicData.call() in my Form. There is an existing working Service deployed in Transact Manager (Test mode enabled). I added a Dynamic Data Button in the Form to experiment to see if I can retrieve data from the Service.
I am running the Form in preview and I keep getting the error message "Cannot invoke DynamicData.call() in preview without adding preview data" when the call is invoked. The error is thrown from the Promise. I realise that the error message is internal as the call did not make it out to the online Service because the same error appears even when I gave it a rubbish Service name.
The DynamicData.call() works without issue If I deploy the Form to Transact Manager.
Any help is appreciated.