View Single Post
Old 01-23-2019, 03:31 PM   #1
meghane_e
Zealot
meghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercisemeghane_e juggles running chainsaws for a bit of light exercise
 
Posts: 114
Karma: 38500
Join Date: Sep 2016
Location: San Jose, CA
Device: Kindle moving to Kobo or Boox
Bulk metadata Search/Replace: template function question

Happy New Year!
OK, I want to do a Bulk Edit/Replace on all of my anthologies to copy the list of individual authors from the authors field to my new column #various_authors. I've been trying to test it on a copy of one of the books. I tried the attached template function statement but nothing happens when I run it. Could I get some help on what it should be?

First step, I made a new column to put a list of authors in for an anthology using the "Ampersand separated text, shown in the Tag browser" choice in the "Preferences -> Make your own column" dialog. It works as expected for adding names manually, copy/pasting, etc. The tag/name manager browser works. Everything looks good.

Second step, I'm stuck on copying all the names to a new field (see the attached). Also what do I need to do to remove the individuals' names from authors, should I write a Template Function or can I still write it in the Metadata Search/Replace?

For future, can someone clarify when and how to use a single-function template {} vs a program: 'function()' in the Edit Metadata browser. I'm not finding the documentation clear on the specific differences using the template language in the Bulk Search/Replace and the Template Function browsers. The template language is the same but the info needed in the surrounding data fields is different. Thank you for any help!
Attached Thumbnails
Click image for larger version

Name:	2019-01-23 (3).png
Views:	348
Size:	44.1 KB
ID:	169260  

Last edited by meghane_e; 01-23-2019 at 03:35 PM.
meghane_e is offline   Reply With Quote