Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On InfoboxLabelDatabase PropertyStored AsValueNotes
Basics TabUse JS when generating pagesUSE_JSusejavascriptinpages attributefalseMissing in DXL if checked
Basics TabRequire SSLREQUIRE_SSLrequiressl attributetrueMissing in DXL if not checked
Basics TabDon't Allow URL OpenNO_URL_OPENnourlopen attributetrueMissing in DXL if not checked
Basics TabEnable Enhanced HTML GenerationENHANCED_HTML$AllowPost8HTML item in Icon1Missing if not checked
Basics TabDon't Allow ICAABLOCK_ICAA$DisallowOpenInNBP item in Icon1Missing if not checked
Basics TabDisable Background AgentsDISABLE_BACKGROUND_AGENTSallowbackgroundagents attributefalseMissing if not checked
Basics TabAllow Stored FormsALLOW_STORED_FORMSallowstoredforms attributefalseMissing if checked
Basics TabDisplay Images After LoadingDEFER_IMAGE_LOADINGimageloadsdeferred attributetrueMissing in DXL if not checked
Basics TabAllow Document LockingALLOW_DOC_LOCKINGallowdocumentlocking attributetrueMissing in DXL if not checked
Basics TabInherit OS ThemeINHERIT_OS_THEMEinheritostheme attributetrueMissing in DXL if not checked
Cache Expiry Days (DDE)CSS files $CSSExpires in Icon2setCssExpiry(int), use Integer.MIN_VALUE to remove it. Added in ODA 4.3.0
Cache Expiry Days (DDE)Files $FileExpires in Icon2setFileExpiry(int), use Integer.MIN_VALUE to remove it. Added in ODA 4.3.0
Cache Expiry Days (DDE)Image Files $ImageExpires in icon2setImageExpiry(int), use Integer.MIN_VALUE to remove it. Added in ODA 4.3.0
Cache Expiry Days (DDE)JavaScript Files $JSExpires in Icon2setJsExpiry(int), use Integer.MIN_VALUE to remove it. Added in ODA 4.3.0
Design TabAllow Design LockingALLOW_DESIGN_LOCKINGallowdesignlocking attributetrueMissing in DXL if not checked
Design TabShow in Open DialogSHOW_IN_OPEN_DIALOGshowinopendialog attributefalseMissing in DXL if checked
Design TabInclude in Multi-Db IndexingMULTI_DB_INDEXINGmultidbindexed attributetrueMissing in DXL if not checked
Design TabDon't Mark Modified UnreadMODIFIED_NOT_UNREADmarkmodifiedunread attributefalseMissing in DXL if not checked
Design TabMark Parent on Reply / ForwardMARK_PARENT_REPLY_FORWARDtrackreplyforward attributetrueMissing in DXL if not checked
Design TabInherit Design from Master TemplateINHERIT_FROM_TEMPLATEfromtemplate attributedemoDatabaseDatabase Property determines if the database is set to inherit from a template. Use getTemplateName() to get the name of the template it inherits from. setTemplateName(String) must be used to set / clear the property.
Design TabDatabase File is a Master TemplateDB_IS_TEMPLATEtemplatename attributedemoDatabaseDatabase Property determines if the database is a template. Use getNameIfTemplate() to get the template name. setNameIfTemplate(String) must be used to set / clear the property.
Design TabList as Advanced Template in 'New Application' DialogADVANCED_TEMPLATEadvancedtemplate attributetrueMissing in DXL if not checked
Design TabMultilingualMULTILINGUALmultilingual attributetrueMissing in DXL if not checked
Launch TabRun server-based XPages apps directly on ServerLAUNCH_XPAGE_ON_SERVER$LaunchXPageRunOnServer on Icon1 Missing if not checked
Advanced TabDon't Maintain UnreadDONT_MAINTAIN_UNREADmaintainunread attributefalseMissing in DXL if checked
Advanced TabReplicate Unread MarksREPLICATE_UNREADreplicateunread attributeallUse specific setter, setReplicateUnreadSetting(UnreadReplicationSetting), to set or unset.
Advanced TabOptimize Document Table MapOPTIMIZE_DOC_MAPoptimizetablebitmap attributetrueMissing in DXL if not checked
Advanced TabDon't Overwrite Free SpaceDONT_OVERWRITE_FREE_SPACEoverwritefreespace attributefalseMissing in DXL if checked
Advanced TabMaintain Last AccessedMAINTAIN_LAST_ACCESSEDsavelastaccessed attributetrueMissing in DXL if not checked
Advanced TabDisable Transaction LoggingDISABLE_TRANSACTION_LOGGINGlogtransactions attributefalseMissing in DXL if checked
Advanced TabDon't Support Special Response HierarchyNO_SPECIAL_RESPONSE_HIERARCHYallowspecialhierarchy attributefalseMissing in DXL if not checked
Advanced TabUse LZ1 CompressionUSE_LZ1uselz1 attributetrueMissing in DXL if not checked
Advanced TabDon't Allow Headline MonitoringNO_HEADLINE_MONITORINGallowheadlinemonitoring attribute  falseMissing in DXL if not checked
Advanced TabAllow More FieldsALLOW_MORE_FIELDSincreasemaxfields attribute  trueMissing in DXL if not checked
Advanced TabSupport Response Thread HierarchySUPPORT_RESPONSE_THREADSsupportrespthread attribute  trueMissing in DXL if not checked
Advanced TabDon't Allow Simple SearchNO_SIMPLE_SEARCHnosimplesearch attribute  trueMissing in DXL if not checked
Advanced TabCompress DesignCOMPRESS_DESIGNcompressdesign attribute  trueMissing in DXL if not checked
Advanced TabCompress DataCOMPRESS_DATAcompressdata attribute  trueMissing in DXL if not checked
Advanced TabDisable Auto-Update ViewsNO_AUTO_VIEW_UPDATEnoautoviewupdate attribute  trueMissing in DXL if not checked
Advanced TabDisable Export of View DataNO_EXPORT_VIEW$DisableExport in Icon  1Missing if not checked
Advanced TabAllow Soft DeletionsALLOW_SOFT_DELETEallowsoftdeletion attribute  trueMissing in DXL if not checked
Advanced TabPermanently Delete Documents AfterSOFT_DELETE_EXPIRYsoftdeletionsexpirein attribute  48Use setSoftDeletionsExpireIn(int) to set. If integer.MIN_VALUE is passed, soft deletions are disabled and this attribute reset to 48.
Advanced TabLimit $UpdatedByMAX_UPDATED_BYmaxupdatedbyentries attribute  32Use setMaxUpdatedBy(int) with a value greater than 0. If 0 or less, the attribute is removed.
Advanced TabLimit $RevisionsMAX_REVISIONSmaxrevisionentries attribute  32Use setMaxRevisions(int) with a value greater than 0. If 0 or less, the attribute is removed.
Advanced TabAllow DASALLOW_DAS$AllowRESTDbAPI in Icon  1

