NetDocuments Component RRTs

Component RRT ID

The RRT ID for this component is NDS.

Reserved Replacement Tag Names (RRTN)

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

Label RRTN Description
Internal RRTNs

File Name

FileName

The original filen ame value without extension.

File Extension

FileExt

The original file extension.

Document Counter

Counter

An incremental counter based on the duplicate file names found within a directory. The counter concatenated with the name provides a unique file name.

Full File Name

FileFullName

The original filen ame with extension.

Guid

Guid

The new globally unique identifier (GUID) value

External RRTNs

Full File Name

UploadedFileFullName

The original filename (with extension).

File ID

UploadedDocumentId

The ID of the uploaded document.

The following example provides some sample usage:

~NDS::FileName~
is replaced with the value "Accounting" if the original file name was "Accounting".

Special Set Replacement Tag Names (SSRTN)

The component supports the following SSRTNs:

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.

An example for the above SSRTN:

~NDS::%Y~-~NDS::%m~
is replaced by "2020-03".