Using Tokens in File Paths

RETS Connector supports the use of tokens when specifying a file path for media downloads. At runtime, the tokens are replaced with the appropriate value. Tokens are case-sensitive and must be typed in lowercase (e.g., C:\folder\{date}\subfolder\filename_{time}.txt).

Supported file path tokens include:

§  {date} - The current date.

§  {time} - The current time.

§  {field} - Where field is a field name. The token is replaced with the field’s value. This token is supported only for media download file paths.

§  {id} - The identifier for the record to which a media file corresponds. This token is supported only for media download file paths.

§  {index} - Used to enumerate multiple media files for a record. This token is supported only for media download file paths.

§  {type} - A media file’s extension (e.g., .jpeg, .pdf). This token is supported only for media download file paths

.