Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Manually create draft in flex code

Avatar

Level 1

I'm using flex forms on LiveCycle Workspace 9.5.

When user clicks Save button on bottom-left corner of form draft is created.

But I need to create draft in code (I'm making some server calls and in case of error one of options is to create a draft and try later).

I've tried to call SwfConnector.setSaveData, but it is not enough (draft is not created).

Is it possible to do it in code?

0 Replies