Aug 29, 2023 09:10 AM
I tried copying a script from the extensions section and using it in a script for an automation.
Safe to say it did not work and gave me multiple errors.
What would be the easiest way to transfer the code from one to another? @kuovonne
Script:
Aug 29, 2023 09:30 AM
You can check out this article I wrote about converting a script from scripting extension to an automation script. It is part of various resources that I am publishing here.
On the other hand, why are you using an automation script to put attachment urls into a field? The attachment urls will expire in a few hours so there is no point in keeping them.
Aug 29, 2023 09:38 AM
Is there a work-around to these attachments having to expire?
If I were to provide a static table to a team member, the attachment URL would only be active for a few hours before changing. As it stands the script that I was running as an extension was converting an attachment to a URL, and after further consideration I am looking for a way to create a static URL. Is this possible?