Salesforce

How Do I Retrieve a Web Page or other URL Content? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Retrieve a Web Page or Other URL Content? (Magic xpa 3.x)

You can retrieve a copy of a web page, or any other URL content, by its URL using the HTTPGet() function.

HTTPGet()

  1. Use HTTPGet() to update a BLOB. The syntax is:

    HTTPGet(URL, Arg1, Arg2, ...)

    Where URL is the web site’s URL, and Argx are additional request header information.

  2. You can save the BLOB as a file using Blb2File().

  3. If the BLOB is a file ending in .htm, you can pass the filename as an OS Cmd and a browser will be called to view the HTML as a web page.

See also

HTTPGet() function in the Magic xpa Help

The Online and Rich Client Samples projects (program EL05 and REL05)

Reference
Attachment 
Attachment