Trouble Binding a Mashup Name to "TargetMashup" property on Navigation Function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Trouble Binding a Mashup Name to "TargetMashup" property on Navigation Function
Here is the situation:
- I'm using a collection widget which displays a group of mashups for the user to select between (collection because different users will have different options)
- The repeated mashup in the collection contains the mashup name (in text) and a button to "navigate" to that mashup. This button triggers a Navigation function on the contained mashup.
- The contained mashup has a mashup parameter for the Mashup Name to navigate to, and I've bound that parameter to the "TargetMashup" property in the navigation function.
- Clicking the button in the contained mashup of the collection is not sending me to the navigated page.
What I've checked so far:
- Mashup trace is showing the Navigation function as "ServiceInvoked" but it is never completed. (screenshot attached showing the only two lines in mashup trace after clicking the button to navigate)
- I've bound the Mashup Name mashup parameter to the "MissingMashupMessage" property of the Navigation function, and the mashup name appears in the message, so I know the parameter is there, and is being bound to the Navigation function - it just isn't being recognized as the TargetMashup. (the screenshot attached shows the bindings to both properties, but removing it from the missingmashupmessage does not effect the result...)
- Yes, the mashup names being passed match EXACTLY to existing mashups.
Is this a defect/bug? Am I missing a step? Any and all help is appreciated!
Solved! Go to Solution.
- Labels:
-
Mashup-Widget
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Eric,
This may not be ideal, but have you considered using the link widget instead?
Perhaps you can add a 'mashupURL' parameter to your contained mashup, and bind it to the link widget's LinkURL property. You can then hide this widget, and then bind the click event of your button to the Navigate service of the link widget. I have a feeling that this might be a good workaround.
Let me know if you are able to get it to work!
Regards,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Eric,
This may not be ideal, but have you considered using the link widget instead?
Perhaps you can add a 'mashupURL' parameter to your contained mashup, and bind it to the link widget's LinkURL property. You can then hide this widget, and then bind the click event of your button to the Navigate service of the link widget. I have a feeling that this might be a good workaround.
Let me know if you are able to get it to work!
Regards,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, Andrew - this is a good workaround. The link widget is working to do the same.
Would still love if the "TargetMashup" property worked on the Navigation function...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Glad to hear it's working! I've had the same issue as you in the past, so I'm hoping someone else knows why the TargetMashup property isn't working on the navigation function.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Sharon!
Appreciate the update.
Regards,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
when is the planned release date of 8.5.5 and was the Issue adressed?
For me it is very important for many projects.
I have only two possibilities ... wait for the update, if the bug was addressed or dont use thingworx for the projects.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @bot1q.
ThingWorx 8.5.5 is targeted for release in late April. That date, however, is subject to change.
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @eribbeck.
If you feel your question has now been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon
