================================================================================
IndentationColumn and IndentationControls with field references
================================================================================

page 1505 "Workflow Templates"
{
    layout
    {
        area(content)
        {
            repeater(Group)
            {
                IndentationColumn = Rec.Indentation;
                IndentationControls = Description;
                ShowAsTree = true;
                field(Description; Rec.Description)
                {
                    ApplicationArea = Suite;
                }
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (page_declaration
    (page_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (area_section
        (area_keyword)
        (repeater_section
          (repeater_keyword)
          name: (identifier)
          (property
            name: (property_name)
            value: (table_relation_value
              (table_relation_expression
                (simple_table_relation
                  table: (identifier)
                  table: (identifier)))))
          (property
            name: (property_name)
            value: (identifier))
          (property
            name: (property_name)
            value: (boolean))
          (page_field
            name: (identifier)
            source: (member_expression
              object: (identifier)
              member: (identifier))
            (property
              name: (property_name)
              value: (identifier))))))))

================================================================================
Case variations for indentation properties
================================================================================

page 50100 "Test Page"
{
    layout
    {
        area(content)
        {
            repeater(TestRepeater)
            {
                indentationcolumn = Rec."Indent Level";
                INDENTATIONCONTROLS = "Name Field";
                showAsTree = false;
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (page_declaration
    (page_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (area_section
        (area_keyword)
        (repeater_section
          (repeater_keyword)
          name: (identifier)
          (property
            name: (property_name)
            value: (table_relation_value
              (table_relation_expression
                (simple_table_relation
                  table: (identifier)
                  table: (quoted_identifier)))))
          (property
            name: (property_name)
            value: (quoted_identifier))
          (property
            name: (property_name)
            value: (boolean)))))))
