Versions Compared

Key

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

Partial Package-based deployment project file attributes are automatically defaulted by FlexDeploy during Populate from SCM / Populate from Backend or when you Evaluate file(s) at a later time. Attributes are defaulted during populate or evaluate by FlexDeploy unless it was manually set by user at any point. If attribute was manually entered by user, you will see darker border around the component on files screen. If necessary, you can change defaults behavior for your implementation using Defaults Override Script. Follow details in this document to perform specific overrides.

...

Access object type details screen by using menu Menu option - Administration - Customize - Object File Types.

...

Defaults override can be done for any attribute for any object type. Find specific attribute using search controls. Then click on No or Yes in Defaults Overridden? column for attribute.

...

Following variables are available for use in the Groovy script along with Project Properties.

Variable Name

Example using /path1/path2/APXSOBLX_1.rtf

FILE_PATH

/path1/path2/APXSOBLX_1.rtf

FILE_NAME

APXSOBLX_1

FILE_PATH_PREFIX

/path1/path2

FILE_EXTENSION

rtf

PARENT_FOLDER

path2

FILE_CONTENT

<content of file as array of Strings> (one element per line)

Project Properties - Code for each property can be used in script


PROJECT_ID

122703

PROJECT_NAME

XXHR

FOLDER_PATH

/ FlexDeploy / EBS

Tip

You can use PROJECT_ID, PROJECT_NAME, FOLDER_PATH variables in script if you want different behavior for specific Project(s).