Mark,

I have used the template and saved every tiddler in this case. I had 
hundreds not thousands and it was quite quick.

Yes I am aware of that work around, but hope my Git Hub Request 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FJermolene%2FTiddlyWiki5%2Fissues%2F4022&sa=D&sntz=1&usg=AFQjCNGnMP8uiCxMVLK27Kl3BOLt8YYbNg>gets
 
honored before being faced with thousands.

I have however planned to build a way to iterate all the fields in one 
tiddler and apply them to another existing tiddler, its a way of changing a 
tiddler from one to another "type", and allows for a few other tricks.

eg task to contact, task to reference etc...

Thanks again

On Friday, June 28, 2019 at 11:26:35 AM UTC+10, Mark S. wrote:
>
> I've been down this road. Consider whether you actually need a template. 
> You could just add whatever additional fields/lists you need from 
> tm-new-tiddler. You could
> even iterate over the fields in your template tiddler and add them from 
> there.
>
>
> On Thursday, June 27, 2019 at 5:42:07 PM UTC-7, TonyM wrote:
>>
>> *A final issue to bulk create new tiddlers from CSV*
>>
>> *This works however it has the unpleasant need to open every tiddler for 
>> edit, and demand I save each.*
>>
>> In the above solution rather than display the key value pairs, I have 
>> added a action-sendmessage to create my new tiddlers
>>
>> <$action-sendmessage $message="tm-new-tiddler" 
>> $param="$:/PSaT/WRRef/templates/objects/person" 
>> title=<<person-tiddler>> 
>> first-name=<<first-name>>
>> surname=<<surname>> 
>> person-role=<<person-role>>
>> email-address=<<email-address>>
>> import-region=<<import-region>> 
>> tags="batch"
>> />
>> I am using tm-new-tiddler because unlike 
>> ActionCreateTiddlerWidget
>> it permits the use of a template 
>> GitHub Issue raised here 
>> <https://github.com/Jermolene/TiddlyWiki5/issues/4022>
>>
>> Then I invoke my each row for all csv rows by wrapping the invocation in 
>> a button
>>
>> <$button>
>> <$list filter="[{StaffListTest.csv}split[<eol>]removesuffix[,]]" 
>> variable=input-row>
>>   <$macrocall $name=each-row row=<<input-row>>/>
>> </$list>
>> Create tiddlers from Staff List
>> </$button>
>>
>> Any idea how to;
>>
>>    - Use template tiddlers with  ActionCreateTiddlerWidget
>>    - Create but not open new tiddlers with <$action-sendmessage 
>>    $message="tm-new-tiddler"
>>
>> Regards
>> Tony
>>
>>
>>
>>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2a640cd7-efc2-4aaa-9622-e951e23b8610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to