0

trigger to understand if there's an attached file

There is a way to to write a trigger that understand if there is an attached file to a determinated entry?

Something like:

if there are attached to that entry -> do this

7 replies

null
    • Alexander_Koenig
    • 5 yrs ago
    • Reported - view

    Hi, with files(this) you can check if there is an entry.

    Best regards, Alex

    • Yuri
    • 5 yrs ago
    • Reported - view

    Hi Alex, Can you make an example?

    • Support
    • 5 yrs ago
    • Reported - view

    Hi Yuri, 

    You could use it like this: 

    if concat(files(this)) then
    "There are attachments"
    else
    "No attachments"
    end

    Best, Jörg

    • Yuri
    • 5 yrs ago
    • Reported - view

    Thank You Jörg,

    in the next step I figure that there is a way to populate a subtable o a view with all attached of another table or a couple of that.

    Can You write something?

    • Support
    • 5 yrs ago
    • Reported - view

    Hi Yuri, 

    We would like to understand your enquiry better. Could you please explain your issue a little bit more detailed? May be you can send us a screen shot. 

    What do you want to achieve / What do you want to have as the result? 

    That would probably help us to give you a better support.

    Thank you for your cooperation.

    Best, Jörg

    • Yuri
    • 5 yrs ago
    • Reported - view

    Hi Jörg,

    below you can see something similar to what I wanna achieve..

    Basically, I want to keep a list of all files attached in certain tables..and I think it's possible to do with a new table or a view

    • Support
    • 5 yrs ago
    • Reported - view

    Hi Yuri, 

    That would be a very good idea to present in our webinar, because it would possibly be interesting for other useres.

    If you would join the webinar tomorrow and raise the question there, that would be great. 

    You can register for the webinar vial the followin link: 

    https://zoom.us/webinar/register/WN_zoSk2qyNSz6vLRFF1zlakg

    Thank you very much.

    Best, Jörg

Content aside

  • 5 yrs agoLast active
  • 7Replies
  • 2136Views