Skip to main content
1-Visitor
July 19, 2018
Solved

Get studio id from a button after click

  • July 19, 2018
  • 1 reply
  • 1098 views

Hey there, 

 

I need a little script to get the studio-id from the button after or when I click them. I tried it first with an AngularJS script, but failed: 

 

alert(event.target.id);

Does anyone have an idea?

Best answer by dupatel

You can refer the discussion on other thread and suggestion provided -

https://community.ptc.com/t5/Studio/How-to-get-Studio-ID-of-a-widget/m-p/554743

 

-Durgesh

1 reply

dupatel5-Regular MemberAnswer
5-Regular Member
July 19, 2018

You can refer the discussion on other thread and suggestion provided -

https://community.ptc.com/t5/Studio/How-to-get-Studio-ID-of-a-widget/m-p/554743

 

-Durgesh