RetailRichMediaHelper::convertAbsoluteFilePathToRelativeUrl Method [AX 2012]
Convert absolute file path to relative URL.
client server public static str convertAbsoluteFilePathToRelativeUrl(str _absoluteFilePath, str _baseDirectory)
Run On
CalledParameters
- _absoluteFilePath
- Type: str
The absolute file path.
- _baseDirectory
- Type: str
The base directory.
Return Value
Type: strThe relative URL if the absolute file path is under the given base directory, otherwise empty.
Show: