Can I modify a built-in CMS property?

The Content hub folders only allow for 50 characters, but ideally for our project they would be a little longer. I know I can update cms.contentfolder.xml to set the length to something greater, but that doesn't seem recommended, and it also doesn't address the fact that the UI won't allow it either (see picture).

So is there a way to customize that?


Environment

  • Xperience by Kentico version: [30.12.2]

  • .NET version: [8]

  • Execution environment: [Private cloud (Azure)]

Tags:
.NET Custom modules

Answers

Accepted answer

You can do anything you want 🤗 ... but I don't recommend it.

  • There might be UI length validation that uses the same settings as the database column size. We can't support any problems you encounter due to these being different.
  • Applying Refreshes or Hotfixes could revert your change. You would be responsible for adjusting it every time that happens.

I don't know the implementation details of the content hub folder names, but as a related example ActivityInfo.ActivityValue truncates any value assigned to it to 250 characters in the API before saving to the database. This means increasing the database column size wouldn't enable longer values to be saved through the API.

Instead, give us an example of your use-case and submit feedback on the roadmap.

"Content hub folders only allow for 50 characters" is something I have run into as well. I've brought it up with the support team and product team somewhat recently.

I do agree with Sean. It is not typically recommended to update a system field for the reasons he states. But if you are going to update it, don't forget the database table, that has a field size of 50 as well.

Hope the product team allows us to increase that limit a bit in a future Refresh!

Yes I would hoping for some built-in magical way but it sounds like I'll just have to submit feedback on the roadmap and keep my fingers crossed. Thanks!

To response this discussion, you have to login first.