Alfresco component RRTs
Component RRT ID
The RRT ID for this component is ALF.
Reserved Replacement Tag Names (RRTN)
The following table describes the reserved RTN values for this component.
RRTN | Description |
---|---|
FileName | The original name of the file. |
FileExt | The original extension of the file. |
Counter,3 |
An automatically generated number that provides the uniqueness of the file name when used in the rename scheme. The value 3 indicates the number of digit positions that will be used for the counter. For example, ~ALF::Counter,3~ will be replaced with 001. You can change the default value of 3 to any number from 1 to 99. |
GUID | A unique identifier. |
URL,* | The URL of the uploaded file, where * is the index of the uploaded file. This RRT can be only used in the subsequent components in the process. |
URL | The URL of the uploaded files. If the component receives the batch of several documents, this RRT represents the string containing URLs of all uploaded files separated by semicolon. This RRT can be only used in the subsequent components in the process. |
FinalName,index | The final name of the uploaded file, where index (*) represents the index of the uploaded file. This RRT can only be used in the subsequent components in the process. |
FilesCount | The number of the uploaded files. This RRT can only be used in the subsequent components in the process. |
Special Set Replacement Tag Names(SSRTN)
This component supports the Date/Time tag names listed below:
Name | Description |
---|---|
%a | Abbreviated English weekday name (Sun – Sat) |
%A | Full English weekday name (Sunday – Saturday) |
%b | Abbreviated English month name (Jan – Dec) |
%B | Full English month name (January – December) |
%d | Day of month as 2-digit decimal number (01 – 31) |
%H | Hour in 24-hour format (00 – 23) |
%I | Hour in 12-hour format (01 – 12) |
%j | Day of year as decimal number (001 – 366) |
%m | Month as decimal number (01 – 12) |
%M | Minute as decimal number (00 – 59) |
%p | Current locale’s A.M./P.M. indicator for 12-hour clock |
%S | Second as decimal number (00 – 59) |
%U | Week of year as decimal number, with Sunday as first day of week (00 – 53) |
%w | Weekday as decimal number (0 – 6; Sunday is 0) |
%W | Week of year as decimal number, with Monday as first day of week (00 – 53) |
%y | Year without century, as decimal number (00 – 99) |
%Y | Year with century, as decimal number |
Date and time related RRTs are evaluated in Coordinated Universal Time
(UTC) by default. It can be set to use local time, for more details, see Using RRTs.
And example for the above SSRTN:
~ALF::%Y~-~ALF::%m~ will be replaced by 2011-02.