I am working on Schema creation using Core Service 2011 in SDL Tridion 2011 SP1.
I just wanted to know whether it is possible to create a custom data type (or in fact a validator for a Schema field content) using the Core Services.
For example: I want to create a Schema field with the following details:
- Name:
bodyparagraphtext - Type:
textwith length 10 characters
Can anyone share some ideas on it?
Thank you
Your comment in response to Mihai’s answer suggests what you want is a new schema field type. Tridion schemas support the following field types:
As far as I know, adding to this list is not possible.
Why do you need a new field type? Perhaps with some more detail we can help you find the right solution.
Without knowing more, all I can think of is Application Data. This is a new Tridion 2011 feature that allows you to set custom data against any Tridion item, but this data will not be visible in the Tridion GUI. It can only be set and read using the API.
More details can be found here and here.
If you don’t think this will help you, please provide some more information on the reason for this requirement.