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

Click event on widget Linkn

SOLVED
Regular Member

Click event on widget Linkn

Hello, I need to transfer some data to a session parameter when I click on a link. How can I perform that?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Click event on widget Linkn

The Link widget doesn't have en event Clicked to bind out. You could use a Button widget with the Link widget (set to invisible in this case). When the user click on the button, execute the service SetGlobalSession..., then call the service Navigate of the Link widget.

View solution in original post

7 REPLIES 7

Re: Click event on widget Linkn

Hi Elie, have you already reviewed the default services available under Resources > Current Session Info

Are they not sufficient for your use case? If not, could you please expand on that use case.

Re: Click event on widget Linkn

Hi Sushant, the problem is more about having an event on a link widget or something like that. Let's say I click on a link widget, how can I trigger one of those function?

Re: Click event on widget Linkn

Did you try the Event trigger directly on the service setting the global session values, I haven't yet finished testing it yet but you can check if this helps

Re: Click event on widget Linkn

Thanks for your answer, I'd like to do it the other way:

First you click on the link,

Then put the mashup name (or pass the parameter) to the new mashup.

Re: Click event on widget Linkn

Sorry I kind of not explained there, so what I basically did is used a Link widget and then i am configuring the event triggers on the service which is getting invoked as Link is clicked. So it kind of follows the same chronological order as your requirement, isn't it? Or have i still got it wrong?

I'll try finish testing this out and come back.

Re: Click event on widget Linkn

The Link widget doesn't have en event Clicked to bind out. You could use a Button widget with the Link widget (set to invisible in this case). When the user click on the button, execute the service SetGlobalSession..., then call the service Navigate of the Link widget.

View solution in original post

Re: Click event on widget Linkn

Thank you that was what I was doing till now, I wanted something cleaner but it seems there isn't yet.

Thanks for your answers !

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________