Versions Compared

Key

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

...

The following is a sample component configuration file componentspreferences.properties (as per the name given in the default descriptor):

Code Block
languageactionscript3bash
# Path to maintain the uploaded files. This should be a relative path with respect to
# the root path that is configured as CT_WORK_CENTRALIZED_PATH in the implementation 
# property file.
UPLOAD_TEMP_FOLDER=/FileUpload 

# Provide the max file size in MB (do not include MB). It can be in decimals also.
MAX_FILE_SIZE_MB=10 

# Flag that indicates whether the container layout should be sizable. 
# It is applicable only for the 'n'- column layout and not for the STACK layout.
ENABLE_LAYOUT_RESIZE=Y 

# Flag that indicates whether the app is draggable or not. 
# Possible Values are Y or N.
ENABLE_APP_DRAG=Y 

# Flag that enables responsive grid on the grid views for all the apps that are 
# available in the application. Possible Values are Y or N.
RESPONSIVE_GRID_IND=Y 

# This property is used to define the minimum width of the grid to convert the grid 
# as responsive grid while resizing.
INIT_RESPONSIVE_GRID_WIDTH=350
 
# This property is used to define the DATE column alignment on the grid column. 
# Possible values are "LEFT" or "RIGHT".
DATE_COLUMN_ALIGNMENT = LEFT 

# This property is used to define the AMOUNT column alignment on the grid column. 
# Possible values are "LEFT" or "RIGHT".
AMOUNT_COLUMN_ALIGNMENT = RIGHT 

# This property is used to define the DATE and TIME column alignment on the grid 
# column. Possible values are "LEFT" or "RIGHT".
DATE_TIME_COLUMN_ALIGNMENT = LEFT 

# This property is used to define the path of the user uploaded images. This should 
# be a relative path with respect to the root path that is configured as 
# CT_WORK_CENTRALIZED_PATH in the implementation property file.
USER_IMAGES_FOLDER=/PictureUpload 

# This property is used to restrict the user uploaded image file size.
USER_IMAGES_MAXSIZE=10485760 

# This property is used to define the image formats that can be uploaded by the user.
USER_IMAGE_FORMATS = jpg,png,gif 

# This property defines the google maps URL.
GOOGLE_MAP_URI = https://www.google.com/jsapi
 
# This property is used to define the maximum percentage of zoom on the Google maps.
GOOGLE_MAP_ZOOM=10 

# This property defines the page size of the grid. This will be used for the grid 
# data pagination.
LIST_VIEW_PAGESIZE = 45 

# This property defines the default records for the page of the classic or simple 
# live grid. This will be used for the grid data pagination. 
DEFAULT_RECORDS_PER_PAGE=10 

# This property defines the default pages displaying on the classic or simple live 
# grid. This will be used for the grid data pagination. 
DEFAULT_PAGES_DISPLAY=5 

# Flag that indicates whether the export content has the search result value or not.
# Possible values are true or false.
SEARCH_RESULT_EXPORT_REQD=true 

# This property is used to specify the order of action buttons in the form Container.
# Applicable only for mobile and will be extended to desktop in the near future.
ACTION_BTN_ORDER=PN 

# This property defines the default min height for the widget.
# This is not a mandatory property. The default height is 150.
WIDGETDEFAULTMINHEIGHT=200 

# This property defines the default max height for the widget.
# This is not a mandatory property. The default height is 450.
WIDGETDEFAULTMAXHEIGHT=450
 
# This property indicates whether to enable or disable context messages.
# This is not a mandatory property. The default value is "N".
CONTEXT_MSG_ENABLE=Y 

# This property defines the copy right message.
# This is not a mandatory property. If the property is not configured, it will take 
# the default value as Copyright \u00A9 CT MODELHOUSE 2014
COPYRIGHT_MSG=Copyright \u00A9 CT MODELHOUSE 2014
 
# This property indicates whether to use precompiled template or uncompiled template.
LOAD_COMPILED_TEMPLATE=Y 

# This property indicates whether to audit event data or not.
ENABLE_AUDIT_EVENT_DATA=N 

#This# This property indicates whether to generate query or not.
ENABLE_QUERY_GENERATOR=N 

# This flag indicates whether the keyboard nevigation is enabled for grids. Possible
# Possible values are Y or N.
ENABLE_KEYBOARD_NAVIGATION=N 

# Flag that indicates whether bridge for entitlement is enabled or disabled. 
# Possible values are Y or N.
ENABLE_BRIDGE_ENTITLEMENT=Y 

...