Page 1 of 1

Script to backup template?

Posted: Thu Dec 26, 2019 10:07 pm
by Wern-YuenTan
Is there a simple script to backup an entire template?

Re: Script to backup template?

Posted: Sat Dec 28, 2019 4:25 pm
by F43nd1r
Can't you just copy the template file somewhere?

Re: Script to backup template?

Posted: Sat Dec 28, 2019 11:32 pm
by Wern-YuenTan
F43nd1r wrote:
Sat Dec 28, 2019 4:25 pm
Can't you just copy the template file somewhere?
Not sure how that would work?
I make frequent changes to my template and would like to clicking on a shortcut or use a gesture to programmatically save my backups into the same template file (rather than go into the lighting menu to click on the backup function).

Re: Script to backup template?

Posted: Sat Jan 04, 2020 7:16 am
by Wern-YuenTan
@F43nd1r I found on github your Multitool script: https://github.com/F43nd1r/Multitool/tr ... ool/backup

Can some of this be used in LL script editor to create a backup action that can be triggered via a LL script?

Re: Script to backup template?

Posted: Tue Jan 07, 2020 1:20 pm
by F43nd1r
Can some of this be used in LL script editor to create a backup action that can be triggered via a LL script?
Technically yes, but you'd have to reimplement everything in javascript (lightning scripting only accepts js, while my app is in kotlin).