TextProperty "Has type" is a declarative property and can only be used on a property or category page.