Initializing help system before first use

# Editing Attachment Properties

The `Attachment.openProperties()` method opens the attachments dialog and automatically navigates to the given attachment so that it can be reviewed or edited.

If the name of an attachment field is passed in as an argument to this method, the dialog will start out in edit mode on that field.

The following attachment fields are supported in edit mode:

- filename: Edit the filename of the attachment.
- description: Edit the description of the attachment.
- Tags: Edit the tags of the attachment.

For example, the following code sets up a button which when clicked allows the user to edit the description of a particular attachment:

    ...
    .notify(function (scenario) {
        var inputSheet =
            scenario.getTaggedScenarioAttachments('input-sheet');
        if (inputSheet.length) {
            $('button#download-readme').off('click')
                .prop('disabled', false);
            $('button#download-readme').click(function () {
                inputSheet[0].openProperties('description');
            });
        } else {
            // No input sheet available.
            $('button#download-readme').prop('disabled', true);
        }
    })
    ...

Parent Topic The Attachments API

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.