Hier finden Sie ein Beispiel für die XML-Exportdatei eines PromptSet-Objektes.
Beispiel:
<?xml version="1.0" encoding="ISO-8859-1"?> - <uc-export clientvers="9.00"> -<PRPT client="0001"name="PRPT.JOBS" system="UCGLOBAL"> - <HEADER state="1"> <Title>title</Title> <Created>John Smith on: 2008-08-22 10:36:45</Created> <Modified>John Smith on: 2008-12-11 16:15:50 3 x</Modified> <LastUsed/> <ArchiveKey1>PRPT</ArchiveKey1> <ArchiveKey2>Jobs</ArchiveKey2> </HEADER> - <PROMPTDESIGNER state="1"> <DESIGNER/> </PROMPTDESIGNER> - <PROMPTSETXUI state="1"> - <XUIEDITOR> <dialog height="401" icon="PRPT" id="PRPTS" left="270" top="0" width="281"> <readpanel fill="b" id="PRPTBOX" nl="1" scroll="v" text="PRPT.NEW.1"> <properties> <entry name="text">PRPT.NEW.1</entry> <entry name="modifiable">0</entry> </properties> <text alt="0" enabled="1" fill="b" focus="0" id="textfield1" inputassistance="1" len="10" nl="1" required="0" separator="" showaspassword="0" text="Text" tooltip="" upper="0"> <oninputassistant> <command request="_internal" target="_view" targetaction="setAttribute" targetparam="promptname|@id"/> <command owner="_self" owneraction="getData" request="getpromptinputassistance" target="_chainwindow"/> </oninputassistant> <properties> <entry listparam="C,N" name="reference">DATABASE MAINTENANCE</entry> <entry name="text">Text</entry> <entry name="multiselect">1</entry> <entry name="separator"/> <entry name="len">10</entry> <entry name="quotes">r</entry> <entry name="id">textfield1</entry> <entry name="inputassistance">1</entry> <entry name="enabled">0</entry> <entry name="required">0</entry> <entry name="upper">0</entry> <entry name="focus">0</entry> <entry name="showaspassword">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue"/> </properties> </text> <integer alt="1" enabled="1" fill="b" focus="0" id="integer1" max="" min="" nl="1" text="Number" tooltip=""> <properties> <entry listparam="N" name="reference">UC_DATATYPE_NUMERIC</entry> <entry name="text">Number</entry> <entry name="min"/> <entry name="max"/> <entry name="quotes">r</entry> <entry name="id">integer1</entry> <entry name="enabled">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue">0</entry> </properties> </integer> <combo alt="1" enabled="1" fill="b" focus="0" id="combobox1" nl="1" required="1" text="Combobox" tooltip="" vtype="i" upper="0"> <properties> <entry listparam="" name="reference">DB_MAINTENANCE</entry> <entry name="text">Combobox</entry> <entry name="quotes">r</entry> <entry name="id">combobox1</entry> <entry name="enabled">0</entry> <entry name="required">1</entry> <entry name="upper">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue"/> </properties> </combo> <dynradiogroup alt="1" enabled="1" fill="b" focus="" id="radiogroup1" nl="1" text="Radio button" tooltip="" upper="0" required="0"> <properties> <entry listparam="C,N" name="reference">UC_OBJECT_TEMPLATE</entry> <entry name="text">Radio button</entry> <entry name="quotes">r</entry> <entry name="id">radiogroup1</entry> <entry name="enabled">0</entry> <entry name="upper">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue"/> </properties> </dynradiogroup> <dyncheckgroup alt="1" enabled="1" fill="b" focus="0" id="checkgroup1" nl="1" required="0" separator=";" text="Checkbox" tooltip="" upper="0"> <properties> <entry listparam="C,N" name="reference">UC_SENDTO_ACT</entry> <entry name="text">Checkbox</entry> <entry name="multiselect">1</entry> <entry name="separator">;</entry> <entry name="haslist">0</entry> <entry name="quotes">r</entry> <entry name="id">checkgroup1</entry> <entry name="enabled">0</entry> <entry name="required">0</entry> <entry name="upper">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue"/> </properties> </dyncheckgroup> <dyncheckgroup alt="1" enabled="1" fill="b" focus="0" id="checklist2" mode="list" nl="1" required="0" separator=";" text="Checklist" tooltip="" upper="0"> <properties> <entry listparam="C,N" name="reference">UC_UTILITY_ARCHIVE</entry> <entry name="text">Checklist</entry> <entry name="multiselect">1</entry> <entry name="separator">;</entry> <entry name="haslist">0</entry> <entry name="quotes">r</entry> <entry name="id">checklist2</entry> <entry name="enabled">0</entry> <entry name="required">0</entry> <entry name="upper">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue"/> </properties> </dyncheckgroup> <time alt="1" enabled="1" fill="b" focus="0" id="time1" max="" min="" nl="1" text="Time" tooltip=""> <properties> <entry listparam="TI" name="reference">UC_DATATYPE_TIME</entry> <entry name="text">Time</entry> <entry name="min"/> <entry name="max"/> <entry name="id">time1</entry> <entry name="enabled">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue">?time#</entry> </properties> </time> <datefield alt="1" enabled="1" fill="b" focus="0" id="date1" max="" min="" nl="1" strict="1" text="Date" tooltip=""> <properties> <entry listparam="D,TS" name="reference"/> <entry name="calendar">CALE</entry> <entry name="key">STATIC</entry> <entry name="text">Date</entry> <entry name="min"/> <entry name="max"/> <entry name="outputformat">date1</entry> <entry name="id">date1</entry> <entry name="enabled">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue">?date#</entry> </properties> </datefield> <datefield alt="1" enabled="1" fill="b" focus="" id="timestamp2" max="" min="" mode="timestamp" nl="1" strict="1" text="Timestamp" tooltip=""> <properties> <entry listparam="TS" name="reference">UC_DATATYPE_TIMESTAMP</entry> <entry name="calendar">CALE.WORKDAYS</entry> <entry name="key">WORKDAYS</entry> <entry name="text">Timestamp</entry> <entry name="min"/> <entry name="max"/> <entry name="outputformat">date1</entry> <entry name="id">timestamp2</entry> <entry name="enabled">0</entry> <entry name="focus">0</entry> <entry name="tooltip"/> <entry name="modifiable">1</entry> <entry name="initvalue">?date#</entry> </properties> </datefield> </readpanel> </dialog>]]> </XUIEDITOR> </PROMPTSETXUI> <PROMPTSETDATA state="1"> <DATAEDITOR> <PRPTS idnr="1296007" client="0098" system="UC4" ontop="1" src="oh"> <PRPTBOX> <textfield1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="textfield1" ReadFromTable="OPSE"></textfield1> <integer1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="integer1" ReadFromTable="OPSE">0</integer1> <combobox1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="combobox1" ReadFromTable="OPSE"></combobox1> <radiogroup1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="radiogroup1" ReadFromTable="OPSE"></radiogroup1> <checkgroup1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="checkgroup1" ReadFromTable="OPSE"></checkgroup1> <checklist2 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="checklist2" ReadFromTable="OPSE"></checklist2> <time1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="time1" ReadFromTable="OPSE">11:13</time1> <date1 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="date1" ReadFromTable="OPSE">2010-09-03</date1> <timestamp2 haslist="0" msgnr="-1" msginsert="" altview="0" promptname="timestamp2" ReadFromTable="OPSE">2010-09-03 11:13</timestamp2> </PRPTBOX> </PRPTS>]]> </DATAEDITOR> </PROMPTSETDATA> -<DOCU_general state="1"type="text"> <DOC/> </DOCU_general> </PRPT> </uc-export>
Siehe auch:
PromptSet
Aufbau der Exportdatei
Aufbau der XML-Dateien für den Im- und Export
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |