cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to Know the name of Master in Running ?

Giuseppe_Fiore
15-Moonstone

How to Know the name of Master in Running ?

Hi,

It's possible to know the name of the master in running ?

Which service can I use, if you give up?


Bye

Giuseppe

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

6 REPLIES 6

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

Top Tags