Added to TW-Scripts This is a better solution as it gives all types of fields!
--Mohammad On Wednesday, January 8, 2020 at 5:14:09 AM UTC+3:30, TonyM wrote: > > Mohammad, > > I continue to develop this > > $:/macros/globalFields > <http://192.168.1.81/Development/!SandboxWikis/fields.html#%24%3A%2Fmacros%2FglobalFields> > > \define standardFields() {{$:/config/standardFields}} > \define otherCoreFields() {{$:/config/otherCoreFields}} > \define hiddenFields() {{$:/config/hiddenFields}} <!-- system fields with > visibility hide (dynamic) --> > \define systemFields() {{$:/config/standardFields}} > {{$:/config/otherCoreFields}} > > > $:/config/standardFields > > > <http://192.168.1.81/Development/!SandboxWikis/fields.html#%24%3A%2Fmacros%2FglobalFields> > > title text modified modifier created creator tags type list caption > > > <http://192.168.1.81/Development/!SandboxWikis/fields.html#%24%3A%2Fmacros%2FglobalFields> > > > $:/config/otherCoreFields > > class color description draft.of draft.title footer hide-body icon library > list-after list-before name plugin-priority plugin-type source subtitle > toc-link > > > $:/config/hiddenFields > > {{{ > [all[]prefix[$:/config/EditTemplateFields/Visibility/]text[hide]removeprefix[$:/config/EditTemplateFields/Visibility/]] > }}} > > > > Regards > Tony > > On Wednesday, January 8, 2020 at 10:10:23 AM UTC+11, TonyM wrote: >> >> Mohammad, >> >> Do it however you want, but I think this is a global variable worthy of >> definition. In Which case a tiddler >> $:/config/systemFields containing "text title modified modifier color >> tags list etc.." See https://tiddlywiki.com/#TiddlerFields for the full >> list >> and a Global macro $:/macros/global tagged $:/tags/Macro containing >> \define systemFields() {{$:/config/systemFields}} >> Would provide both a tiddler and variable >> >> {{$:/config/systemFields}} >> <<systemFields>> >> >> I have being planning this for a while, So I will do it now and shareback. >> >> I have a few more ideas to add >> >> Regards >> Tony >> >> >> On Wednesday, January 8, 2020 at 12:06:25 AM UTC+11, Mohammad wrote: >>> >>> @Jeremy >>> Many thanks for clarification. >>> >>> @Tony >>> I have created a tiddler *$:/plugins/kookma/commander/config/systemTags* >>> with below value >>> title tags text created creator modified modifier color bag revision >>> caption >>> >>> and use it like >>> -[subfilter{$:/plugins/kookma/commander/config/systemTags}] >>> >>> >>> --Mohammad >>> >>> On Tuesday, January 7, 2020 at 12:15:03 PM UTC+3:30, Jeremy Ruston wrote: >>>> >>>> Hi Mohammad >>>> >>>> Is there any way to distinguish between user field and system field? >>>> >>>> >>>> No. But the set of system fields is essentially fixed and so can be >>>> hard coded something like this: >>>> >>>> <$list filter="[tag[x]fields[]] -text -title -modified -modifier -color >>>> -tags -list> >>>> >>>> </$list> >>>> >>>> Best wishes >>>> >>>> Jeremy. >>>> >>>> >>>> >>>> Assume you have several tiddlers tagged with x and have fields >>>> >>>> >>>> - system fields like: title, tags, type, text, ... >>>> - user fields like: myfield, yourfield, ... [those created by user >>>> NOT Tiddlywiki >>>> >>>> >>>> And then >>>> >>>> <$list filter="[tag[x]fields[*system*]]> >>>> >>>> >>>> </$list> >>>> >>>> >>>> or >>>> >>>> <$list filter="[tag[x]fields[*user*]]> >>>> >>>> >>>> </$list> >>>> >>>> >>>> or something similar? fields:system[]? >>>> >>>> --Mohammad >>>> >>>> -- >>>> 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/405eca5e-08c8-4339-b0b5-4634eef32b08%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywiki/405eca5e-08c8-4339-b0b5-4634eef32b08%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> >>>> -- 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/d3c5ebf7-6665-4f18-84da-ed8548108001%40googlegroups.com.

