Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Hello, I want to store the webform fields in a dataschema. 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.

Avatar

Avatar
Validate 1
Level 3
ckumari12
Level 3

Likes

17 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
ckumari12
Level 3

Likes

17 likes

Total Posts

38 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ckumari12
Level 3

03-02-2017

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Vapsy
Employee

03-02-2017

Hi ckumari12 ,

Thank you for writing in.

All you need to do is leave the document type as recipient.

Then capture the relevant details on the web page and in the transition add a JS activity.

Inside JS activity prepare the relevant schema object XML and make use of xtk:session's Write method to insert a new record in your schema.

For more information please refer to official documentation Data oriented APIs

Hope this helps.

Regards,

Vipul

Answers (0)