Skip to end of banner
Go to start of banner

attachFileFromURL

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Description

Adds an attachment located on an URL path to a selected page.

Parameters

Return Type

Boolean (true/false)

The return value represents the success of the attachment process. If the routine returns true the file was attached successfully.

Example

string url_to_file;
number page;
url_to_file = "http://otherServer/generateForm.aspx?PackageName=customField_10192";
page = 11801;
attachFileFromURL(url_to_file, page);

Result: Returns true if the file is at the selected location and the issue exists, meaning the file was attached. Returns false if any of the conditions stated before are not met.

See also

  • No labels