SupportsBackfill Function

This function is called by HotDocs to determine if the answer source supports back-filling of modified field values. If HD_FAILURE (0) is returned then HotDocs will not call GetFieldAccess or GetFieldAccessW for each field and will not allow any values modified in HotDocs to be written back to the answer source (back-filled).

This function was introduced with the release of HotDocs 2005 SP2. Earlier versions of HotDocs will not call this function.

Syntax

long SupportsBackfill ( )

Return Value

Return HD_SUCCESS (1) if back-filling is supported, and HD_FAILURE (0) if otherwise.

Example (Visual C++)

The following Visual C++ example returns HD_SUCCESS to indicate that the answer source supports back-filling:

long WINAPI SupportsBackfill()

{

  return HD_SUCCESS;

}