Manuel de fonctionnement d'Automation Engine > Fichiers XML d’objets > Alerte > Fichier d'exportation

 Fichier d'exportation

Voici un exemple de fichier d'exportation XML d'un objet notification.

Exemple :

<?xml version="1.0" encoding="ISO-8859-1"?> 
-<uc-export clientvers="3.02"> 
-<CALL client="0003"name="DAYSHIFT"system="UCGLOBAL"> 
-<XHEADER state="1">
<Title>Notification for the dayshift</Title> 
<Created>John Smith on: 2005-03-09 10:18:58</Created> 
<Modified>John Smith on: 2005-03-09 10:37:17      11 x</Modified> 
<LastUsed/>
<ArchiveKey1>Shift</ArchiveKey1>
<ArchiveKey2>Day</ArchiveKey2>
<ExtRepDef>1</ExtRepDef>
<ExtRepAll>0</ExtRepAll>
<ExtRepNone>0</ExtRepNone> 
</XHEADER>
- <SYNCREF state="1">
<Syncs/>
</SYNCREF>
- <ATTR_CALL state="1">
<StartType/>
<IntAccount>258</IntAccount>
<MaxParallel2>0</MaxParallel2>
<MpElse1>1</MpElse1>
<MpElse2>0</MpElse2>
<UC4Priority>0</UC4Priority>
<Priority>2|Normal</Priority>
<Type>1|Message</Type>
<Text>A problem occurred during the partial backup .</Text>
<ActAtRun>0</ActAtRun>
<TZ/>
</ATTR_CALL>
- <CALL state="1">
- <Cond>
<row CaleKeyName="WORKDAYS" CaleName="WORK" USR_Idnr="SMITH/UC4" id="1315068"/>
</Cond>
<EscTime>0</EscTime>
<Object/>
<AutoDeact>1</AutoDeact>
<External1>0</External1>
<External2>1</External2>
</CALL>
- <RUNTIME state="1">
<MaxRetCode>0</MaxRetCode>
<FcstStatus>1900|ENDED_OK - Ended normally.</FcstStatus>
<Ert>0</Ert>
<ErtMethodDef>1</ErtMethodDef>
<ErtMethodFix>0</ErtMethodFix>
<ErtFix>0</ErtFix>
<ErtDynMethod>2|average</ErtDynMethod>
<ErtMethodDyn>0</ErtMethodDyn>
<ErtCnt>0</ErtCnt>
<ErtCorr>0</ErtCorr>
<ErtIgn>0</ErtIgn>
<ErtIgnFlg>0</ErtIgnFlg>
<ErtMinCnt>0</ErtMinCnt>
<MrtMethodNone>1</MrtMethodNone>
<MrtMethodFix>0</MrtMethodFix>
<MrtFix>0</MrtFix>
<MrtMethodErt>0</MrtMethodErt>
<MrtErt>0</MrtErt>
<MrtMethodDate>0</MrtMethodDate>
<MrtDays>0</MrtDays>
<MrtTime>00:00</MrtTime>
<MrtTZ/>
<SrtMethodNone>1</SrtMethodNone>
<SrtMethodFix>0</SrtMethodFix>
<SrtFix>0</SrtFix>
<SrtMethodErt>0</SrtMethodErt>
<SrtErt>0</SrtErt>
<MrtCancel>0</MrtCancel>
<MrtExecute>0</MrtExecute>
<MrtExecuteObj/>
</RUNTIME>
- <DYNVALUES state="1"> 
- <dyntree> 
- <node content="1" id="VALUE" name="Values" parent="" type="VALUE"> 
- <VALUE state="1"> 
- <Values> 
<row Name="&HOST#" Value="unix01" /> 
</Values> 
<Mode>0</Mode> 
</VALUE> 
</node> 
- <node content="1" id="PRPT1" name="PRPT1" parent="PRPTS" type="PROMPTSET"> 
- <PROMPTSET client="0098" idnr="001240008" name="PRPT1" ontop="1" src="oh" system="UC4"> 
- <PRPTBOX promptset="PRPT1" prptmode="1"> 
<integer1 altview="0" haslist="0">6</integer1> 
<textfield2 altview="0" haslist="0">text</textfield2> 
<radiogroup1 altview="0" haslist="0">9</radiogroup1> 
<checklist1 altview="0" haslist="0">41;50</checklist1> 
<checkgroup1 altview="0" haslist="0">3</checkgroup1> 
<combobox9 altview="0" haslist="0">3</combobox9> 
<date1 altview="0" haslist="0">2010-08-29</date1> 
<timestamp1 altview="0" haslist="0">2010-08-17 10:00:00</timestamp1> 
<time2 altview="0" haslist="0">15:01</time2> 
</PRPTBOX> 
</PROMPTSET> 
</node> 
</dyntree> 
</DYNVALUES>
- <SCRIPT state="1">
- <MSCRI>
- <![CDATA[
:SET &DATE# = SYS_DATE("DD.MM.YYYY")
:IF WEEKDAY_NR("DD.MM.YYYY:&DATE") = "5"
:  ADD_ATT RECIPIENT, "GREEN/UC4"
:ENDIF
]]>
</MSCRI>
</SCRIPT>
-<DOCU_General state="1"type="text">
- <DOC>
<[Notification for the dayshift]>
</DOC>
</DOCU_General>
- <DOCU_Details- state="1" type="xml">
- <DOC>
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE Description [
<!ELEMENT Description ( #PCDATA ) >
<!ELEMENT Content ( Description, Objects, Release Notes ) >
<!ELEMENT Objects EMPTY >
<!ELEMENT Release Notes EMPTY >
<Content>
<Description>Infos: http://www.automic.com</Description>
<Objects/>
<Modification Archive/>
</Content>
</DOC>
</DOCU_Details->
</CALL>
</uc-export>

 

Rubriques connexes :

Notification
Structure du fichier d'exportation

Structure des fichiers XML pour l'importation et l'exportation