How to Backup a Picklist: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
→How to Restore a Picklist: reorganised steps
Line 200: Line 200:
='''How to Restore a Picklist'''=
='''How to Restore a Picklist'''=


Restoring a Picklist basically involves reversing the above steps.
<table cellpadding="4" bgcolor=#c1e7e7>
<tr valign="top">
<td>[[file:DotPoint.JPG|link=]]</td>
<td>Restoring a Picklist basically involves reversing the above steps</td>
</tr>
</table>


<table cellpadding="4" bgcolor=#ffffff>
<table cellpadding="4" bgcolor=#ffffff> <!-- BEGIN Step table -->
<tr>
<td colspan="2">
----</td>
</tr>
<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 Notepad or any other suitable text editor program'''</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 Notepad or Other Text Editor:</span><br>
<table> <!-- BEGIN Step 1 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
#open your favourite text editor (MS Notepad, Notepad++, etc)
#load the saved Picklist text file, from Step 2 of '''Transfer the List to Notepad''' process explained above, into Notepad
#load the saved Picklist text file, from Step 2 of '''Transfer the List to Notepad''' process explained above, into Notepad
#select all the text - press '''Ctrl-A'''
#select all the text - press '''Ctrl-A'''
#copy the text to the clipboard - press '''Ctrl-C'''</td>
#copy the text to the clipboard - press '''Ctrl-C'''
</td>
</tr>
</tr>
</table></td>
<tr>
<td colspan="2">
----</td>
</tr>
</table> <!-- END Step 1 table -->
</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: Open CM in the Destination Trainz and Create a New Filter'''</span><br>
<td>[[file:DotPoint2.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Open CM in the Destination Trainz and Create a New Filter:</span><br>
<table>
<table> <!-- BEGIN Step 2 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
#in the copy of Trainz where the Picklist is being transferred, open '''Content Manager'''
#in the copy of Trainz where the Picklist is being restored or transferred, open '''Content Manager'''
#start a new filter
#start a new filter
#paste ('''Ctrl-V''') the asset list into the '''Asset KUID''' box<br><br>
#paste ('''Ctrl-V''') the asset list into the '''Asset KUID''' box<br><br>
[[file:PickListSelectListofAssets.png|link=]]<br><br></td>
[[file:PickListSelectListofAssets.png|link=]]<br><br>
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 2 table -->
</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: Create a New Picklist'''</span><br><br>
<td>[[file:DotPoint3.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Create a New Picklist:</span><br>
The pasted asset list will appear in the CM display window, as shown below.<table>
<table> <!-- BEGIN Step 3 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
Line 243: Line 260:
#select an entry and then select all ('''Ctrl-A''')
#select an entry and then select all ('''Ctrl-A''')
#right mouse click on any entry and select '''Add to Picklist''' and then '''New Picklist''' from the popup menus<br><br>
#right mouse click on any entry and select '''Add to Picklist''' and then '''New Picklist''' from the popup menus<br><br>
[[file:PickListTRS19NewList.png|link=]]<br><br></td>
[[file:PickListTRS19NewList.png|link=]]<br><br>
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table></td>
</table> <!-- END Step 3 table -->
</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 4: Enter a Name for the Picklist'''</span><br>
<td>[[file:DotPoint4.JPG|link=]]&nbsp;<span style="font-size: 17px; font-weight: 700;">Enter a Name for the Picklist:</span><br>
<table>
<table> <!-- BEGIN Step 4 table -->
<tr valign="top">
<tr valign="top">
<td>
<td>
[[file:PickListTRS19NewListName.png|link=]]<br><br>
[[file:PickListTRS19NewListName.png|link=]]<br><br>
Enter a name for the Picklist and click '''Ok'''</td>
Enter a name for the Picklist and click '''Ok'''
</td>
</tr>
</tr>
</table></td>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table>
</table> <!-- END Step 4 table -->
<br>
</td>
<table width="100%">
</tr>
</table> <!-- END Steps Table -->
<table width="100%"> <!-- BEGIN Back-To-Top Table -->
<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 -->
----
----
----
----
='''Trainz Wiki'''=
='''Trainz Wiki'''=
<table cellpadding="4" bgcolor=#ffffff>
<table cellpadding="4" bgcolor=#ffffff>

Revision as of 10:21, 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)



Steps
 Open Notepad or Any Other Suitable Text Editor:
  1. open your favourite text editor (MS Notepad, Notepad++, etc)
  2. click inside the Notepad window and then press Ctrl-V (paste)


   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



Steps
 Open Notepad or Other Text Editor:
  1. open your favourite text editor (MS Notepad, Notepad++, etc)
  2. load the saved Picklist text file, from Step 2 of Transfer the List to Notepad process explained above, into Notepad
  3. select all the text - press Ctrl-A
  4. copy the text to the clipboard - press Ctrl-C

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




   Create a New Picklist:



  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




   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.