Skip to main content
12-Amethyst
August 16, 2017
Question

Problem using SelectedRow(s) when property is an Infotable.

  • August 16, 2017
  • 2 replies
  • 3106 views

Hi,

I have a mashup which  contains a grid. In the grid i am loading data from an infotable property. When i double click the grid i want to navigate to another mashup and pass a parameter. The parameter is one of the grid fields. I think this can be achieved by drilling down into the SelectedRow(s) of the Returned Data ​and then drilling down further to the SelectedRow(s) ​of the infotable property and then dragging my required property into the corresponding parameter of the navigation widget.

OPENSTEETMAP QUERY.PNG

If this data is loaded to the navigation widget parameter on the selection of a row, the double click event of the grid should navigate to the new mashup with the appropriate parameter. At the moment i cannot see any data being loaded when i make a grid selected. I have tried to view the ​AssetName ​using a textbox widget to prove the concept. I can achieve my requirements when i manually insert a parameter into the the navigation widget but the overall requirement is to use the grid. Can anyone assist?

Regards,

Andy

2 replies

aseaton12-AmethystAuthor
12-Amethyst
August 16, 2017

Selected rows of an infotable property.PNG

aseaton12-AmethystAuthor
12-Amethyst
August 16, 2017

Carles Coll​ Please help!

17-Peridot
August 16, 2017

Hi Andrew,

you can use "Mashup parameter" to pass data to the "Navigation" mashup.

You can try this: Re: How to pass parent mashup's parameters to contained mashup?

Regards,

Tarun

aseaton12-AmethystAuthor
12-Amethyst
August 16, 2017

Hi Tarun,

Thanks for your response. This is what i am doing at the moment - the problem is that no data is coming from the ​AssetName ​field from the SelectedRow(s) ​of the infotable property.

regards,

Andy

17-Peridot
August 16, 2017

Please check:

1. Things_LPN : Properties are linked,if any ThingShape is used.

2. Try testing"GetPropertyValues" service directly from Things_LPN and check it returns some output.


As you said,you are not getting data from service then you need to debug that service script to get the required infotable output.