Exporting Part of Tree Structure from IMSMANG: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Under construction | Images are missing}}
All Auxiliary data is '''[[Export Auxiliary Data| exported]]''' from Advanced Search in the Search menu. Assistance, Cause, Country Structure and Needs classifications consist of nodes in a tree structure where lower levels are belonging to a '''parent'''. If you would like to export only part of a classification then
Country Structure is exported from Advanced Search. Country Structure consists of nodes in a tree structure where lower levels is belonging to a parent. If you would like to export only part of a country structure, e.g. Province C, you then also need to export the parent(s) of Province C.
# the parent(s) of the part '''must''' also be exported
# if it should be used in an external tool e.g. [[Portal:Remote Entry | IMSMA Remote Entry]] then the export format should be XML.
 
This example show how to export only a part of the Country Structure, Province C, which consists of two parts
# the parent of Province C and Province C itself
# the children of Province C.


<ol>
<ol>
Line 7: Line 12:
'' First search ''
'' First search ''
</div>
</div>
<li>First export out the parent(s) and Province C itself.</li>
<li>Make an Advanced search that finds the parent and Province C itself.</li>
[[Image:CS Export2.png|500px|center]]
[[Image:CS Export2.png|500px|center]]
<div align="center">
<div align="center">
Line 13: Line 18:
</div>
</div>
<li>In result list select rows for the County and Province C.</li>
<li>In result list select rows for the County and Province C.</li>
<li>Export as xml.</li>
<li>Export as XML.</li>
[[Image:CS Export3.png|500px|center]]
[[Image:CS Export3.png|500px|center]]
<div align="center">
<div align="center">
'' Second search''
'' Second search''
</div>
</div>
<li>Then export out the children of Province C.</li>
<li>Make a second Advanced search that finds the children of Province C.</li>
<li>Export as XML.</li>
</ol>
</ol>
{{NavBox Technical Notes}}
{{NavBox HowTo Search}}
[[Category:NAA]]
[[Category:NAA]]

Latest revision as of 16:22, 21 September 2016

All Auxiliary data is exported from Advanced Search in the Search menu. Assistance, Cause, Country Structure and Needs classifications consist of nodes in a tree structure where lower levels are belonging to a parent. If you would like to export only part of a classification then

  1. the parent(s) of the part must also be exported
  2. if it should be used in an external tool e.g. IMSMA Remote Entry then the export format should be XML.

This example show how to export only a part of the Country Structure, Province C, which consists of two parts

  1. the parent of Province C and Province C itself
  2. the children of Province C.

    First search

  1. Make an Advanced search that finds the parent and Province C itself.
  2. Select the rows you want to export

  3. In result list select rows for the County and Province C.
  4. Export as XML.
  5. Second search

  6. Make a second Advanced search that finds the children of Province C.
  7. Export as XML.

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Using IMSMANG|}}}}{{#if:{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:exporting part of tree structure from imsmang

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|{{#if:Using IMSMANG|}}{{#if:|

{{{imageleft}}}

}}{{#if: Searching for Data in IMSMANG| Searching for Data in IMSMANG<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=

|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:exporting part of tree structure from imsmang

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}{{#if:|

{{{image}}}

}}}}{{#if:|{{#if:Using IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:exporting part of tree structure from imsmang

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group2}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list2}}}

}}{{#if:|{{#if:Using IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:exporting part of tree structure from imsmang

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}{{#if:|{{{group3}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list3}}}

}}{{#if:|{{#if:|{{{group4}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list4}}}

}}{{#if:|{{#if:|{{{group5}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list5}}}

}}{{#if:|{{#if:|{{{group6}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list6}}}

}}{{#if:|{{#if:|{{{group7}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list7}}}

}}{{#if:|{{#if:|{{{group8}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list8}}}

}}{{#if:|{{#if:|{{{group9}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list9}}}

}}{{#if:|{{#if:|{{{group10}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list10}}}

}}{{#if:|{{#if:|{{{group11}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list11}}}

}}{{#if:|{{#if:|{{{group12}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list12}}}

}}{{#if:|{{#if:|{{{group13}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list13}}}

}}{{#if:|{{#if:|{{{group14}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list14}}}

}}{{#if:|{{#if:|{{{group15}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list15}}}

}}{{#if:|{{#if:|{{{group16}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list16}}}

}}{{#if:|{{#if:|{{{group17}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list17}}}

}}{{#if:|{{#if:|{{{group18}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list18}}}

}}{{#if:|{{#if:|{{{group19}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list19}}}

}}{{#if:|{{#if:|{{{group20}}}<td style="text-align:left;border-left-width:2px;border-left-style:solid;|

{{{list20}}}

}}{{#if:|{{#if:Using IMSMANG{{#switch:{{#if:|{{{border}}}|child}}|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:{{#if:|{{{border}}}|child}}|child||{{#ifeq:{{#if:|{{{border}}}|child}}|subgroup||{{#switch:exporting part of tree structure from imsmang

|doc
|sandbox
|testcases =
|#default = {{#switch:
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}|}}

{{{below}}}

}}{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:exporting part of tree structure from imsmang
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}