Skip to main content
1-Visitor
March 30, 2017
Solved

location as mashup parameter

  • March 30, 2017
  • 1 reply
  • 6126 views

hello

I'm using a navigation button to navigate to another mashup with 2 types of parmeter

- one type number

- one type location

I have no problem to get the number in the new mashup but not the location (to test I pass it to a GooglePicker widget)

I noticed a strange URL for location parameter, I don't know if my problem is linked :

MeteoMashup&PositionMeteo=%7B%22latitude%22%3A48.81944444444444%2C%22longitude%22%3A1.8883333333333334%2C%22elevation%22%3A0%2C%22units%22%3A%22WGS84%22%7D&value=15.7

Best answer by qngo

Hi, I tried and had the same problem, the location from the tooltip mashup is not passed to the new mashup and the URL appears as you said.

About the navigation widget, when I set the property TargetWindow to something else than "New", as Replace / Popup / Modal Popup / Full screen, it works !

It's a bug I think.

1 reply

20-Turquoise
March 30, 2017

Could you please provide the details or your mashup entity to demonstrate your bindings/logic?

Have you tried passing through session variable (just as an alternative solution, if the mashup parameter problem confirms to be a bug - it needs to be fixed).

20-Turquoise
March 30, 2017

I have just confirmed that my parameters with location type are also passing properly via a regular mashup parameter method.

pjoly1-VisitorAuthor
1-Visitor
March 30, 2017

hello

thanks a lot for your time and  tests.

Do you have also a "strange" URL in your mashup URL for location parameter (but I think you tested with a popup so you cannot see) ?

My logic is in 3 steps and 3 mashups  and perhaps it can create the issue

1/ I have a first mashup with a google map widget in which I put my things (markers) using GetImplementingThingsWithData

2/ this widget has a popup (tooltip)  mashup when I put the mouse on a marker with some parameters (including the ThingName) and in this popup (tooltip) mashup I have a navigation button to open a new mashup (meteo)  as a new page. I get the location with GetProperties under a DynamicThingTemplate (and I fill some other widgets correctly with this method)

3/ This new mashup as a location as parameter and a value; value is OK, location not ....

Hope it is clear (this is a 3 steps tests with mashup parameters transmitted each time)