[tw5] Re: List filter using the checkbox widget
@Tones I did see the select widget but was hoping for a method that takes up less space and has a slightly easier mechanic. I'll may use it, at least for now @Stobot I hadn't thought of using fields in the temp tiddler. I think I would need a method of naming and incrementing through the fields as this will change based on the source tiddler's field contents Thanks to you both for a quick reply On Thursday, August 26, 2021 at 7:19:10 AM UTC-5 Stobot wrote: > I might be proven wrong, but my experience is that it's a 1:1 relationship > between the checkbox and a storage location, there's not a way to directly > have multiple checkboxes change a list per-se. A couple of ideas though: > >- You could use the same temp tiddler and use individual fields for >your possible values, that might make it easier to collect the values for >later processing. >- There are now "checkactions" and "uncheck actions" associated with >the widget. So, if you wanted to, you could force the checkboxes to run a >listops routine to add-subtract values from a list. This would be the >closest to what your expecations are, but it might not actually be the > most >efficient. > > > On Thursday, August 26, 2021 at 8:07:40 AM UTC-4 TW Tones wrote: > >> jkm >> >> Have you looked at the select widget, it also has a multiple option. >> >> Tones >> >> On Thursday, 26 August 2021 at 21:26:28 UTC+10 jkm...@gmail.com wrote: >> >>> I am able to use the radio widget to control my list filter. Now I >>> would like to use checkboxes in a multi-select manner (e.g., include any >>> checked keywords: Info, fix, Procedure). However, I haven't seen an >>> example of this yet. My attempt >>> >>> ... >>> ''KBA Type:'' >>> <$checkbox tiddler="$:/temp/ktype" >>> value="Procedure">Procedure >>> <$checkbox tiddler="$:/temp/ktype" >>> value="Info">Info >>> <$checkbox tiddler="$:/temp/ktype" >>> value="Fix">Fix >>> >>> ... >>> <$list filter="[tag[KBA]ktype{$:/temp/ktype}]"> >>> >>> I think I expected all selected items to be handled in the same temp >>> tiddler but maybe I'm overwriting it each time I check/uncheck. Do I need >>> to create a temp tiddler for each and work out the list filter logic >>> manually in a sequence of separate runs? >>> >>> Not sure it's relevant, but I will be wanting to use this to filter on >>> values in a field. That field may contain a single string or list of >>> strings (examples: *Info *or *Fix Procedure* or *Fix Info*). >>> Ultimately I would like to derive the list of checkboxes from a field >>> within all tiddlers with a specific tag. Like a "tag" based search engine >>> except they are not TW tags, they are just tags derived from the tiddler >>> field. But, baby steps (assuming it's possible/practical). >>> >> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e0352b36-409f-43c7-80b9-fa88b813301bn%40googlegroups.com.
[tw5] List filter using the checkbox widget
I am able to use the radio widget to control my list filter. Now I would like to use checkboxes in a multi-select manner (e.g., include any checked keywords: Info, fix, Procedure). However, I haven't seen an example of this yet. My attempt ... ''KBA Type:'' <$checkbox tiddler="$:/temp/ktype" value="Procedure">Procedure <$checkbox tiddler="$:/temp/ktype" value="Info">Info <$checkbox tiddler="$:/temp/ktype" value="Fix">Fix ... <$list filter="[tag[KBA]ktype{$:/temp/ktype}]"> I think I expected all selected items to be handled in the same temp tiddler but maybe I'm overwriting it each time I check/uncheck. Do I need to create a temp tiddler for each and work out the list filter logic manually in a sequence of separate runs? Not sure it's relevant, but I will be wanting to use this to filter on values in a field. That field may contain a single string or list of strings (examples: *Info *or *Fix Procedure* or *Fix Info*). Ultimately I would like to derive the list of checkboxes from a field within all tiddlers with a specific tag. Like a "tag" based search engine except they are not TW tags, they are just tags derived from the tiddler field. But, baby steps (assuming it's possible/practical). -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5310a1e3-7a9b-46c1-8ac1-ef5027f35104n%40googlegroups.com.
[tw5] Re: Import tiddlers w/ json including custom fields
*Thank you all! *So glad I found this Group. I was able to import after quoting the numbers. @Soren Bjornstad - I searched for duplicates on a couple of them and they did not exist before the import, so I'm not sure what to make of your observation. Looking forward to utilizing your Grok TiddlyWiki book and have already shared it with the person who introduced me to TW - He was impressed. Certain appears to be a labor of love (and probably some frustration). @ Joshua Fontany - I will definitely dig into your plugin. On Wednesday, August 18, 2021 at 10:16:40 PM UTC-5 Soren Bjornstad wrote: > By the way, when I said that the example "imported correctly" for me, it > indeed did not include some of the fields...for some reason I foolishly > decided not to mention that when I imported it even though I noticed. I am > not however seeing the message jkm was where $:/Import said there were no > tiddlers to import. So I think there are two separate problems here, the > existence of duplicate tiddlers *and* some of the fields not being > strings. > > On Wednesday, August 18, 2021 at 6:46:35 PM UTC-5 TW Tones wrote: > >> I can totally recommend Joshua's JSON mangler in cases likele this and >> csv. >> >> >> >> On Thursday, 19 August 2021 at 04:22:26 UTC+10 jkm...@gmail.com wrote: >> >>> New member here. Windows, TiddlyDesktop v0.0.14, TW 5.1.23 >>> >>> I'm able to import tiddlers from json with the title and text fields. >>> But when I try to do it with a custom field the import tiddler shows no >>> items to import. All my custom fields begin with *kba* and some >>> additional alphanumeric characters. The json is valid according to >>> jsonchecker.com. Is this permitted? Do I need to enable a feature or >>> preconfigure a system component? I've done a few searches in the group but >>> didn't see anything that applied. All help is appreciated. >>> >>> Imports: >>> [ >>> { >>> "title": "19464", >>> "text": "How to change the default root password" >>> }, >>> { >>> "title": "20508", >>> "text": "Best Practices" >>> } >>> ] >>> >>> Doesn't import: >>> [ >>> { >>> "title": "19464", >>> "text": "How to change the default root password", >>> "kbalink": " https://www.someplace.net/ 19464", >>> "kbarating": 3, >>> "kbasev": 0, >>> "kbasource": "LKBA", >>> "kbastale": 0, >>> "kbatweak": "", >>> "kbatype": "How To" >>> }, >>> { >>> "title": "20508", >>> "text": "Best Practices", >>> "kbalink": "https://www.someplace.net/20508;, >>> "kbarating": 5, >>> "kbasev": 0, >>> "kbasource": "LKBA", >>> "kbastale": 0, >>> "kbatweak": "", >>> "kbatype": "Info" >>> } >>> ] >>> >> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2519a9f2-d764-4f18-afb4-2a18b3e77f1bn%40googlegroups.com.
[tw5] Import tiddlers w/ json including custom fields
New member here. Windows, TiddlyDesktop v0.0.14, TW 5.1.23 I'm able to import tiddlers from json with the title and text fields. But when I try to do it with a custom field the import tiddler shows no items to import. All my custom fields begin with *kba* and some additional alphanumeric characters. The json is valid according to jsonchecker.com. Is this permitted? Do I need to enable a feature or preconfigure a system component? I've done a few searches in the group but didn't see anything that applied. All help is appreciated. Imports: [ { "title": "19464", "text": "How to change the default root password" }, { "title": "20508", "text": "Best Practices" } ] Doesn't import: [ { "title": "19464", "text": "How to change the default root password", "kbalink": " https://www.someplace.net/ 19464", "kbarating": 3, "kbasev": 0, "kbasource": "LKBA", "kbastale": 0, "kbatweak": "", "kbatype": "How To" }, { "title": "20508", "text": "Best Practices", "kbalink": "https://www.someplace.net/20508;, "kbarating": 5, "kbasev": 0, "kbasource": "LKBA", "kbastale": 0, "kbatweak": "", "kbatype": "Info" } ] -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c56b17df-130d-4e4b-aa9b-e213a3d86e57n%40googlegroups.com.