CREATE_VARIANT_WITH_FILES/URL/TABLE/AS_TABLE

The following four methods are available for creating language and format variants:

  • CREATE_VARIANT_WITH_FILES

  • CREATE_VARIANT_WITH_TABLE

  • CREATE_VARIANT_WITH_AS_TABLE

  • CREATE_VARIANT_WITH_URL

The difference between these methods is the source from which the data is retrieved - as is the case with CREATE_WITH_FILES , CREATE_WITH_TABLE, CREATE_WITH_AS_TABLE and CREATE_WITH_URL . The source may be a file name, a table or a URL.

The application object (Document Set) is identified by the attributes described in the section Parameters . The variant is identified by the attributes that are also described in the section Parameters.

The new variant is identified by the following parameters:

  • NEW_DOC_VAR_ID

New variant ID

  • NEW_DOC_VAR_TG

New variant tag

The variant tag can take the following forms:

  • Original

  • Language variant

  • Format variant

One of these forms of variant must be transferred when this method is called. The new variant ID is returned.

The parameter PROPERTIES is used instead of the parameter SIGNATURE (see section Properties table ).

The method CREATE_VARIANT_WITH_FILES is identified by the additional parameter FILES (see section File Table ).

The method CREATE_VARIANT_WITH_TABLE is identified by the following additional parameters (see sections Component Table and Content Table ):

  • COMPONENTS

  • CONTENT

The method CREATE_VARIANT_WITH_AS_TABLE is identified by the following additional parameters (see sections Component Table and Content Table ):

  • COMPONENTS

  • ASCII_CONTENT

The method CREATE_VARIANT_WITH_URL is identified by the following additional parameters (see sections Component Table and URL Table ):

  • COMPONENTS

  • URIS