Hello, I want to store the webform fields in a dataschema. Dataschema is linked with recipient data schema on the basis of recipient id. It has new fields whose values will be captured from webform and cusid field (linked with recipientID of nms:recipient)
The web url should be embedded in the email. New dataschema doesn't have any data present. How can I store the webfrom data in the new schema.
I have tried changing the document type as my new data schema. If I do so, preloading url changes to primarykey of new dataschema. In the storage activity, I am able to see only the new dataschema fields used in the page. Records are not getting inserted.
If I try using recipient as document type and store all values of the webform in variables , what is the javascript code which I can write to insert data into my new dataschema.