An alternative way to add a metaobject or metarelation to a mapping in a connection is via the Create pane or by using the quick-create pop-up window.  The difference with adding an object or relation by dragging, is that when it is added via the Create pane or quick-create pop-up window, the object or relation does not automatically have a type assigned. So that needs to be done as an additional step. After you have added the element to the diagram, it needs to be linked to an object or relation type from your model. The procedure below is written for adding a metaobject but also applies to metarelations. 

Steps:

  1. In the diagram, select the metaobject, and click the  control.

  2. In the properties window, click the Types tab, click the dotted line, type the name of the object type in the text box, and press Enter.

    First, type the metamodel name followed by a colon and the name of the object type. Use the type id or name, or the translated name of the object type. Example:

    ArchiMate:ApplicationComponent, or
    ArchiMate:Application component

    After pressing Enter, only the object type name remains visible:


The metaobject now represents the application components.

Unlike when you drag an object, the name of the object type is not displayed in the top bar of the metaobject. If you want to see the name of the linked object type, you need to manually change the default name that is shown.