Component ID auto-populates with Japanese characters when setting a Japanese Label

ソフィア平
Tera Contributor

Hi everyone,

I've been working with UI Builder and encountered a slightly frustrating behavior regarding component naming.

Whenever I enter a component's "Label" in Japanese, the system automatically populates the "Component ID" field with the exact same Japanese characters. Since using multi-byte/Japanese characters for IDs is invalid (or at least highly discouraged for development), I have to manually delete and rewrite the ID in English every single time. This becomes quite tedious when building pages.

I have a couple of questions for the community:

Is this auto-fill behavior specific to non-English languages? I assume the system is just blindly copying the Label into the ID field by design, but I'm curious if there's any setting to disable this auto-generation when using double-byte characters.

What is the ServiceNow best practice for naming Component IDs in UIB? Is the intention truly for the ID to perfectly match the Label, or is it better to adopt a standard English naming convention (e.g., btn_submit, card_user_info) regardless of what the display label is?

Any insights, best practices, or known workarounds to make this smoother would be greatly appreciated.

Thank you!

0 REPLIES 0