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
Hi,
It's possible to know the name of the master in running ?
Which service can I use, if you give up?
Bye
Giuseppe
Solved! Go to Solution.
Hi Giuseppe
You can add up a Expression widget that returns a String on your Mashup and add this Expression to it:
(location.href.split("&")[0].split("=")[1])
This will give you your master mashup name.
Best Regards,
Carle.s
Hello, Giuseppe.
Can you provide a bit more information here? I want to make sure I understand what you mean by 'master' here.
Thank you,
-- Craig A.
hi, Craig
I need a service that returns the name of master in use, but I did not find a function in the snippets that could return that result.
You cannot get the binding programmatically; the only way I can think of, out of the box, is to look at the URL query as described in my past reply.
You could generally look at your URL query to see the name of the master mashup:
Hi Giuseppe
You can add up a Expression widget that returns a String on your Mashup and add this Expression to it:
(location.href.split("&")[0].split("=")[1])
This will give you your master mashup name.
Best Regards,
Carle.s
Hi Carles,
Thanks, it works perfectly, great solution ......
Best Regards,
Giuseppe F