---
title: "DOMINO的所有隐藏域"
author: "qq17906"
date: "2009-02-06T14:26:11Z"
tags: []
slug: "domino"
draft: false
lastmod: "2009-02-06T14:26:11Z"
id: 324031
url: "https://badeggs.iteye.com/blog/324031"
---

/* Standard NSF Field Name/Value Definitions for the Notes product \*/  
/* Very global field names \*/  
#define FIELD\_TITLE "$TITLE"  
#define FIELD\_FORM "Form"  
#define FIELD\_TYPE\_TYPE "Type"  
#define FIELD\_LINK "$REF"  
#define FIELD\_UpdateD\_BY "$UpdatedBy"  
#define FIELD\_NAMELIST "$NameList"  
#define FIELD\_NAMED "$Name"  
#define FIELD\_URL "URL" /* used when copying link to clipboard \*/  
#define FIELD\_UNAME "$UName" /* Universal UNID/Name \*/  
#define FIELD\_CreateD "$Created" /* Created date, if specified overrides UNID created date for @Created \*/  
#define FIELD\_NAVIGATE\_URL "$NavigateToURL"/* used to pass a URL to an embedded web browser control \*/  
#define FIELD\_RELOAD\_REFRESH "$ReloadRefresh"/* used to pass reload/refresh info to embedded web browser control \*/  
#define DESIGN\_CLASS "$Class"  
#define DESIGN\_MODIFIED "$Modified"  
#define DESIGN\_COMMENT FILTER\_COMMENT\_ITEM  
#define DESIGN\_READERS "$Readers" /* Text list of users allowed to read note \*/  
#define FIELD\_ANONYMOUS "$Anonymous" /* Indicates an anonymous document. \*/  
#define DESIGN\_UpdateRS "$Updaters" /* Text list of users allowed to update the folder note \*/  
#define FIELD\_NOPURGE "$NoPurge" /* Note should never be purged. \*/  
#define DESIGN\_RETAIN\_FIELDS "$RetainFields" /* Text list of fields to retain in a  
design refresh \*/  
/* Public Access definitions \*/  
#define FIELD\_PUBLICROLE "$P" /* Reader List role name for public users \*/  
#define FIELD\_PUBLICACCESS "$PublicAccess" /* Note has public access if ACL\_FLAG\_PUBLICREADER is set. \*/

