Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Get TemplateInfo

Use this command to retrieve user group assignments of templates to an ASCII file.

You can use the Get Template commands (Get Template and Get TemplateInfo) in conjunction with the PublishTemplate command to migrate templates from one environment to another.

Publishing or unpublishing allocation patterns must be defined to all user groups.

Syntax:

GET TEMPLATEINFO Group|All TemplateType|All FileName|All [@GroupFile ] [@CategoryFile]

where:

  • Group is the user group name or All for all user groups.
  • TemplateType can be one of the following:
    Value Description

    Report

    To retrieve report templates.

    All

    To retrieve all template types.

  • FileName is the file name of the template (including the file extension) or All for all templates.
  • GroupFile is the file name for the ASCII file containing template user group assignments. If you don’t specify a name for the category file, the default is template.idx. The group file has the following syntax:

    Group{TemplateType{FileName

  • CategoryFile is the file name for the ASCII file containing template category assignments. If you don’t specify a name for the group file, the default is template.cat. The category file has the following syntax:

    FileName{Category

  • If no GroupFile is specified, the GroupFile is given the default name (template.idx) and created in the working folder.
  • If no GroupFile or CategoryFile is specified, the file is saved in the working folder with the default name (template.idx for group files, template.cat for category files).

Syntax example:

GET TEMPLATEINFO All Report All

GET TEMPLATEINFO All Report All @groups.idx @categories.cat

See also

Published:

Get TemplateInfo

Use this command to retrieve user group assignments of templates to an ASCII file.

You can use the Get Template commands (Get Template and Get TemplateInfo) in conjunction with the PublishTemplate command to migrate templates from one environment to another.

Publishing or unpublishing allocation patterns must be defined to all user groups.

Syntax:

GET TEMPLATEINFO Group|All TemplateType|All FileName|All [@GroupFile ] [@CategoryFile]

where:

  • Group is the user group name or All for all user groups.
  • TemplateType can be one of the following:
    Value Description

    Report

    To retrieve report templates.

    All

    To retrieve all template types.

  • FileName is the file name of the template (including the file extension) or All for all templates.
  • GroupFile is the file name for the ASCII file containing template user group assignments. If you don’t specify a name for the category file, the default is template.idx. The group file has the following syntax:

    Group{TemplateType{FileName

  • CategoryFile is the file name for the ASCII file containing template category assignments. If you don’t specify a name for the group file, the default is template.cat. The category file has the following syntax:

    FileName{Category

  • If no GroupFile is specified, the GroupFile is given the default name (template.idx) and created in the working folder.
  • If no GroupFile or CategoryFile is specified, the file is saved in the working folder with the default name (template.idx for group files, template.cat for category files).

Syntax example:

GET TEMPLATEINFO All Report All

GET TEMPLATEINFO All Report All @groups.idx @categories.cat

See also

For an optimal Community experience, Please view on Desktop