Creo Elements/Direct Model Manager Customization Guide
Welcome
Customization summary
XML Customization
Running Creo Elements/Direct Model Manager
XML File Management
The basic structure of wmconf.xml
How to
XML basics
Introduction to XML
What is XML
Why XML
Example XML document
Attribute values
XML rules
Review questions
Use a localization catalog
Extend an existing class
Create a pseudo attribute
Define versions
Configure Table Column Models
Use Frame Filters
Message File Handling
Add attributes to a class
Add attributes to a class
Attribute display characteristics
Configure integer effectivities
Configure the release process
Add states to the release process
Enable Subscriptions and Notifications
Deploy XML customizations
Disable Event Notification
Edit Preferences
Valid XML tags
<Accept>
<Action>
<ActionMenuModel>
<ActionMenuSection>
<AddPreviewButton>
<AdminContactEmail>
<AdminPanelFactory>
<Advanced>
<Aggregate>
<AllowChangeOwnerAction>
<AllowCreate3DPackage>
<AllowCreateExchange3D>
<AllowLocalChangesToBOMReportPositionNumbers>
<AllowUserOverwrite>
<AnnotationClass>
<AnnotationFrameRegister>
<AnnotationLoadTableColumnModel>
<AnnotationSaveTableColumnModel>
<arbitrary_tag>
<Attribute>
<AttributeEditorClass>
<AttributeValuesInitializedListener>
<AuditTrail>
<AutoReleaseDrawing>
<AvailableLoadRules>
<BillOfMaterials>
<BOM_INDICATOR>
<BomBuilder>
<BomCompareTableColumnModel>
<BomConfigTableColumnModel>
<BomDrawingFilters>
<BomEditTableColumnModel>
<BomManagerMenuBarMenu>
<BomPositionFlag>
<BomScanTableColumnModel>
<BomTable>
<BomTableColumnModel>
<BuiltOSMXferDataModelListener>
<BusinessObjectClass>
<CanCreateInUI>
<CanReserve>
<cardinality>
<ChangeIndexAttributeName>
<ChangeNoteClass>
<ChangeStateAction>
<CheckDrawing>
<Class>
<Class extends>
<ClassDefs>
<ClassDescription>
<clear/>
<Column>
<ColTypeRefreshTimeout>
<ColTypeTableAttribute>
<CommandLoaderClass>
<Comparator>
<ConsoleCommand>
<ConsolidatedReport>
<ConsolidatedReportTab>
<ContentsIDAttributeName>
<CopyBomLinkAttributesTableColumnModel>
<CreateElementListener>
<CreateNewParts>
<CreatePartDuringScan>
<CustomAttribute>
<DataDictionary>
<DataType>
<DbServer>
<DbServerWANProxy>
<Default/>
<DefaultAnnotationBomFlagRegister>
<DefaultBomPositionFlagName>
<DefaultBomTableName>
<DefaultFileCharset>
<DefaultFileStorageType>
<DefaultNameFormat>
<DefaultPartClass>
<DefaultScanLevel>
<DefaultSearchValue>
<DefaultSendToCADReportConfig>
<DefaultSendToMenu>
<DefaultThumbnailActionFormat>
<DefaultValue>
<DefaultWorkspaceTableColumnModel>
<DeletedIconFile>
<DeleteReportTableColumnModel>
<Deny>
<Description>
<DescriptionAttributeName>
<DisplayDateFormat>
<DisplayFormat>
<DisplayInModeling>
<DisplayName>
<DisplayOnlyWhenNew>
<DMDefaultWorkspaceTableColumnModel>
<DraftingClass>
<DraftingFrameRegister>
<DraftingLoadTableColumnModel>
<DraftingSaveTableColumnModel>
<DragIconFile>
<DrawingMasterdataHandling>
<DrawingVersionsMustBeSameClass>
<DTDefaultWorkspaceTableColumnModel>
<EditBomTableColumnModelClass>
<EditorClass>
<EDrawingSaveTableColumnModel>
<EmailServerType>
<Enable2d3dSave>
<EnableAnnotationBomRegister>
<EnableClashAnalysis>
<EnableCompare>
<EnabledDuringSave>
<EnableHistory>
<EnableInPacketDMSNames>
<EnableLightweight>
<EnableMMQueue>
<EnableMIFileVerification>
<EnablePackets>
<EnableProjects>
<EnableSModelMigration>
<EnableSplits>
<EnableTaskAgent>
<EnforcePacketPolicyForRevisioning>
<EnforceSameSysIDForVersioning>
<ExcludeSearchClassName>
<ExcludeSearchStates>
<ExplorerPanel>
<Expression>
<Extension>
<FileFilter>
<FileIcon>
<FileNameFormat>
<FileServer>
<FileType>
<FilterClass>
<FilterNonProjectPackets>
<FolderContentsTCM>
<ForceChangeNoteCreation>
<ForceLoadAsPartVersion>
<Format>
<FormatAttributeName>
<FrameFilters>
<GenerateUniqueNameForModels>
<GenerateUniqueNameForWorkplanesAndContainers>
<Group>
<Handlers>
<IBOMSendToCADFactory>
<IconFile>
<Icons>
<IncludeIn2DBOM>
<IncludeInLayoutManager>
<Index>
<InitialPositionNumber>
<InitialRev>
<InitialRunnable>
<InitialState>
<InstanceNameAttributeName>
<IsDefaultConfigurableByUser>
<IsLinkAttribute>
<IsPartAttribute>
<IsPseudoAttribute>
<IsUserName>
<JobSpoolerServer>
<Key>
<LeaveAsReference>
<LibraryBlankMax>
<LibraryModelDuplicateConflictCheck>
<LibraryPartClass>
<LicenseServer>
<LinkClassName>
<LoadMasterdataForAllModels>
<LoadRule>
<Locale>
<LocaleFilter>
<Login>
<LoginCompleteListener>
<MainMenuBarMenu>
MAJOR_REV
<ManageBomPositionsTableColumnModel>
<ManageParts>
<Mappings>
<MasterdataReviseCopyAllChildren>
<MasterInPacketWithProjectsEnabled>
<MaxFilesToKeep>
<MimeMapping>
<MimeType>
<MimeTypeMap>
MINOR_REV
<ModelIDAttributeName>
<ModelIDNameAttributeName>
<ModelIDVersionAttributeName>
<ModelingStructureCompareTableColumnModel>
<ModelObjTypeAttributeName>
<ModelVersionsMustBeSameClass>
<Module>
<Name>
<NameAttributeName>
<NameFormat>
<NumberOfSpacesForControlChar>
<NewIconFile>
<NotificationMailServer>
<NotificationMailServerEmail>
<NotifyAllInGroupOnPacketSend>
<NumberOfBlanksForNewLineReplacement>
<NumberOfRowsInTextAreaEditor>
<NumericOnly>
<ObjectDisplayName>
<OffSetAttributeName>
<Options>
<OSDCSLFile>
<OSDLoadTableColumnModel>
<OSDMergeTableColumnModel>
<OSDSaveTableColumnModel>
<OSDUpdateTableColumnModel>
<OVERWRITES>
<PackageSaveTableColumnModel>
<Parameters>
PartClassName
<PartHistoryClass>
<PartHistoryManagement>
<Password>
<PlotOptions>
<PositionNumberIncrement>
<PostApplyListener>
<PreApplyListener>
<Preference>
<PrinterFilter>
<PropertyTab>
<Protect>
<ProtectUnlessNew>
<QueryAttributeEditorClass>
<QueryClassMap>
<QueryDisplayDateFormat>
<QueryLimit>
<ReadOnlyModelLibraryClass>
<RecentlyUsedInitialMaxSize>
<Relation>
<ReleasedState>
<ReleasedStates>
<ReleaseLevel>
<ReleaseProcess>
<RemoveActionFromMenu>
<RenameAlias>
<ReportTab>
<Reset>
<RevisionAttributeName>
<RollingNumberGeneratorName>
<RollupAttribute>
<SaveScaleAsFloat>
<ScanBOMAsPerLevel>
<Searchable>
<SearchClassName>
<SearchTaskBarItem>
<SecondRev>
<SendPseudoAttributeTextReferencesToCad>
<ShowDrawingAsHighestVersion>
<ShowErrorMessageForFrameExport>
<ShowFilesInWebService>
<ShowModelStatusForAllDrawingVersion>
<SoftwareDistributionServer>
<SoftwareUpdatePollingInterval>
<SortChildren>
<SortFileNameFormat>
<SortNameFormat>
<SortOrder>
<SourceAttributeName>
<SPARES>
<StateAfterRelease>
<StateBased>
<StateChangeListener>
<StateOfOlderVersionsAfterRelease>
<StateOrders>
<StopReassociationOnError>
<StoreTypeOrder>
<StoreUncompressedFilesInWebService>
<StructureCompareTableColumnModel>
<StructuredReportTab>
<Suffix>
<TableColumnModel>
<TargetAttributeName>
<TargetClassName>
<TemporaryDirectoryLockTimeout>
<ThumbnailAction>
<Title>
<toBizClass>
<TransactionPreApplyListener>
<TrimDotNumberFromInstanceName>
<Type>
<UncompressFilesForUrl>
<UniqueInKeyOrder>
<UseExternalThumbnailViewer>
<UseModelName>
<UseSameChangeIndexForAll>
<UserCacheTimeout>
<VersionAttributeName>
<VersionAttributeNames>
<ViewAsAttachmentInClient>
<Visible>
<VisibleInCreateUI>
<WebServices>
<WebServicesServer>
<WhereUsedColumn>
<Width>
<WMActionMenuClass>
<WMClientInfo>
<WMConfig>
<WMServerInfo>
<WritableIconFile>
XML Troubleshooting Tips
Java Extension
Extension practices
Extending Creo Elements/Direct Model Manager
Extension guidelines
Extensions for multiple customers
Extension debugging strategies
Extension performance strategies
Adding a partner module
Java API
What are Extension APIs?
Creo Elements/Direct Model Manager internal architecture
The Java Class Name Manager
Migrating Customization Code to Java Generics
Extension development environment
How to set up NetBeans
How to start the NetBeans debugger
How to run Creo Elements/Direct Model Manager unit tests
Integrating into the packaging and install process
Creo Elements/Direct Model Manager customization
Basic customization and deployment lab
XML customization lab
Customizing TableColumnModels lab
ColType attributes lab
Business logic extension lab
Load rule customization lab
Action menu extension lab
Extending consolidated BOM calculations lab
Customizing change note indexes
Lab troubleshooting tips
Creating new calculated attribute extension lab
Attaching documents to models
Customizing the Fluent UI
Introduction
Concepts
Customization approaches
Developer Tools
Examples
Builder interfaces and default implementations
XML elements and attributes
General elements
DisplayName
Icon
VisibilityCondition
General attributes
id
ref
weight
java_class
Button elements
Action
Popup
BindPopupToAction
Tooltip
priority (attribute)
Other elements
Tabs
Tab
Group
QuickAccessToolbar
ApplicationMenu
Primary
Secondary
Task Agent Customization
Architectural overview
Task Agent Configuration Files
Customization approaches
Task Agent Job customization
Macro customization
Job configuration xml files
Valid Task Agent XML tags
<Action>
<ActionMenu>
<AllowedInState>
<ChoiceValue>
<ElementColumn>
<Exporter>
<Job>
<JobGroup>
<JobType>
<MultiSelectTable>
<Options>
<OutputFormat>
<PermissionCheck>
<PlotMacro>
<ReloadAnnotationFrames>
<ResultHandler>
<Rotate>
<Scale>
<Schedule>
<TriggerState>
<UI>
Deploying Task Agent customizations
Controlling available printers
Labs
Lab 1: Modifying an existing Job Type
Lab 2: Creating a new Job Type
Lab 2: Overview
Lab 2.1: Job Configuration File and Job Execution Script
Lab 2.2: Configuring Actions to Create Tasks (Job Schedules)
Lab 2.3: Implementing a Job Data Exporter
Lab 2.4: Implementing a Job Result Handler
Lab 2.5: Implementing Job Options
Lab 2.6: Implementing a Permission Check
Lab 2.7: Implementing a Job Class
Lab 3: Running jobs with other applications
Troubleshooting
Additional Customizations
Attribute passing utilities
Customize Creo Elements/Direct Modeling's Model Manager menu
Saving .pkg files from another database
Watermarks for PDF generation
Command handler for Creo Elements/Direct Modeling or Creo Elements/Direct Drafting
Get the Creo Elements/Direct Manager Server schema
PDF customization
Add pseudo attributes to send to Creo Elements/Direct Drafting
Customize the Number Generator List
Customizing the TreeNodeDisplayProperties
Company Library Parts
Creo Elements/Direct Manager Services
Introduction to Creo Elements/Direct Manager Services
Transaction Listener Processor
Transaction Listener Processor Architecture
Transaction Listeners
Transaction Listener lab
Taks Agent Services
Clash Analysis
Job Schedule Processor
Custom Services
Introduction to Custom Services
Custom Services Lab
Web Services
Web Service Architecture
Web Service Customization
Extending the Web Services
Secure Sockets Layer (SSL) Support for Web Services
Web Service Labs
Add a Reserve Web Service method
How to write a Java client for Creo Elements/Direct Model Manager Web Services
How to write a C# client for Creo Elements/Direct Model Manager Web Services
Web Client
Web Client Architecture
Web Client Customization
Web Client Labs
Customizing the web page layout
Add a Reserve button to the web page
The CustomServiceControllerConfig.xml file
Start, Stop, or Restart the Java Services
Valid Service Configuration XML tags
<AdditionalClasspath>
<AccessLogAppend>
<AccessLogEnabled>
<AccessLogExtended>
<AccessLogFormat>
<AccessLogLatency>
<AccessLogRetainDays>
<AccessLogTimeZone>
<Area>
<Classpath>
<CleanupInterval>
<ConfigurationFile>
<DebugOptions>
<DefaultLogLevel>
<DefaultUser>
<DisableCleanup>
<ExceptionHandler>
<Executable>
<enabled>
<EnableHTTPFileAccess>
<FileHandlerLogLevel>
<HttpEnabled>
<HttpPort>
<java_class>
<JvmArgs>
<KeepDoneJobsForMinutes>
<LogAppend>
<LogFile>
<LoggerLevel>
<LogTimeStamps>
<LicenseServer>
<MaxAge>
<MaxExecTimeInHours>
<MaxLogFileSizeInMB>
<MaxOverDueTimeInHours>
<MaxRetryCount>
<MaxWaitForWorker>
<MinFree>
<MortBayDebug>
<Neighbor>
<NioEnabled>
<Password>
<PollIntervalInSeconds>
<Port>
<PublishedAPI>
<ReportPersistentProblemsAfterMinutes>
<RetryIntervalInSeconds>
<RunLevel>
<StartupTimeoutInMinutes>
<SslEnabled>
<SslKeyPassword>
<SslKeyStore>
<SslPassword>
<SslPort>
<SslTrustPassword>
<TransactionListener>
<Username>
<War>
Handling Library Parts in Creo Elements/Direct Modeling and Model Manager
Library Parts in Creo Elements/Direct Modeling
Identifying objects and references in Creo Elements/Direct Modeling
Identifying library parts in Creo Elements/Direct Modeling
Model and Library classes in Creo Elements/Direct Model Manager
Database Schema
Legacy implementations and compatibility (CORP_LIB_3D class)
Saving and Loading Library Parts
Configuration and Customization
Tools for Library Parts
Creo Elements/Direct Model Manager change summaries
XML change summary
Java API change summary
System upgrade information
Reference Topics
<NameFormat>
<NameFormat>
<Group>
<Group>
<AllowCreate3DPackage>
The ModelManagerSetup.min file
code_examples
taskagent
SimpleModelGeometryCheckJobExporter.txt
SimpleModelGeometryCheckJobOptions.txt
SimpleModelGeometryCheckJobPermissionCheck.txt
SimpleModelGeometryCheckJobResultHandler.txt
SimpleModelGeometryCheckPermissionCheck2.txt
SimpleModelGeometryCheckTemplate.txt
acmetransactionlistener.txt
EventService.cs
tl3.txt
TransEventService.asmx.cs
example_classes
acme.txt
acmedtmodel_dt.txt
acmemodel3d_dm.txt
commandprocessor.txt
deploy-rev.txt
modelstoretypeconfigurable.txt
preferences.txt
statechangehandler.txt
TestCustomChangeNote.txt
Welcome
TestCustomChangeNote.txt
CreatingAPartnerModule-91E88395
RegisteringAPartnerModule-91E8937F
InstallJavaNetBeansCreoElementsDire-A04E4553
UpdateYourPath-9623B87C
CreateWorkingDirectories-9623C3E9
ExtractCreoElementsDirectManagerSer-9623E9E3
OpenTheAcmeProject-9623FF56
VerifyServerConfiguration-962407C0
ConfigureTheJavadocDocumentationopt-962418DE
ConfigureDev.properties-962427F0
VerifySetup-96243515
ConfigureDev.properties-9277F10B
StartTheApplication-9277FDEF
AttachTheDebugger-92780963
SpecificTestIdiosyncrasies-967210F1
SetUpTheDevelopmentEnvironment-90C539E8
MakeAChange-90C548E7
CreateADeploymentPackage-90C7C783
DeployToAnotherSoftwareDistribution-90C7FC8A
CreateAModel-92DCC48E
ChangeTheClassNameFormat-92DCD6B0
CustomizeTheMajorRevAndMinorRev-92DE57E8
Re-startCreoElementsDirectModelMana-92DE726F
VerifyCustomizedVersionStringOption-92DE9D15
AddIndexTags-92DEB8F9
DeployTheCustomXMLFile-92DEC927
VerifyInitialBehavior-90DE0D1B
AddNewColumnsAndCustomTitles-90DE244B
AddTheDD_FULLNAMEDataDictionaryToTh-8ECFEA8E
AddTheExtensionToTheXMLFile-A058FA81
VerifyTheTabularPickList-8ED05A6E
ExtendTheJavaCode-94FBE4C9
AddTheExtensionToTheXMLFile-94FBF372
TestTheExtension-94FC05E2
DeployTheExtension-94FC17D2
ExtendJavaCode-926ABAFC
AddTheLoadRuleToTheXMLFile-926AB58A
TestTheCode-926AC01C
CreateTheActions-8EBCD545
AddTheExtensionToTheXMLFile-8EBCF1C9
TestTheCode-8EBD0344
CreateATestBOM-914FFBBE
ExtendTheMasterdataSchema-91500A90
AddAPseudoAttributeToMasterdata-915025A2
TestTheCalculation-91503A22
CreateTheNewTestCustomChangeNoteCla-90D111B7
EditTheXMLFileToUseTheNewBusinessLo-90D1250F
TestTheCode-90D12B87
ExtendTheJavaCode-8F4404E6
AddTheExtensionToTheXMLFile-8F441398
TestTheExtension-8F4074DB
CreateTheAttributeEditor-8F442B97
RegisteringTheEditorInTheXMLFile-8F443D64
DeployTheExtension-8F444C43
CustomizeTheFilenameGeneration-8D2D5A27
StoreTheViewableInADirectoryOnTheSe-8D2E6771
RebuildCreoElementsDirectModelManag-8D2E80BE
AddTheCommandHandler-960C5AF1
CreateACommandHandlerClass-960C658D
CallAtStartup-960C79AB
CallTheCADApplication-960C829E
RegisterTheTransactionListenerInThe-92FE93D0
CreateTheBasicJavaCode-92FE9792
TestTheTransactionListener-92FE9A8B
DeployTheTransactionListener-92FEA15C
GeneratingSSLCertificateAndKeysWith-96796EB1
HowToSetUpACorporateLibraryClass-0C7A5C19