Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi all,
i need to distinguish the activities on a service depending on the widget (id,DisplayName,...) that call it.
Many Thanks
BR
Dimitri
Hi Dimitri,
I am not sure what you mean by that. Do you want to know when you call a service from a widget like "clicked" on a button?
Or do you want to track when services are called from widgets?
Thanks,
Daniel
Hi Daniel,
sorry for my delay.
The question is not when but who.
I'm using for a different button the same service. Is it possible, inside the service, know who called it (display name or label of the button)?
Many Thanks
BR
Dimitri
Hi Dimitri,
You can use contextID for a button widget. When you set the "ContextId" for buttons and pass it to services as a parameter, the service can know who called it.
Regards,
Daniel