Create an event attribute on package install

Hi,
I am wanting to add custom attributes to Events when the package is installed.
I have been through the documentation and can see how to create custom attributes but when I try to do so with an Event attribute it isn’t showing.
I noted in the database that the event attribute get given the category key “eventkey” as opposed to “pagekey” but I can’t see how to set this correctly.

Edit: I found out how to do this using CIF I installed the Migration Tool from github and used that to export the required attributes to xml for install.

1 Like

@wintech glad you figured it out. I was going to recommend using CIF. Here’s the documentation for that in case anyone else comes along with a similar issue: Install the Package and Theme :: Concrete CMS.