On Wednesday, December 16, 2020 at 4:16:46 PM UTC-8 wrote:
> > The text file is simple enough to find records using splitregexp[/n] . > However, I know this particular file has a unique key for each record. I am > able to convert the file using .Net into a json file describing a > DataTiddler that I can import. This way I can reference each record by its > primary key. If there was a way to auto-number the list entries and persist > them to a DataTiddler, this would be close enough for me to selectively > process the records further without having to re-split the original list > over and over. > > I'm confused. If you've made your text file into an importable JSON file, and if each record has a primary key, why do you need to add an index? You're adding an index to something that already has an index. There's the temptation when you first using TW to perceive data dictionaries/DataTiddlers as the primary method of data storage and manipulation because that is what they would be in other technologies. But in TW, the DataTiddlers are there more as a convenience tool. They are very limited. The basic data entity in TW is the *tiddler*. There are lots of filter operators and widgets dealing with tiddlers, and very few dealing with DataTiddlers. Possibly consider converting your text file into multiple tiddlers (either individual tiddler files or a JSON file containing them all). You will likely have a better experience down the road manipulating those records then stowing them in a DataTiddler. -- 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/5e36e854-f48b-45f8-abd7-2f9d13631299n%40googlegroups.com.

