Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I've created a thing based on a generic thing and added a service to ShowLocationOnOpenStreetMap. The service has output type: Location. On my mashup i have a tree view, the SelectedBreadcrumb property of the tree is used as an input to my service. I call the service on the DoubleClicked event of the tree view. My tree view contains things that are based on three different thing templates: TNetwork, TPrimary & TAssetsList - each of which have a property defined as 'Location'. I then want to set the returned data of the service to the SelectedLocation property of my OpenStreetMap.
When i test the service in design time the results come back as expected. But, in runtime, the location is only shown when i double click the Two tree elements where the thing template is TNetwork. Has anyone got any advice?
Solved! Go to Solution.
Hi,
the problem is, when an item of a sublevel is selected, the value returned is "[level 1] > [level 2] > [level 3]" which doesn't work anymore with your service. You can bind the SelectedBreadcrumb to a textbox to see.
Hi,
the problem is, when an item of a sublevel is selected, the value returned is "[level 1] > [level 2] > [level 3]" which doesn't work anymore with your service. You can bind the SelectedBreadcrumb to a textbox to see.