- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a card which calls web service X.
The card contain 3 rows (A,B,C). A & B have 2 Columns each
I am populating the data {{Name}} from Web Service X in Row A Col 1. Currently it is returning 5 items so I have 5 cards.
I have a card grid in Row B Col 2. The card grid is calling web service Y which is returning 6 items.
When I try to populate the card grid with data {{Group}} from service Y I get 6 blank cards in the grid.
When I try to populate the card grid with data {{Name}} from Service X I get 6 cards in the grid with data from service X. The first card is duplicated since service X is only returning 5 items when I go through the html in the debugger.
How do I call a 2nd service inside a card that is already using a service. Is this possible?
I am attaching a picture of the card when I am using Service X to populate the card grid o give you on idea
Thanks
Varun
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This isn't possible using the Intel XDK App Designer tool. You will have to do it programmatically yourself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Varun,
You could look into chaining promises and potentially using the xdkFilter option on your service call.
https://software.intel.com/en-us/forums/intel-xdk/topic/593993
Brian
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page