Clicking on linkfield to open URL and also save Auditing data into database

Certified Associate Developer

In our project, we have a requirement to audit the link clicks from Appian Page.

We would like to store the user, datatime, link Clicked etc. information in a database table and also same time open the URL.

 OR

If Google Analytics link tracking can be used here? If anyone used it?
support.google.com/.../1136920

 

=a!linkField(
  label: "Links",
  links: a!safeLink(
    label: "Company web site",
    uri: "http://www.appian.com"
  )
)

I do not see any option to make DB call to save to database?


  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I don't believe it will be possible to do this within one link click - as you can see the safeLink control doesn't provide any saveInto capability. My idea would be perhaps require 2 clicks - the first click would be to show the link (in which you could perform whatever saveInto you like), and then after the user clicks that first link to expose the actual link, they can click the safeLink.
Reply
  • 0
    Certified Lead Developer
    I don't believe it will be possible to do this within one link click - as you can see the safeLink control doesn't provide any saveInto capability. My idea would be perhaps require 2 clicks - the first click would be to show the link (in which you could perform whatever saveInto you like), and then after the user clicks that first link to expose the actual link, they can click the safeLink.
Children