Project

General

Profile

Edit an existing application as an xml file » History » Version 4

Anchi Cheng, 09/16/2010 09:11 AM

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
&nbsp;
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
[[Reload and Edit an existing application|< Reload and Edit an existing application]] | [[Create Leginon "Simple Application"|Create Leginon "Simple Application" >]]
36
37
______