Under Community Review

Make fields unique

It would be helpful for content managers and creators to be able to declare a field unique. There are use cases where fields within a component are internal IDs, and by definition they should be unique. When defining a field unique, the CMS should do a server side validation before saving the component and fail to save it when that ID is already assigned to another component with the same field name.

E.g., if a component contains a field named "Legacy ID", that field is expected to be unique, then a user creates a new component with "Legacy ID" 123, and that ID doesn't exist yet, the component is saved successfully. But if another user creates a new component which also contains the "Legacy ID" field, and gives it a value 123, then the CMS should fail the request to save the component with an error message indicating that ID was already assigned to another component. It'd also be helpful if the CMS could suggest new ID values that are not taken yet.

  • Nice suggestion!

    Have you considered using an extension to support this use case? I believe an Event Handler extension could perform the necessary checks on save, and fail the save if the field value is not unique.

    In Tridion Sites 10.0, the new Experience Space UI also supports custom field extensions. Such an extension could, for example, display a button next to a field which, when pressed, would populate the field with a unique ID.

  • Hi  

    Thank you for your reply.

    I have moved the idea in its right area so now the appropriate development team can take a look at it.

    All the best,
    Georgiana

  • Hi Georgiano Iancu-

    Tridion Sites, CME - 9.5, 10 

  • Hi   

    Thank you for suggesting this idea.We appreciate your input.

    However, it would be really helpful if you could help us with more information, such as the product you are referring to and its version, for example.

    Maybe if you have a screenshot to add, as well, it would help our colleagues even more.

    The reason I am asking for this is because I want to make sure you are getting your idea reviewed by the development team that is dealing with the right product and to do that, I need to move your idea in the right section.

    The section you posted this in is not the right one, as this is related to the Community platform itself, not a certain product. Each product has their own separate section.

    So if you could help us with the details I've asked, it'd be really helpful.

    All the best,
    Georgiana