Hi guys, I’m struggling with the syntax for a simple create() call with the AsyncCallback. It’s not liking this syntax for some reason. Am I missing something obvious? Is there something special with our “Secrets” custom object that needs to be in place to get this working properly? Thanks in advance!
The type of second argument for create
method should be AsyncCallback<List<String>>
, not AsyncCallback<Secrets>
. The handleResponse
method should also accept List<String>
.
Best Regards,
Maksym
Thank you! That worked