How to Backup a Picklist: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
added link to asset backups
Pware (talk | contribs)
Line 44: Line 44:
='''Access Your Current Picklists'''=
='''Access Your Current Picklists'''=


<table cellpadding="4" bgcolor=#ffffff>
<table cellpadding="4" bgcolor=#ffffff> <!-- BEGIN Step table -->
<tr valign="top">
<tr valign="top">
<td>[[file:Steps.PNG|link=]]</td>
<td>[[file:Steps.PNG|link=]]<br><br>
<td><span style="font-size: 17px;">'''Step 1: Open CM and Your Picklists'''</span><br>
<span style="font-size: 17px; font-weight: 700;">Steps</span></td>
<table>
<td>[[file:DotPoint1.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Open CM and Your Picklists</span><br>
<table> <!-- BEGIN Step 1 table -->
<tr valign="top">
<tr valign="top">
<td><br>From the '''Trainz''' Launcher
<td><br>From the '''Trainz''' Launcher
Line 56: Line 57:
[[file:PickListEditPickList.png|link=]]<br><br>
[[file:PickListEditPickList.png|link=]]<br><br>
This will display all your current Picklists.
This will display all your current Picklists.
<table cellpadding="4" bgcolor=#c1e7e7> <!-- BEGIN Step 1 Dot Point -->
<tr valign="top">
<td>[[file:DotPoint.JPG|link=]]</td>
<td>'''If you are using a ''Default'' picklist there is NO way to select it for moving or backup'''</td>
</tr>
</table> <!-- END Step 1 Dot Point -->
</td>
</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 1 table -->
</td>
</tr>
</tr>
</table>
<tr>
<table cellpadding="4" bgcolor=#c1e7e7>
<td colspan="2">
<tr valign="top">
----</td>
<td>[[file:DotPoint.JPG|link=]]</td>
<td>'''If you are using a ''Default'' picklist there is NO way to select it for moving or backup'''</td>
</tr>
</tr>
</table>
<br>
<table cellpadding="4" bgcolor=#ffffff>
<tr valign="top">
<tr valign="top">
<td>[[file:Steps.PNG|link=]]</td>
<td>&nbsp;</td>
<td><span style="font-size: 17px;">'''Step 2: Select the Picklist to be backed up'''</span><br>
<td>[[file:DotPoint2.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Select the Picklist to be Backed Up:</span><br>
<table>
<table> <!-- BEGIN Step 2 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
Line 80: Line 83:
This will open the Picklist</td>
This will open the Picklist</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 2 table -->
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table>
<br>
<table cellpadding="4" bgcolor=#ffffff>
<tr valign="top">
<tr valign="top">
<td>[[file:Steps.PNG|link=]]</td>
<td>&nbsp;</td>
<td><span style="font-size: 17px;">'''Step 3: Select Picklist Contents'''</span><br>
<td>[[file:DotPoint3.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Select Picklist Contents:</span><br>
<table>
<table> <!-- BEGIN Step 3 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
Line 94: Line 99:
#press '''Ctrl-A''' to '''Select All''' the items<br>
#press '''Ctrl-A''' to '''Select All''' the items<br>
[[file:PickListSelectAll.png|link=]]</td>
[[file:PickListSelectAll.png|link=]]</td>
</tr><br>
</table></td>
</tr>
</tr>
</table>
</table> <!-- END Step 3 table -->
<br>
</td>
<table cellpadding="4" bgcolor=#ffffff>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[[file:Steps.PNG|link=]]</td>
<td>&nbsp;</td>
<td><span style="font-size: 17px;">'''Step 4: Transfer List to a New Window'''</span><br>
<td>[[file:DotPoint4.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Transfer List to a New Window:</span><br>
<table>
<table> <!-- BEGIN Step 4 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
#right mouse click on any one of the items
#right mouse click on any one of the items
#select '''List Assets in New Window''' from the popup menu<br>
#select '''List Assets in New Window''' from the popup menu<br>
[[file:PickListListinNewWindow.png|link=]]</td>
[[file:PickListListinNewWindow.png|link=]]
</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 4 table -->
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table>
<br>
<table cellpadding="4" bgcolor=#ffffff>
<tr valign="top">
<tr valign="top">
<td>[[file:Steps.PNG|link=]]</td>
<td>&nbsp;</td>
<td><span style="font-size: 17px;">'''Step 5: Copy Assets in Picklist'''</span><br>
<td>[[file:DotPoint5.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Copy Assets in Picklist:</span><br>
<table>
<table> <!-- BEGIN Step 5 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
Line 124: Line 134:
[[file:PickListSelectListofAssetsSelected.png|link=]]<br><br>
[[file:PickListSelectListofAssetsSelected.png|link=]]<br><br>
#click inside the '''Asset KUID''' box and press '''Ctrl-A''' to select them all
#click inside the '''Asset KUID''' box and press '''Ctrl-A''' to select them all
#copy the asset list to the clipboard (press '''Ctrl-C''')</td>
#copy the asset list to the clipboard (press '''Ctrl-C''')
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 5 table -->
</td>
</tr>
</tr>
</table>
</table> <!-- END Steps Table -->
<br>
<table width="100%"> <!-- BEGIN Back-To-Top Table -->
<table width="100%">
<tr valign="top">
<tr valign="top">
<td align="right">[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td align="right">[[file:BackToTop.png|link=#top|alt=Top|Top]]</td>
</tr>
</tr>
</table>
</table> <!-- END Back-To-Top Table -->


='''Transfer the List to Notepad (or any text editor)'''=
='''Transfer the List to Notepad (or any text editor)'''=

Revision as of 09:51, 10 February 2020

The information in this Wiki Page applies to TANE, TRS19 and Trainz Plus. This guide will show you how to backup a Picklist.

  • For instructions on how to create a Picklist, see the Trainz Wiki page How to Create a Picklist
  • For instructions on how to move a Picklist, see the Trainz Wiki page How to Move a Picklist
  • For instructions on how to rename a Picklist, see the Trainz Wiki page How to Rename a Picklist (but most of the instructions for doing this are found on this current page)


Information and instructions on backing up and restoring Trainz assets can be found on the Trainz Wiki Page at:-



Main Points:
Picklists cannot be saved as .CDP files so they cannot be backed up using that method
Picklists can be saved as text files
Picklists can be imported from text files


Access Your Current Picklists



Steps
 Open CM and Your Picklists

From the Trainz Launcher
  1. select Manage Content
  2. in Content Manager open the Content menu
  3. select Edit Picklist



This will display all your current Picklists.

If you are using a Default picklist there is NO way to select it for moving or backup

   Select the Picklist to be Backed Up:
  1. right mouse click on the required Picklist
  2. select Open Picklist from the popup menu


This will open the Picklist

   Select Picklist Contents:
  1. left mouse click on any one of the items
  2. press Ctrl-A to Select All the items

   Transfer List to a New Window:
  1. right mouse click on any one of the items
  2. select List Assets in New Window from the popup menu


   Copy Assets in Picklist:

The Picklist assets will be listed by their kuids in the Asset KUID box of a new search filter


  1. click inside the Asset KUID box and press Ctrl-A to select them all
  2. copy the asset list to the clipboard (press Ctrl-C)

Top

Transfer the List to Notepad (or any text editor)

Step 1: Open Notepad or any other suitable text editor program
  • click inside the Notepad window and then press Ctrl-V (paste)


Step 2: Save the Picklist as a text (.txt) file
  1. from the Notepad File menu select Save or press Ctrl-S. If you are not using Notepad, make sure that the file format is text (.txt) for compatibility
  2. select a suitable backup location for the backup file
  3. enter a filename - the same name as the Picklist would be a good idea - then save


Top

How to Restore a Picklist

Restoring a Picklist basically involves reversing the above steps.

Step 1: Open Notepad or any other suitable text editor program
  1. load the saved Picklist text file, from Step 2 of Transfer the List to Notepad process explained above, into Notepad
  2. select all the text - press Ctrl-A
  3. copy the text to the clipboard - press Ctrl-C


Step 2: Open CM in the Destination Trainz and Create a New Filter
  1. in the copy of Trainz where the Picklist is being transferred, open Content Manager
  2. start a new filter
  3. paste (Ctrl-V) the asset list into the Asset KUID box




Step 3: Create a New Picklist

The pasted asset list will appear in the CM display window, as shown below.



  1. select an entry and then select all (Ctrl-A)
  2. right mouse click on any entry and select Add to Picklist and then New Picklist from the popup menus




Step 4: Enter a Name for the Picklist



Enter a name for the Picklist and click Ok


Top


Trainz Wiki

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in January 2019 and was last updated as shown below.