How to insert data in table of a v5 page (provided snip below)? Need Explanation for this. | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AkshayAnand

Hi @debasmita17 

 

You can store those values in some variable and then use a JS activity to update the schema.

in the properties >> variables tab, you can declare your variables.and call them as ctx.vars.variableName = SCP_AAOrcpRecord.@webapplogid;

then use the xtk.session.write method to insert the variable into the schema.

like, xtk.session.Write(<schemaName xtkschema=",nameSpace:schemaName" _operation="insert" fieldName = {ctx.vars.variableName}  />)

 

Regards

A

1 reply

AkshayAnand
Community Advisor
AkshayAnandCommunity AdvisorAccepted solution
Community Advisor
May 23, 2023

Hi @debasmita17 

 

You can store those values in some variable and then use a JS activity to update the schema.

in the properties >> variables tab, you can declare your variables.and call them as ctx.vars.variableName = SCP_AAOrcpRecord.@webapplogid;

then use the xtk.session.write method to insert the variable into the schema.

like, xtk.session.Write(<schemaName xtkschema=",nameSpace:schemaName" _operation="insert" fieldName = {ctx.vars.variableName}  />)

 

Regards

A