Skip to main content
Participating Frequently
Nov 14, 2023 5:56 AM UTC
Question

How to update by clicking link

We have a requirement that when clicking a link, will start file download, at the meantime, we need to do some data update.

Can anyone advice how to achieve this?

    7 replies

    stefanhelzle0001
    Brainy
    Nov 14, 2023 7:50 AM UTC

    Appian does not directly support this "requirement". I put the word in quotes because IMHO, the real requirement is the file download and data update, but not the link.

    The Appian UX design guide advices to use links for navigation and buttons for taking action.

    stewart.burchell
    Employee
    Nov 14, 2023 10:16 AM UTC

    So not exactly as you describe. But you could run a process that sends the file to an email address and then does the data update.

    Why are the two requirements linked? What is it about the file download that is inextricably linked with the need to update some data?

    Participating Frequently
    Nov 14, 2023 11:23 AM UTC

    we want to record user download action, change the status in DB accordingly

    stewart.burchell
    Employee
    Nov 14, 2023 11:28 AM UTC

    Download action is already logged in the logs. Where are you intending using this information? Who needs to see it? When? Why?