/* Mail note item names \*/  
#define MAIL\_MESSAGETYPE\_ITEM "MessageType" /* Message type. \*/  
#define MAIL\_MESSAGE\_TYPE\_ITEM "$MessageType" /* $MessageType item name \*/  
#define MAIL\_SENDTO\_ITEM "SendTo" /* SendTo item name \*/  
#define MAIL\_COPYTO\_ITEM "CopyTo" /* CopyTo item name \*/  
#define MAIL\_REPLYTO\_ITEM "ReplyTo" /* ReplyTo, used for agents \*/  
#define MAIL\_RESPONSETO\_ITEM "ResponseTo" /* ResponseTo, used for agents \*/  
#define MAIL\_FROM\_ITEM "From" /* From item name \*/  
#define MAIL\_FROMDOMAIN\_ITEM "FromDomain" /* From domain item name \*/  
#define MAIL\_SUBJECT\_ITEM "Subject" /* Subject item name \*/  
#define MAIL\_DISPLAY\_SUBJECT\_ITEM "DisplaySubject" /* Used by reply form \*/  
#define MAIL\_COMPOSEDDATE\_ITEM "ComposedDate" /* Composed date item name \*/  
#define MAIL\_POSTEDDATE\_ITEM "PostedDate" /* Posted date item name \*/  
#define MAIL\_BODY\_ITEM "Body" /* Body item name \*/  
#define MAIL\_INTENDEDRECIPIENT\_ITEM "IntendedRecipient" /* Intended recipient item \*/  
#define MAIL\_FAILUREREASON\_ITEM "FailureReason" /* Failure reason item \*/  
#define MAIL\_DEADFAILUREREASON\_ITEM "DeadFailureReason" /* DEAD Failure reason item \*/  
#define MAIL\_RECIPIENTS\_ITEM "Recipients" /* Recipients list item \*/  
#define MAIL\_ROUTINGSTATE\_ITEM "RoutingState" /* Routing state \*/  
#define MAIL\_SAVED\_FORM\_ITEM "MailSavedForm" /* Delivery report saved form name item \*/  
#define MAIL\_BLINDCOPYTO\_ITEM "BlindCopyTo" /* Blind copy to item name \*/  
#define MAIL\_DELIVERYPRIORITY\_ITEM "DeliveryPriority" /* Delivery priority item name \*/  
#define MAIL\_DELIVERYREPORT\_ITEM "DeliveryReport" /* Delivery report request item name \*/  
#define MAIL\_DELIVEREDDATE\_ITEM "DeliveredDate" /* Delivered date item name \*/  
#define MAIL\_DELIVERYDATE\_ITEM "DeliveryDate" /* Delivery date item name (Confirmation Reports only) \*/  
#define MAIL\_FORM\_ITEM FIELD\_FORM /* Form name item \*/  
#define MAIL\_REPLY\_FORM\_ITEM "ReplyForm" /* Reply form, used for agents \*/  
#define MAIL\_CATEGORIES\_ITEM "Categories" /* Categories field \*/  
#define MAIL\_FROM\_CATEGORIES\_ITEM "FromCategories" /* Sender's Categories field \*/  
#define MAIL\_ROUTE\_SERVERS\_ITEM "RouteServers" /* List of servers routed thru \*/  
#define MAIL\_ROUTE\_TIME\_ITEM "RouteTimes" /* List of TIMEDATE\_PAIRS describing holding times \*/  
#define MAIL\_RECIP\_GROUPS\_EXP\_ITEM "RecipientGroupsExpanded" /* List of recipient group names that have been expanded \*/  
#define MAIL\_RETURNRECEIPT\_ITEM "ReturnReceipt" /* Return receipt requested? \*/  
#define MAIL\_NAMED\_ENCKEY\_ITEM "NamedEncryptionKey" /* Named encryption key. \*/  
#define MAIL\_ROUTE\_HOPS\_ITEM "$Hops" /* Number of routing hops still allowed. \*/  
#define MAIL\_CORRELATION\_ITEM "$Correlation" /* Arbitrary delivery report correlation value. \*/  
#define MAIL\_FORMAT\_ITEM "MailFormat" /* (E)ncapsulated \*/  
/* (T)ext \*/  
/* (B)oth \*/  
#define MAIL\_IMPORTANCE\_ITEM "Importance" /* Send Priority/Importance item \*/  
#define MAIL\_QUALRECIPIENTS\_ITEM "QualRecipients" /* Fully qualified Recipients list item \*/  
#define MAIL\_ORIGNALPATH\_ITEM "OriginalPath" /* original routing path (copy of original message's FromDomain) \*/  
#define MAIL\_TRACE\_ITEM "$Trace" /* Identifies message as a trace file \*/  
#define MAIL\_ORIG\_ITEM "$Orig" /* Global Id used for Billing \*/  
#define MAIL\_DELIVER\_LOOPS\_ITEM "$Loops" /* Number of forwarding loops still allowed. \*/  
#define MAIL\_CLUSTERFAILOVER\_ITEM "$MailClusterFailover" /* Server name mail was delivered to after cluster failover \*/  
/* Appointment form item names \*/  
#define MAIL\_APPT\_BUSYNAME\_ITEM "$BusyName" /* Person/resource the appointment is for \*/  
#define MAIL\_APPT\_STARTTIME\_ITEM "StartDateTime" /* Start time of appointment \*/  
#define MAIL\_APPT\_ENDTIME\_ITEM "EndDateTime" /* End time of appointment \*/  
#define MAIL\_APPT\_SEQUENCE\_ITEM "$Sequence" /* Sequence # of updates \*/  
#define MAIL\_APPT\_BUSYPRIORITY\_ITEM "$BusyPriority" /* Busy/Penciled-in/etc. \*/  
#define MAIL\_APPT\_ATTENDEE\_ITEM "Attendees" /* List of people for which the following items apply \*/  
#define MAIL\_APPT\_ATTENDEE\_STATE\_ITEM "ORGState" /* Chairman, attendee, resource \*/  
#define MAIL\_APPT\_ATTENDEE\_STATUS\_ITEM "ORGStatus" /* Deleted, etc. \*/  
#define MAIL\_APPT\_ATTENDEE\_OPTIONAL\_ITEM "OPTIONAL" /* If TRUE, attendee is optional \*/  
#define MAIL\_APPT\_PREV\_BUSYNAME\_ITEM "$PrevBusyName" /* Previous Person/resource(s) the appointment is for \*/

