Modifying and storing a document in BAP Client without form engine

Is there a way to modify and dispatch a document so it will get handled by the assigned DataLoader?

Usecase:

I want to implement a payment solution for a document. After the payment is done (e.g. PayPal) the state of the transaction should be stored in the document and it should be updated on the server. Clearly a PayPal express button doesn’t require a form engine to be placed on the page.

I can imaging some ways of modifying a document (DataEditor from engine, custom DocumentWalker, etc…) but would be unable to dispatch the modified document back and have to use manual rest calls aside from the data loader.

Is there a better way to do it?

After talking to Tuan Minh Do there is a least a good way to dispatch a modified document back to the store using the ActivityAction setData.

Hi Martin. After you have updated the date, use the commit and save actions. These trigger the data loader.

<INTERNAL_LINK>
<INTERNAL_LINK>