Share via


extensionAlternateVersionsArray.prefer object

Specifies an equivalent COM add-in or VSTO add-in that must be used in place of the Microsoft 365 Web Add-in for Windows.

Properties that reference this object type:

Syntax

{
  "comAddin": {
    "progId": "{string}"
  },
  "xllCustomFunctions": {
    "fileName": "{string}"
  }
}
{
  "comAddin": {
    "progId": "{string}"
  }
}

Properties

comAddin

Specifies a COM or VSTO add-in that must be used in place of the Microsoft 365 Web Add-in for Windows.

Type
comAddin

Required

Constraints

Supported values

xllCustomFunctions

Required

Constraints

Supported values

Remarks

The comAddin property has the string "com" for historical reasons. It refers to both COM and VSTO add-ins. Similarly, the term "progId" is usually associated with only COM add-ins, but its value can be the name of a VSTO add-in.

Examples

{
 "extensions": [
    {
      "alternates": [
        {
          "prefer": {
            "comAddin": {
              "progId": "ContosoExtension"
            }
          }
        }
      ]
    }
  ]
}

See also