table column values are null after integration

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

edwinayin@qq.com
Ebase User
Posts: 24
Joined: Fri Nov 04, 2016 7:41 pm

table column values are null after integration

#1

Postby edwinayin@qq.com » Thu Jan 05, 2017 3:46 pm

Hello everyone,

I am modifying the integration service (adding new fields and tables), the non-table fields worked well and stored to the database, but the tables didn't work.

For one of the tables, the row count is 2, but when I loop through it, the column values in it are null.

Please suggest a way to debug it. Many thanks!!!

Edwina
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Thu Jan 05, 2017 5:32 pm

Hi Edwina,

Is this from incoming data? If so you need to call fetchTable() on the table to copy the integration resource data into the form tables.

e.g something like:

tables.myTable.fetchTable();

The only way you can debug this is to enable debug on the integration resource for the integration service and check the mappings, namespaces and XPaths are correct in your resource. It maybe that the columns do not have the correct XPath for the incoming request data.

Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 55 guests