Share via


DocumentFileHelper::checkUrl Method [AX 2012]

Checks whether a URL is valid

Syntax

client server public static boolean checkUrl(FilePath _filePath)

Run On

Called

Parameters

Return Value

Type: boolean
true if a URL is valid; otherwise, false.

Remarks

A valid URL either starts with http(s):// or is a valid file path with a valid file name extension. The valid file path can only begin with ftp:// or is a valid URI file path.

See Also

Reference

DocumentFileHelper Class