0 = NONE, 1 = VIEWS, 2 = VIEWSANDDOCUMENTS

Database Property identifies if it's 1 or 2. Use getDasMode to get specific mode, also accessible directly from IconNote class. Use setDasMode(DASMode) to set. Setter has been in IconNote since ODA 4.1.0 but was only added to DatabaseDesign class in 4.3.0.

Not ExposedDAOSDAOS_ENABLED$Daos in Icon  
LaunchRun server-based XPages apps directly on ServerLAUNCH_XPAGE_ON_SERVER$LaunchXPageRunOnServer  
Not Exposed     
1Must be set via server console command
Not Exposed16Mb Summary FieldsDOCUMENT_SUMMARY_16MB$LargeSummary in Icon1FP8+, must be set via server console command

Setting Database Properties

To set database properties that only take a boolean value, create a DbProperties Map and pass it into setDatabaseProperties() method. Properties that cannot be set or properties that have a specific setter will throw a runtime error with the relevant message. After setting any database properties you need to call DatabaseDesign.save(). If items in the Icon note have been updated, that will automatically get saved.

The Icon note appears to get cached by the session. So there is no point calling the relevant getters to check if a database property like $AllowRESTDbAPIhas been updated - you'll get the value from the start of the request. If you want to check, run a separate subsequent request to the server.

Missing in DXL if not checked