rbv_api.getHostedAsText()
Purpose
Returns the content of a hosted file as a string. This method only works for text-based files such as those with extensions of .xml, .html, and .txt. This method only works with native Platform objects.
Syntax
rbv_api.getHostedAsText(origId)
Parameters
origId
Original ID of hosted file
Return value
Content of hosted file as a string or NULL if file doesn't exist