...
Now let's talk about how you write such groovy script. You have access to various details about file and project properties. You can make decision based on available variables about file, then return appropriate Object Type Code, or you can return null in which case FlexDeploy will make determination based on default logic as documented in EBS Object Types Reference.
Match Script Variables
Variable Name | Example using /path1/path2/APXSOBLX_1.rtf |
---|---|
| /path1/path2/APXSOBLX_1.rtf |
| APXSOBLX_1 |
| /path1/path2 |
| rtf |
| path2 |
| <content of file as array of Strings> (one element per line) |
Project Properties - Code for each property can be used in script | |
| 122703 |
| XXHR |
| / FlexDeploy / EBS |
Return FILE_CONTENT_NEEDED as Boolean.TRUE if file content is necessary to derive attribute defaults or return Boolean.FALSE.
Also, return one of the following object types when you can derive type, otherwise return null and FlexDeploy will determine object type in the usual manner.
EBS Object Type Codes
Code to be Returned | For Type |
---|---|
| Oracle Application Framework (OAF) JAVA Workflow XMLs Oracle Application Framework (OAF) MDS Concurrent Program SQLs Java Stored Procedures DB Objects (SQLs) XML Definition Files (XDF) SQL*Loader Java Loader Text (JLT) Application Object Library (AOL) Forms Reports Workflow Definitions Libraries Publisher Files Program Files Font Files Scripts Perl Modules Media Files HTML (Web) Files Other Files Web ADI Data Fixes Functional Setups Script With Execution Ignore the file completely |