/* Calendar profile form related \*/  
/* On a profile are eight fields that relate to when a users is available:  
The AvailableDays item corresponds to the checkboxes allowing the user  
to choose which days of the week they work. The resulting item  
will be a textlist which contains the days of the week that they  
work.  
For the days of the week that the user does work, the time ranges are  
read and for each day and assimilated into one item in the busytime  
database that represents the days and time the user or resource  
is available for scheduling.  
The item is encoded as follows:  
DateTime.Lower.Date - a day that corresponds to the day of the week  
.Time - start time of an interval for that day the user works  
.Upper.Date - the same day as the Lower  
.Time - end time of an interval for that day the user works  
These values will repeat for the various times during the day for  
every day of the week that the user works.  
(i.e. The default configuration will be: (for Monday through Friday)  
A Monday, 9:00 AM - A Monday, 12:00 PM  
A Monday, 1:00 PM - A Monday, 5:00 PM)  
NOTE: The encoding does not care which real date is used, it just  
determines what day of the week the date correspondes to..  
\*/  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_AVAILABLEDAYS\_ITEM "$AvailableDays"  
#define MAIL\_CALENDAR\_PROFILE\_OWNER\_ITEM "Owner" /* Owner field in calendar profile form \*/  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_WEEKDAYPREFIX "$Times"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_WEEKDAYSUFFIX ""  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_SUNDAY\_ITEM "$Times1"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_MONDAY\_ITEM "$Times2"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_TUESDAY\_ITEM "$Times3"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_WEDNESDAY\_ITEM "$Times4"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_THURSDAY\_ITEM "$Times5"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_FRIDAY\_ITEM "$Times6"  
#define MAIL\_CALENDAR\_PROFILE\_WORK\_SATURDAY\_ITEM "$Times7"  
#define MAIL\_CALENDAR\_PROFILE\_ENABLE\_ALARMS\_ITEM "EnableAlarms"  
/* Mail delegation profile form related \*/  
#define MAIL\_DELEGATION\_PROFILE\_OWNER\_ITEM "Owner"  
#define MAIL\_DELEGATION\_ALLOWBUSYACCESS\_ITEM "AllowBusyAccess"  
#define MAIL\_UIDL\_ITEM "MailPop3UIDL"  
/* POP3 view names \*/  
#define MAIL\_POP3\_UIDL\_VIEW "($POP3UIDL)"  
#define POP3\_VIEW "($POP3)"  
/* Mail form names \*/  
#define MAIL\_MEMO\_FORM "Memo" /* Standard memo \*/  
#define MAIL\_REPLY\_FORM "Reply" /* Standard memo reply \*/  
#define MAIL\_REPLY\_WITH\_HISTORY\_FORM "Reply With History" /* Standard reply w/history memo \*/  
#define MAIL\_PHONEMESSAGE\_FORM "Phone Message" /* Phone message \*/  
#define MAIL\_DELIVERYREPORT\_FORM "Delivery Report" /* Delivery report form name \*/  
#define MAIL\_NONDELIVERYREPORT\_FORM "NonDelivery Report" /* Non-Delivery report form name \*/  
#define MAIL\_RETURNRECEIPT\_FORM "Return Receipt" /* Return Receipt form name \*/  
#define MAIL\_DATABASEENTRY\_FORM "Database Entry" /* mailin database entry form for libraries \*/  
#define MAIL\_TRACEREPORT\_FORM "Trace Report" /* Trace report form name \*/  
#define MAIL\_CALENDAR\_PROFILE\_FORM "CalendarProfile" /* Calendar profile form name \*/  
#define MAIL\_DELEGATION\_PROFILE\_FORM "DelegationProfile" /* Delegation profile form name \*/  
#define MAIL\_APPOINTMENT\_FORM "Appointment" /* C & S Appointment form name \*/  
#define MAIL\_NOTICE\_FORM "Notice" /* C & S Meeting Notice form name \*/  
#define MAIL\_RESOURCE\_RESERVATION\_FORM "Reservation" /* C & S Resource reservation form name \*/  
#define MAIL\_RESOURCE\_PROFILE\_FORM "Resource" /* C & S Calendar resource profile form name \*/  
/* Address Book - "Person" form item names \*/  
#define MAIL\_PERSON\_FORM "Person" /* Form and type name \*/  
#define MAIL\_FORMTYPE\_ITEM "Type" /* Form type \*/  
#define MAIL\_FULLNAME\_ITEM "FullName" /* Full name \*/  
#define MAIL\_FIRSTNAME\_ITEM "FirstName" /* First name \*/  
#define MAIL\_LASTNAME\_ITEM "LastName" /* Last name \*/  
#define MAIL\_MIDDLEINITIAL\_ITEM "MiddleInitial" /* Middle initial \*/  
#define MAIL\_SHORTNAME\_ITEM "ShortName" /* Short name (for mail gateways) \*/  
#define MAIL\_OWNER\_ITEM "Owner" /* Entry owner name \*/  
#define MAIL\_MAILSYSTEM\_ITEM "MailSystem" /* Mail system item (keyword field: 1,2,3,4) \*/  
#define MAIL\_MAILSERVER\_ITEM "MailServer" /* Mail server name \*/  
#define MAIL\_MAILFILE\_ITEM "MailFile" /* Mail file name \*/  
#define MAIL\_MAILDOMAIN\_ITEM "MailDomain" /* Mail domain name \*/  
#define MAIL\_MAILADDRESS\_ITEM "MailAddress" /* Mail auto-forwarding address \*/  
#define MAIL\_PUBLICKEY\_ITEM "PublicKey" /* Public encryption key \*/  
#define MAIL\_CERTIFICATE\_ITEM "Certificate" /* Public encryption key \*/  
#define MAIL\_LOCATION\_ITEM "Location" /* Location field \*/  
#define MAIL\_COMMENT\_ITEM "Comment" /* Comment field \*/  
#define MAIL\_USERID\_ATTACHMENT "UserID" /* User ID attachment file name \*/  
#define MAIL\_SERVERID\_ATTACHMENT "ServerID" /* Server ID attachment file name \*/  
#define MAIL\_CALENDARDOMAIN\_ITEM "CalendarDomain" /* User's calendar domain override \*/  
#define MAIL\_NETUSERNAME\_ITEM "NetUserName" /* Network Acct Name (for dir synching) \*/  
#define MAIL\_HTTPPASSWORD\_ITEM "HTTPPassword" /* http password \*/  
#define MAIL\_HASHVERSION\_ITEM "$SecurePassword" /* Flag that indicates NoteUpdate should hash HTTPPassword field \*/  
#define MAIL\_STORAGE\_ITEM "MessageStorage" /* Specifies how user wants to store the mail. See IMSG\_STORAGE\_XXX \*/

