OneDrive component RRTs

Component RRT ID

The RRT ID for this component is ODR.

Reserved Replacement Tag Names (RRTN)

The following table describes the reserved RTN values for this component:

Name Description
FileName The name of the file without the extension.
FileExt The file extension of the file including the dot (for example, .pdf).
Guid The Globally Unique Identifier (GUID) for the component.
Counter Incremental count of duplicate file names in a directory.
URL All URLs of routed documents separated by the separator that is defined by user in the OneDrive Settings tab.
URL* URL of a routed document of specified index.

The following examples provide sample usage for your reference:

~ODR::FileName~ is replaced by TestFileName.

~ODR::FileExt~ is replaced by .pdf.

Field Replacement Tag Names (FRTN)

This component does not support any FRTN values

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

The following examples provide sample usage for your reference:

The RRT string ~ODR::%Y~-~ODR::%m~ is replaced by 2011-02.