Field |
Description |
Date |
Use to add a custom date to the calendar. |
Date Range |
Use to add a date range to the calendar. |
Week and Day |
Use to add an e Annotation element to the other elements inclusion list If docType.hasElementType("Annotation") And docType.hasElementType("Article") Then docType.addElementToInclusions "Annotation", "Article" End If End If End If End Function doaddElements() m rootElem rootElem = docType.name ' Application.Alert rootElem If rootElem = "Article" And Not docType.hasElementType("Annotation") Then ' add Annotation element docType.addElement "Annotation", "Annotation" , True , False ' check if element is added (it won't for schemas) If docType.hasElementType("Annotation") Then ' add attribute UserName docType.addAttribute "Annotation", "UserName", "", 0, 0 |