Hi @scusson_9923,
In this case, you'll likely want to select 5
as the type.
For reference, here are the valid types:
//
// Summary:
// Specifies the type of a raft item.
//
// Remarks:
// All types except BinaryFile and TextFile are "regulated" and only allow well-known
// files; for example,
public enum RaftItemType
{
//
// Summary:
// A role configuration plan.
RoleConfigurationScript = 1,
//
// Summary:
// [Uninclused] A Script with .otter syntax is prefered
OrchestrationPlan = 2,
//
// Summary:
// [Uninclused] A Script with .otter syntax is prefered
Module = 3,
//
// Summary:
// A script.
Script = 4,
//
// Summary:
// An unclassified binary file.
//
// Remarks:
// BinaryFiles cannot be edited in a text editor, compared, etc; they are always
// treated as raw content
BinaryFile = 5,
//
// Summary:
// A deployment plan.
DeploymentScript = 6,
//
// Summary:
// An unclassified text file.
//
// Remarks:
// TextFiles can be edited in UI , may have lines replaced on deploy, and can be
// used as templates
TextFile = 7,
//
// Summary:
// A pipeline.
Pipeline = 8,
//
// Summary:
// [Uninclused] Feature is deprecated
ReleaseTemplate = 9,
//
// Summary:
// A job template.
JobTemplate = 10,
//
// Summary:
// Files used with build tools like Dockerfile.
BuildFile = 11
}
I'm not sure if TextFile (7) will work; in Otter it was intended to be used as a text template, which means lines in it are replacement. You may need to play around and see what works.
-- Dean