• Encapsulates the rules for naming a form's data file. Chooses the first parameter that's defined and is not the string "undefined".

    Parameters

    • itemName: string

      Template's item name

    • dataFilename: string

      The data file name

    • itemIdAsName: string

      A name constructed from the template's id suffixed with ".zip"

    Returns string

    A name for the data file