/* Special form flags \*/  
#define ITEM\_NAME\_KEEP\_PRIVATE "$KeepPrivate"  
#define PRIVATE\_FLAG\_YES '1' /* $KeepPrivate = TRUE force disabling of printing, mail forwarding and edit copy \*/  
#define PRIVATE\_FLAG\_YES\_RESEND '2' /* $KeepPrivate = TRUE same as PRIVATE\_FLAG\_YES except allow resend \*/  
#define ITEM\_NAME\_BACKGROUNDGRAPHIC "$Background"  
#define ITEM\_NAME\_PAPERCOLOR "$PaperColor"  
#define ITEM\_NAME\_RESTRICTBKOVERRIDE "$NoBackgroundOverride"  
#define RESTRICTBK\_FLAG\_NOOVERRIDE '1' /* $NoBackgroundOverride = TRUE Don't allow user to override document background \*/  
#define ITEM\_NAME\_AUTO\_EDIT\_NOTE "$AutoEditMode"  
#define AUTO\_EDIT\_FLAG\_YES '1' /* $AutoEditMode = TRUE force edit mode on open regardless of Form flag \*/  
#define ITEM\_NAME\_SHOW\_NAVIGATIONBAR "$ShowNavigationBar" /* Display the URL navigation Bar \*/  
#define ITEM\_NAME\_HIDE\_SCROLL\_BARS "$HideScrollBars"  
#define WINDOW\_SCROLL\_BARS\_NONE '1'  
#define WINDOW\_SCROLL\_BARS\_HORZ '2'  
#define WINDOW\_SCROLL\_BARS\_VERT '3'  
   
