ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMFormAttachmentElement Class / FilenameExpression Property

In This Topic
    FilenameExpression Property
    In This Topic
    Gets or sets an Arcade expression that is evaluated to produce filenames for new attachments. If not specified, a unique name will be generated using the 'AttachmentKeyword' and the current timestamp when the attachment is added.
    Syntax
    Public Property FilenameExpression As String
    public string FilenameExpression {get; set;}
    Remarks
    Unlike other uses of Arcade in forms, the value of this property is the expression to evaluate, not the name of an expression in the form's ExpressionInfos.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also