Saq,

Thank you for your email and comments.

The issue of one-to-many links is replicated in other relationships and so the 
issue still need to be resolved. Also, in the case of a print, there is more 
than one buyer of an artwork and thus we need the search facility.

The issue of the macrocall has been addressed through the wikify statement but 
now that I have the basics of the macro working may revert back to using a 
macrocall instead of the <<..>> syntax.

As for different unique ID codes, I have considered this and may convert. 
However it will not make much difference to the user as the detailed display of 
any tiddler will make it immediately obvious what type of content is being 
displayed, artwork, person, consignment, exhibition, etc.

Bobj

---------------
Dr Bob Jansen
The Cultural Conversations project 
Turtle Lane Studios Pty Ltd trading as the Australian Centre for Oral History
122 Cameron St, Rockdale NSW 2216, Australia 
Ph (Korea): +82 10-4494-0328 
Ph (Australia) +61 414 297 448 
Resume: http://au.linkedin.com/in/bobjan 
Skype: bobjtls 
KakaoTalk: bobjtls 
http://www.cultconv.com 

 In line with the Australian anti-spam legislation, if you wish to receive no 
further email from me, please send me an email with the subject "No Spam"

> On 17 Sep 2020, at 18:19, Saq Imtiaz <[email protected]> wrote:
> 
> Hi Bob,
> 
> A few things to consider here.
> 
> Firstly, when you want to pass an indirect parameter (via text reference) to 
> a macro, you cannot use the form:
> <<is_purchased_by {{!!artwork_id}} >>
> 
> Instead, you need to use the macrocall widget:
> <$macrocall $name="is_purchased_by" artWorkID={{!!artwork_id}} />
> 
> Please see https://tiddlywiki.com/#MacroCallWidget for details.
> 
> Also, I think you will have an easier time of it if you have a field "buyer" 
> in all the artwork tiddlers which contains an ID for the buyer, and the 
> tiddlers describing buyers have their ID stored in a field "person_id". 
> 
> Then in a Person tiddler to see all the artwork they have bought:
> <$list filter="[buyer{!!person_id}]">
> <$view field="artwork_title"/>
> </$list>
> 
> And in an artwork tiddler to see the buyer's name:
> <$text text={{{ [ person_id{!!buyer}get[person_name] }}} />
> 
> This should be easier than dealing with a field in artwork_id field in buyers 
> that is supposed to contain multiple values (which I assume is the current 
> structure).
> 
> Lastly, it might be worth considering to have different name prefixes for 
> tiddlers describing People and Art, e.g. Person P1 and Artwork TK1. The idea 
> being to be able to distinguish at a glance from the title if we are looking 
> at a tiddler describing a person or an artwork.
> 
> Hope this helps,
> Saq
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/cOSbp3Km6KU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/32647120-52ab-40f9-b001-5c50bc97e9d5o%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/DC96A531-0DA0-4A6B-A39C-55A232EE2CAD%40gmail.com.

Reply via email to