TIUSRVF ; SLC/JM - Server calls for Template Fields ; 3/23/12 10:23am
Source file <TIUSRVF.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
LOAD(TIUY,FLD) | ; Load Template Field by Name
|
|
LOADIEN(TIUY,FLDIEN) | ; Load Template Field by IEN
|
|
GETCONV(DIR,L1,L2,COUNT,DOQ) | ; Returns a list of XML conversions
|
|
XMLCONV(INPUT,DIR,DOQ) | ; Returns Valid XML Text
|
|
XMLTXT(INPUT,FLDNAME,DOQ) | ; Returns Valid XML Text
|
|
TRUETXT(INPUT,DOQ) | ; Returns True text from XML
|
|
GETFLD(TIUY,FLD,ASXML,FLDIEN) | ; Load Template Field into TIUY
|
|
SAVE(SUCCESS,TIUDA,TIUX) | ; Save Template Field
; Input: ; TIUDA=IEN of TEMPLATE record ; TIUX(SEQ)=IEN of item ; Output: ; SUCCESS=IEN of item if successful, or ; 0^ Explanatory message if not |
|
CREATE(NAME) | ; Get or create Template Field record
|
|
SETXT0(TIUDA,FLD) | ; Set the root node of the WP-field
|
|
FILE(SUCCESS,IENS,TIUX) | ; Call FM Filer to commit updates to DB
|
|
EXPORT(TIUXML,FLDS) | ; Exports Template Fields as XML
; FLDS should be an array of Template Field names, not IENs |
|
ADDXML(TIUXML,IEN) | ; Add a single Template Field to the XML list
|
|
FLDNAME(FLDNUM) | ; Returns Field Name from it's number (DBIA 1412)
|
|
FLDNUM(FLDNAME) | ; Returns Field Number from it's name (DBIA 1412)
|
|
ADD(XML,TXT,INDENT) | ; Add text to XML
|
|
STRIP(INPUT) | ;Strips leading and trailing spaces
|
|
STRIPLST(LIST) | ; Strip spaces from all list entries
|
|
UPDATE(REPORT,SIDX,STATUS,REQNAME,TRUENAME) | ; Update Status
|
|
IMPORT(REPORT,XMLTMP) | ;Call layer for IMPORT2; created to maintain backward
|
|
IMPORT2(REPORT,XML,SAVEIT) | ; Imports Template Fields from XML
; REPORT returns a status for each Template Field ; Template Field Created Successfully REQUESTED NAME^1 ; Template Field Renamed to New Field REQUESTED NAME^0^NEW NAME |
RPC Name | Call Tags |
---|---|
TIU FIELD LOAD | LOAD |
TIU FIELD SAVE | SAVE |
TIU FIELD IMPORT | IMPORT |
TIU FIELD EXPORT | EXPORT |
TIU FIELD LOAD BY IEN | LOADIEN |