Skip to main content
1-Visitor
April 3, 2017
Question

Can I get the ID of a gadget or popup as result of service?

  • April 3, 2017
  • 1 reply
  • 1362 views

Is it possible to identify a gadget or a popup and get the ID as result of a service?

It is also fine the HTML id.
I tried the jquery function .attr('id') but it doesn't work inside the service (or maybe I used it wrong).

What I want to know is, if I put three times the same gadget inside the dashboard, is there a way to identify each one with a different ID?

1 reply

22-Sapphire I
April 3, 2017

I think you might be able to somehow get it with the Expression Widget and then pass that into a service.

fmanniti1-VisitorAuthor
1-Visitor
April 4, 2017

Yes the expression widget is the one I was trying but I don't know how to get it as output