Edit an existing application as an xml file » History » Version 7
  Anchi Cheng, 12/08/2017 05:11 PM 
  
| 1 | 1 | Amber Herold | h1. Edit an existing application as an xml file  | 
|---|---|---|---|
| 2 | |||
| 3 | Application editor behaves well enough that it is not necessary to edit xml files. However, if you want to, here is how.  | 
||
| 4 | |||
| 5 | 4 | Anchi Cheng | # go to "http://your_myamiweb/addapp.php" with your web browser  | 
| 6 | # Choose your existing application from Export section and export and save as an xml file.  | 
||
| 7 | 3 | Eric Hou |    | 
| 8 | # Edit the xml file in any text editor.  | 
||
| 9 |    | 
||
| 10 | 1 | Amber Herold | Search for the name of the node class that you want to replace and make the changes.  | 
| 11 | 3 | Eric Hou |    | 
| 12 | 1 | Amber Herold | The following section of the file controls the name of the application and version number  | 
| 13 | 3 | Eric Hou | <pre>  | 
| 14 | 1 | Amber Herold | <!-- ApplicationData -->  | 
| 15 | |||
| 16 | <sqltable name="ApplicationData">  | 
||
| 17 | |||
| 18 | <field name="DEF_id" >264</field>  | 
||
| 19 | |||
| 20 | <field name="version" >6</field>  | 
||
| 21 | |||
| 22 | <field name="DEF_timestamp" >20041209145648</field>  | 
||
| 23 | |||
| 24 | <field name="name" >MSI-raster (1.0)</field> </sqltable>  | 
||
| 25 | 3 | Eric Hou | </pre>  | 
| 26 | 4 | Anchi Cheng | Change the application name in the "name" field as a new application  | 
| 27 | 3 | Eric Hou |    | 
| 28 | 4 | Anchi Cheng | # Use the same webpage to import: Load the changed application xml file in the Import section and click import button.  | 
| 29 | 2 | Amber Herold | |
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | ______  | 
||
| 34 | |||
| 35 | 7 | Anchi Cheng | [[Use the Application Editor to create Leginon applications|< Use the Application Editor to create or edit Leginon applications]] | [[Import Export Application Settings as json file|Import/Export Application Settings as json file >]]  | 
| 36 | 2 | Amber Herold | |
| 37 | ______  |