I’m exploring the possibility that I can dynamically update the priority of tasks (using tags), but the tag will be generated by dataview.
I have a due date which I compare to today’s date. If the due date is less than 7 days away, I give a variable pTag a value of “#high”, and similar for “#medium” and “#low”. This is all working within my DataviewJS codeblock (I get correct values for pTag when console.log).
My problem is that I cannot seem to access the value of pTag in an inline dataview (either $=... or =....
Am I completely insane or is there no way to get the value from the codeblock outside of the codeblock?
Help (if I had hair, I’d be pulling it out)
Thanks