HI All,
,@isahore ,@AndreaBriceno,@ParthaSarathy
,@ParthaS ,@Craig_Thonis ,@Manoj_Kumar_ ,@Amine_Abedour ,@Marcel_Szimonisz,@DavidKangni
,@Amit_Kumar,@ShashankNigam02,@Ganesh5067, @Jonathon_wodnicki
I need to update and insert the data in schema using xtk.session.write in schema
Can you please help me with
1) xtk.session.write -code to insert the data
2) xtk.session.write-code to update the data
I went to documnation and use the code mentioned here but throwing werror
can any of you please provide code below :
1) xtk.session.write -code to insert the data in Order schema
2) xtk.session.write-code to update the data Order schema
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Shrutii
You could use something like the below code (Please modify according to your requirements) :-
var rcp = <recipient
_operation="insertOrUpdate"
_key="@email"
xtkschema="namespace:OrderSchema"
firstName="firstName"
lastName="lastName3"
email="vanilla@JStest.com" >
</recipient>;
xtk.session.Write(rcp);
Thanks
Akshay
Hi @Shrutii
You could use something like the below code (Please modify according to your requirements) :-
var rcp = <recipient
_operation="insertOrUpdate"
_key="@email"
xtkschema="namespace:OrderSchema"
firstName="firstName"
lastName="lastName3"
email="vanilla@JStest.com" >
</recipient>;
xtk.session.Write(rcp);
Thanks
Akshay
Views
Likes
Replies
Views
Likes
Replies