#define ITEM\_NAME\_VERSION\_OPT "$VersionOpt" /* Over-ride the Form flags for versioning. \*/  
#define VERSION\_FLAG\_NONE '0' /* $Version = 0, None \*/  
#define VERSION\_FLAG\_MURESP '1' /* $Version = 1, Manual - Update becomes response \*/  
#define VERSION\_FLAG\_AURESP '2' /* $Version = 2, Auto - Update becomes response \*/  
#define VERSION\_FLAG\_MUPAR '3' /* $Version = 3, Manual - Update becomes parent \*/  
#define VERSION\_FLAG\_AUPAR '4' /* $Version = 4, Auto - Update becomes parent \*/  
#define VERSION\_FLAG\_MUSIB '5' /* $Version = 5, Manual - Update becomes sibling \*/  
#define VERSION\_FLAG\_AUSIB '6' /* $Version = 6, Auto - Update becomes sibling \*/  
/* Document note item names \*/  
#define ITEM\_NAME\_TEMPLATE\_USED FIELD\_FORM /* form name used to create note, user-visible \*/  
#define ITEM\_NAME\_NOTEREF FIELD\_LINK /* optional reference to another note \*/  
#define ITEM\_NAME\_VERREF "$VERREF" /* optional reference to master version note \*/  
#define ITEM\_NAME\_LINK "$Links" /* note link table \*/  
#define ITEM\_NAME\_REVISIONS "$Revisions" /* Revision history \*/  
#define ITEM\_NAME\_CONFLICT VIEW\_CONFLICT\_ITEM /* Replication update conflict \*/  
#define ITEM\_NAME\_AUTHORS "$Authors" /* text list of users allowed to modify document \*/  
/* Document and form note item names, all items are optional \*/  
#define ITEM\_NAME\_FONTS "$Fonts" /* font table \*/  
#define ITEM\_NAME\_HEADER "$Header" /* print page header \*/  
#define ITEM\_NAME\_FOOTER "$Footer" /* print page footer \*/  
#define ITEM\_NAME\_HFFLAGS "$HFFlags" /* header/footer flags \*/  
#define HFFLAGS\_NOPRINTONFIRSTPAGE '1' /* suppress printing header/footer on first page \*/  
#define ITEM\_NAME\_WINDOWTITLE "$WindowTitle"/* window title \*/  
#define ITEM\_NAME\_ATTACHMENT "$FILE" /* file attachment, MUST STAY UPPER-CASE BECAUSE IT'S SIGNED! \*/  
#define ITEM\_NAME\_HTMLBODYTAG "$HTMLBodyTag"/* Override for HTML body tag \*/  
#define ITEM\_NAME\_WEBQUERYSAVE "$WEBQuerySave" /\*WebQuerySave formula \*/  
#define ITEM\_NAME\_WEBQUERYOPEN "$WEBQueryOpen" /\*WebQueryOpen formula \*/  
/* Document note Sign/Seal item names \*/  
#define ITEM\_NAME\_NOTE\_SIGNATURE "$Signature"  
#define ITEM\_NAME\_NOTE\_SIG\_PREFIX "$Sig\_" /* Prefix for multiple signatures. \*/  
#define ITEM\_NAME\_NOTE\_SEAL "$Seal"  
#define ITEM\_NAME\_NOTE\_SEALDATA "$SealData"  
#define ITEM\_NAME\_NOTE\_SEALNAMES "SecretEncryptionKeys"  
#define ITEM\_NAME\_NOTE\_SEALUSERS "PublicEncryptionKeys"  
#define ITEM\_NAME\_NOTE\_FORCESIGN "Sign"  
#define ITEM\_NAME\_NOTE\_FORCESEAL "Encrypt"  
#define ITEM\_NAME\_NOTE\_FORCEMAIL "MailOptions"  
#define ITEM\_NAME\_NOTE\_FORCESAVE "SaveOptions"  
#define ITEM\_NAME\_NOTE\_FORCESEALSAVED "EncryptSaved"  
#define ITEM\_NAME\_NOTE\_MAILSAVE "MailSaveOptions"  
#define ITEM\_NAME\_NOTE\_FOLDERADD "FolderOptions"  
/* Fields used to store the list of folders into which a document is to be  
saved. Note that @Command(\[ChooseFolders]) reads and writes these fields,  
so you do not normally need to manipulate them in a document.  
Note also that to a user, there are only two sets of folders: Shared and  
Private, with the distinction that some Private folders are stored in the  
databse, and some on the workstation in the desktop file (when the user  
cannot store them in the database due to access restrictions). \*/  
#define FOLDERS\_SHARED "$Folders" /* List of shared folders. \*/  
#define FOLDERS\_PRIVATE "$PrivateFolders" /* List of private folders (in database). \*/  
#define FOLDERS\_PRIVATE\_LOCAL "$LocalPrivateFolders" /* List of private folders (in desktop). \*/  
/* Item names of fields in Mail template: \*/  
#define MAILREPORT\_ITEM "$DeliveryReport" /* TBD \*/