| 
			
			 | 
		#1 | 
| 
			
			
			
			 Library Breeder (She/Her) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,301 
				Karma: 1937893 
				Join Date: Apr 2015 
				Location: Fullerton, California 
				
				
				Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st) 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Column Icon Rules
			 
			
			
			Can I go into the library .json file and do a search and replace for columns in the rules section? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I changed some columns that I have rules for and wanted to save the hassle of going into the rules in preferences and change them. I have two new columns that are replacing three columns that have multiple rules for each. Would like to open the .json file in Notepad++ and do a search and replace for the old columns to the new columns. I don't like how editing the columns in preferences blanks out all the info past the column when you change the column. Would be nice if changing the column doesn't change the other info. It's easier to delete the info rather than retype it. Especially since the values aren't available in dropdown format. Columns that are text in the tag browser should be shown in the dropdown format instead of requiring manual inputting the value since it's easy to mistype what the value should be when I am not able to see the column as I set the preference.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 There's an option in JS to save custom column details in a CSV, maybe you could use that as a place from which to get prior values. BR  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Library Breeder (She/Her) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,301 
				Karma: 1937893 
				Join Date: Apr 2015 
				Location: Fullerton, California 
				
				
				Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 So I have three blank columns and they contain the icons. One is "GR Info" which shows the icons I have for my Goodreads read status (if it's read then I have a little calander icon, if it's to be read then I have a star icon, etc). I have read column which mirrors (hopefully) the GR Info column if it's in goodreads. Those icons are trigggered by the read status column which is in turned triggered by either manually when I update the book or by Goodreads Sync when I update a columm. Pretty much all my Goodreads Sync, Library, and Icons are interconnected so I don't have to do the heavy lifting. When I review my library I just scroll down and see the icons in the columns and can tell a lot about that book without having to scroll over or open the details. On top of that, if I go and change the rules manually, I have to resort them all back to the way they should be. Some rules need to be processed before others. Knowing I can go into the .json file and do a simple search/replace (I changed the columns from text to comma separated) with only having to restore the library makes me happy. TL/DR - I use a lot of icons in special columns triggered by other columns in various ways and would much rather do a search and replace in the .json than manually go in and change them. Hapy to know that I can do it! Thanks!  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 922 
				Karma: 810834 
				Join Date: Sep 2017 
				Location: Buenos Aires, Argentina 
				
				
				Device: moon+ reader, kindle paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Suppose you have two biliotacas.  One with the rules and the other not.  If I copy the book from the first to the second, it seems to me that the rules of the first would pass to the second.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Column Icons in Preferences > Look & Feel can be exported and then imported.  You could export them, do a mass change, then import the changed file. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Be sure to keep an original copy of the export file, and a backup of metadata.db, before you do this... DaltonST  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Rearrange Column Icon Rules - Request | madeleinelevy | Library Management | 2 | 08-16-2019 01:38 AM | 
| Icon Rules | Tanjamuse | Library Management | 1 | 03-02-2015 08:17 AM | 
| Column coloring rules | BookJunkieLI | Library Management | 7 | 12-06-2014 06:18 PM | 
| Custom Column Icon Help | alanHd | Library Management | 2 | 02-04-2013 04:30 AM |