Expand my Community achievements bar.

SOLVED

How to insert data in table of a v5 page (provided snip below)? Need Explanation for this.

Avatar

Level 1

Debasmita17_0-1684837694406.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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