Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: TIUSRVT

Package: Text Integration Utility

Routine: TIUSRVT


Information

TIUSRVT ; SLC/JM - Server functions for templates 8/23/2001 [8/19/04 1:57pm];05/31/17 13:19

Source Information

Source file <TIUSRVT.m>

Entry Points

Name Comments DBIA/ICR reference
GETROOTS(TIUY,USER) ;Get template root info
GETPROOT(TIUY,USER) ;Get personal template root info only
GETITEMS(TIUY,TIUDA) ; Returns all children of a non-Template Node
GETBOIL(TIUY,TIUDA) ;Returns a Template's Unexpanded Boilerplate Text
GETTEXT(TIUY,DFN,VSTR,TIUX) ; Expand Boilerplate
ISEDITOR(TIUY,ROOT,USER) ; Returns TRUE if user is a Template Editor
LISTOWNR(TIUY,TIUFROM,DIR) ; Return subset of personal owners
ADDNODE(IDX,TIUDA,INTIUY) ;Adds template node info
NODEDATA(TIUDA) ;Returns template node data
NP(PNUM) ;Returns the piece of the node
HASITEMS(TIUDA) ; Returns Has Children flag (0=NONE,1=ACTIVE,2=INACTIVE,3=BOTH)
SETTMPLT(SUCCESS,TIUDA,TIUX) ; Create/update a TEMPLATE
CREATE(NAME,TYPE) ; Get or create TEMPLATE record
DELETE(SUCCESS,TIUDA) ; Delete TEMPLATES
; Pass TIUDA as array of record numbers to be deleted by reference
; SUCCESS will be returned as the actual number of templates deleted
ZAP(DA) ; Call ^DIK to remove an entry - CAREFUL...NO CHECKS
SETITEMS(SUCCESS,TIUDA,TIUX) ; Change ITEMs of a group, class, or root
; Receives:
; TIUDA=IEN of TEMPLATE record
; TIUX(SEQ)=IEN of item
; Returns:
; SUCCESS(SEQ)=IEN of item if successful, or
; 0^ Explanatory message if not
CLRITMS(TIUDA) ; Remove all items from a group, class, or root
OBJLST(TIUY) ; Get the list of active objects
BPCHECK(TIUTY,TIUX) ; Checks objects in boilerplate text.

Used in RPC

RPC Name Call Tags
TIU TEMPLATE GETROOTS GETROOTS
TIU TEMPLATE GETITEMS GETITEMS
TIU TEMPLATE GETBOIL GETBOIL
TIU TEMPLATE GETTEXT GETTEXT
TIU TEMPLATE ISEDITOR ISEDITOR
TIU TEMPLATE GETPROOT GETPROOT
TIU TEMPLATE LISTOWNR LISTOWNR
TIU TEMPLATE CREATE/MODIFY SETTMPLT
TIU TEMPLATE SET ITEMS SETITEMS
TIU GET LIST OF OBJECTS OBJLST
TIU TEMPLATE DELETE DELETE
TIU TEMPLATE CHECK BOILERPLATE BPCHECK

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^TIU(8927 - [#8927] Classic Fileman Calls
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call