XTK-170024 The temporary schema 'temp:webAppLogRcpData' is not defined in the current context. | Community
Skip to main content
Level 2
March 17, 2023
Solved

XTK-170024 The temporary schema 'temp:webAppLogRcpData' is not defined in the current context.

  • March 17, 2023
  • 1 reply
  • 1020 views

Hello to the community
I am trying to insert a value using a landing page in web application through javascript. So I can't catch the response and insert it into temp:webAppLogRcpData.
I tried to create a script like this:
<webAppLogRcpData _operation="insertOrUpdate" xtkschema="temp:webAppLogRcpData">
<are_you_in>1</are_you_in>
webAppLogRcp id="2987493" webApp-id="2342" origin="neolane" language="en" delivery-id="" creation="true" score="2" xtkschema="nms:webAppLogRcp"/>
</webAppLogRcpData>) ;
But the following error occurred
XTK-170024 The temporary schema "temp:webAppLogRcpData" is not defined in the current context.

How can I solve this problem or is there any other way to do it?

Kind regards, Madam, Sir.
Thank you for your attention.

 

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 Marcel_Szimonisz

Hello @wiznamo,

I have also tried to save data directly to this table but never successfull.

 

When I had web application and was not using page activity (the one where you not insert HTML source). But this activity is needed to define variables that are saved in your recipient response form. I used to create test condition where 1=0 and true branch went to the page activity were the variables you want to save are defined. Then take a look at the context from web application and you will see these variables there, that you have created in the old page activity.

Try to simply populate them by 

 

ctx.vars.xxx = 'your value'

 


and then at the end of the web application use the out of the box save activity which will save your custom input values.

 

Marcel

1 reply

Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
March 17, 2023

Hello @wiznamo,

I have also tried to save data directly to this table but never successfull.

 

When I had web application and was not using page activity (the one where you not insert HTML source). But this activity is needed to define variables that are saved in your recipient response form. I used to create test condition where 1=0 and true branch went to the page activity were the variables you want to save are defined. Then take a look at the context from web application and you will see these variables there, that you have created in the old page activity.

Try to simply populate them by 

 

ctx.vars.xxx = 'your value'

 


and then at the end of the web application use the out of the box save activity which will save your custom input values.

 

Marcel

WiznamoAuthor
Level 2
March 17, 2023

That's exactly what I did, now I could define variables using the page (v5 comptatibility) before to initiate the temp table and variables)

Thank you for your answer,
It was a great help