Renovation
Search…
Link Field Custom Queries
You can modify the behavior of Link fields using the query-options

Basic Usage

You can specify a custom python function using the query if you need fine control over the results.
1
core.ui.setLinkQueryOptions("Item", "item_price", {
2
// optional custom query
3
query: "my_app.custom_item_price_link",
4
5
// custom filters
6
filters: (core, doc) => {
7
return {
8
item: doc.name
9
}
10
}
11
});
Copied!
Copy link