Software Archive
Read-only legacy content
17061 Discussions

Linking Web Services

Manu_M_
Beginner
790 Views

Hi,

 

I have a page called "Categories" with an image that is linked with the Web Service of Youtube "listPlaylists", and it works fine.

And in other page called "Videos" I have a control of Youtube that show a list of video's Youtube that are linked with another Web Service of Youtube, but this time is a listPlaylistItems. To create it, I must to indicate the ID of the playlist, but I don't want it, I want that when I click on the image of the "Categories" page, save the ID of this playlist and show me all the videos of this playlist in the "Videos" page.

Does anyone know how I could do it?

Thank you

0 Kudos
3 Replies
Envidea_M_
Beginner
790 Views

I have similar problem, I don't know how link Web Services

Does anyone know how to fix it?

0 Kudos
Chris_P_Intel
Employee
790 Views

Are yo using App Designer? Have you seen this video? 

https://software.intel.com/en-us/videos/interlinking-services-and-ui-controls

If I understand correctly, you have a web service that is generating an array of data, you want the user to select something, and then you want another web service request to happen based on that data.  

So make both service bindings. You'll see both in App Designer.  Add a list item and drive it from your array data. Then, drag the list view _back_ to the other service method. You'll see that the "values" are the same as the fields of the first service. So put the appropriate tag into the other service call.  Does that make sense? 

 

0 Kudos
Manu_M_
Beginner
790 Views

Thanks to reply, Chris

Yes, I saw this videos, and I did this, but in my project I don't use list view, and doesn't work this method.

I want to link a list of "graphic buttons" (or an image with link) (its a list of Youtube's playlist) and when I click on it, goes to another page with a list of videos into youtube's "video control" with the videos of the playlist clicked. I know created it separately, but I don't know how to catch the playlist id to link in the second web service :(

0 Kudos
Reply