To return the URL under which the Blob content is accessible in the web server, to convert a path (typically the Blob local storage path) into a URL.
Must be a variable or attribute of Blob data type (or based on an attribute or domain of Blob data type).
It returns the URL under which the Blob content is accessible in the web server. To be used in cases where the user needs to know this URL. For example, it should be used when loading an image with the LoadBitmap function:
&Url = PathToUrl(BlobAttribute)
&Logo = LoadBitmap(&Url)
Suppose the web application is stored in c:\webapp, and the Blob local storage directory property is set to c:\webapp\dir, and the URL of the application is http://server/webapp/myapp.aspx.
&AttBlob Blob (based on AttBlob which is of the Blob type)
for each where ...
&AttBlob = AttBlob
&URL = PathToURL(&AttBlob)
Then, &URL will contain something like http://server/webapp/dir/file1234.jpg.
Blob data type