company logo

DBObjectHandle :: HTMLGetString - Get html presentation for database object

The function returns the html presentation of the object passed in the ODABA url. In order to create a proper html document, the function action CreateHTMLDoc() must be implemented in the database context.

The function calls HTMLGetFileURL() in order to generate the html file. After the file has been generated, the function reads the file and returns the content.

Return value:  String object ( NString & )

Implementation details

NString DBObjectHandle  :: HTMLGetString ( NString &odaba_url )
  • odaba_url - ODABA url

    An ODABA url is a mean for referring to an object in the database. Usually, the ODABA url is used for providing an HTML presentation of the referenced object.

    There are two types of ODABA url that can be passed:

    • odaba://id@loid, where loid is the object identity of the referenced object instance
    • odaba://path@access_path, where access path is a valid property or operation path.