Auto Syncing

125 views
Skip to first unread message

quintas...@gmail.com

unread,
Apr 28, 2025, 7:52:34 AM4/28/25
to mementodatabase
Hi All

Is it possible to have the Android App autosync without opening the library?

David Gilmore

unread,
Apr 28, 2025, 12:42:51 PM4/28/25
to mementodatabase
You can create an Entry trigger based on time of day. Inside the trigger, change a value of a field (even if just to it's current value, i.e. e.set("field name", e.field("field name"));
That field change should then cause that Memento library to automatically sync with the cloud.

Or are you thinking of another type of sync?

quintas...@gmail.com

unread,
Apr 29, 2025, 2:12:51 AM4/29/25
to mementodatabase
Hi

I probably should have elaborated a bit more. I have two libraries "Arrivals" and "Handovers", Handovers autofills data from arrivals but what is happening is if you open handovers and try to type the key field in to pull the data over it will not find it unless i refresh the Arrivals library first. I wanted the arrivals library to refresh automatically.

Mmm

unread,
Apr 29, 2025, 4:55:19 AM4/29/25
to mementodatabase
Насколько я знаю, запустить скриптом синхронизацию конкретной библиотеки в облаке нельзя, только открыть эту библиотеку. 

Добавьте в "Handovers" триггер открытие библиотеки перед открытием:

let lbn = libByName("Arrivals");
lbn.show();

При любом открытии библиотеки "Handovers" сначала откроется "Arrivals" и выполнит синхронизацию. 

Дополнение:
Можно синхронизировать все библиотеки одной кнопкой. 
>>> Added ability to sync all libraries with the cloud with one button. Where: Libraries list > 3-dot menu > Quick tools.

Скриптом можно синхронизировать библиотеку с Google Sheet. 
>>> JavaScript: Added method syncGoogleSheet() to the Library object to run synchronization with Google Sheet.

Возможно есть подобный метод для синхронизации с облаком, я не знаю

вторник, 29 апреля 2025 г. в 09:12:51 UTC+3, quintas...@gmail.com:

David Gilmore

unread,
Apr 29, 2025, 12:51:04 PM4/29/25
to mementodatabase
You don't say where these libraries are kept, and how they are being opened (i.e cloud based opened on a phone). If they are in the cloud, the Mmm's solution is good.
Message has been deleted

quintas...@gmail.com

unread,
May 1, 2025, 6:11:10 AM5/1/25
to mementodatabase
Hi All got this working now i have a new issue so ill start a new thread thanks for the help.
Reply all
Reply to author
Forward
0 new messages