Attribute value from Link to entry field

108 views
Skip to first unread message

Nikola Kraljić

unread,
May 19, 2026, 12:30:54 PMMay 19
to mementodatabase
Hi, I have libraries Inventory and Inventory transactions. In library Inventory transactions I have Many-to-many Link to entry field to Inventory with Attribute Quantity (Integer). How can I reach to thatattribute Quantity value? I cannot do it with Javascript. 

Idea is to have On stock quantity calculation in library Inventory because I have multiple items by every transaction. 

TIA

Flaviano

unread,
May 19, 2026, 3:53:36 PMMay 19
to Nikola Kraljić, mementodatabase

--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mementodatabase/ff6f1c66-ed5b-4292-97a1-c6ee1cceb00dn%40googlegroups.com.

Mmm

unread,
May 19, 2026, 4:18:53 PMMay 19
to mementodatabase
Простой вариант решения с полями JS.
Шаблон с примером в каталоге шаблонов:

вторник, 19 мая 2026 г. в 22:53:36 UTC+3, fmo...@gmail.com:
IC__19052026.jpg

Flaviano

unread,
May 20, 2026, 10:17:40 AMMay 20
to Mmm, mementodatabase
Your template suggestion (https://mementodb.com/t/6017616642834432) was very helpful, thank you Mmm.

Nikola Kraljić

unread,
May 20, 2026, 10:36:55 AMMay 20
to mementodatabase
https://wiki.mementodatabase.com/scripting/Spec_Memento_JavaScript_Library.html#entries

Here is all info I neede, couldn't find it before. Copilot AI using this scripts did everything perfect. Only keep in mind to give needed permissions.

Reply all
Reply to author
Forward
0 new messages