Import/copy settings from another tasklist (task attribute visibility, column order, etc.)

A place to post your ideas and solutions for how best to make use of the software

Moderators: abstr, Niko

Post Reply
Djo
MVP
MVP
Posts: 772
Joined: Mon Sep 09, 2019 3:02 pm

Import/copy settings from another tasklist (task attribute visibility, column order, etc.)

Post by Djo » Fri Jul 08, 2022 6:36 pm

How to import/copy settings from a tasklist 'Tasklist_A' to another one 'Tasklist_B'.

Useful to know first

1. Custom attributes are stored inside the tasklist (ie. the tasklist file)

2. The settings for each tasklist (task attribute visibility, columns order, preferences for each views such as Calendar, Kanban, Gantt, etc.) are stored in the 'ToDoList.ini' file, identified by the tasklist file name.

Making a copy of the 'Tasklist_A.tdl' file, naming it 'Tasklist_B.tdl' and opening it in ToDoList doesn't work because default settings are applied at the first opening of Tasklist_B.tdl in the 'ToDoList.ini' file.


A solution is to make a copy of 'Tasklist_A' with the ToDoList 'Save As' command:

1) Tasklist_A is the active tasklist.
2) Menu 'File' > 'Save Tasklist As...'
3) In the 'Save Tasklist As...' dialog, give a project name and a file name and path for the new tasklist. So here 'Tasklist_B'. Click OK.

We've just saved 'Tasklist_A' under another name 'Tasklist_B'. Tasklist_B is now open in ToDoList, it has replaced 'Tasklist_A', and the settings are (of course) preserved.
But the trick is the 'Tasklist_A.tdl' file still exists and can be reopen:

4) Menu 'File' > 'Open Tasklist', and reopen 'Tasklist_A.tdl' (or use 'File' > 'Recent Tasklists').

Now we've got what we want: 'Tasklist_A', and a copy 'Tasklist_B' with the same settings as 'Tasklist_A'.

All that remains is to delete the unwanted tasks in 'Tasklist_B' and/or to import some other tasks.

Post Reply