I’m trying to create a custom command to set a task to be scheduled today. Tried making a plugin using the logseq.Editor.upsertBlockPropertycommand, but got the “Plugins can only upsert its own properties” error. I couldn’t find any dedicated API for the tasks. Is this possible at all?
(DB version 2026-04-16)
Can you share the example you have?
Something like this should work:
await logseq.Editor.upsertBlockProperty(
block.uuid,
'logseq.property/scheduled',
today.getTime()
)
That worked, thank you! For some reason AI used the :logseq.task/scheduled property :(. Not sure where it got that from.