Topic-icon K2 JSON format site node at beginning confused vData

More
29 Jan 2018 11:30 #5399

Hello,
In Select Field drop-down at the top, You need to choose the appropriate tag which contains the Items not the load fields value.


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • Ken Lee
  • Ken Lee's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
26 Jan 2018 09:28 #5377

Dear WDMTech,

I have a JSON source of K2 v2.8, my.site/categories?format=json
where categories is a menu item pointing to K2 Categories. The URL lists K2 categories beginning with:
{
"site": {
"url": "my.site",
"name": "My Site Name"
},
"items": [
{
"id": "3",
"title": "etc etc etc.",
......
At my another site with current vData installed, I want to import K2 categories. I created a new profile with K2 categories and remote server path my.site/categories?format=json
At field selection step it let me choose only "url" and "name", which is the header information. It would not let me choose the items in the "items" array which contain the real categories.

How can I make K2 not showing the "site" node or how to make vData skip "site" and read the fields in "items" array instead? Thank you.

Attachments:

Please Log in or Create an account to join the conversation.

Cron Job Starts