Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Search → Search by Attribute
AI-generatedSummary
Search for blocks in SiYuan that have a specific attribute name whose value partially matches the provided string.
Inputs
- Attribute Name (required) — The name of the attribute to search for (e.g.,
custom-status,memo,alias). - Attribute Value (required) — The attribute value to match, supporting partial matches.
Output shape
a list of blocks matching the attribute name and value criteria, ordered by the last updated timestamp descending
Each returned block includes all its data fields from the SiYuan database. The search performs a SQL query joining blocks and attributes to filter on attribute name equality and value LIKE pattern with the given partial match value.
Examples
Example 1: Find all blocks tagged with a custom status of 'in-progress'
Set Attribute Name to 'custom-status' and Attribute Value to 'in-progress'.