Initialization Option Author API

source

Configuration options for the source.

Values

Request object key config.item_edit.item.details.source

Type object

This object has the following properties which can be configured.

  • edit boolean

    Controls whether the source field can be changed.

    You would want to use this to prevent authors from changing an Item's source information.

    Default: true

    var initializationOptions = {
        "config": {
            "item_edit": {
                "item": {
                    "details": {
                        "source": {
                            "edit": false
                        }
                    }
                }
            }
        }
    };
  • show boolean

    Controls whether the source field is shown.

    You would want to use this to allow authors to edit the source information for an Item.

    Default: false

    var initializationOptions = {
        "config": {
            "item_edit": {
                "item": {
                    "details": {
                        "source": {
                            "show": true
                        }
                    }
                }
            }
        }
    };
Was this article helpful?