Skip to main content
5-Regular Member
April 18, 2017
Solved

Click event on widget Linkn

  • April 18, 2017
  • 7 replies
  • 4533 views

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

Best answer by qngo

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.

7 replies

5-Regular Member
April 18, 2017

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.

emadar5-Regular MemberAuthor
5-Regular Member
April 18, 2017

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?

5-Regular Member
April 18, 2017

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

qngo1-VisitorAnswer
1-Visitor
April 18, 2017

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.

emadar5-Regular MemberAuthor
5-Regular Member
April 19, 2017

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 !