KBEC-00333 - How to edit properties with slashes in the property name

Summary

The UI will prevent you from creating properties with names that contain / or \, but it is possible to circumvent these checks. Once properties are named as such, trying to access, edit, or delete them will result in errors.

Solution

Use ectool to edit the property, and contain the property name with [].

Examples

Property bar under project foo was accidentally changed to ba/r, and now it can't be accessed, edited, or deleted through the UI. To change its name back to bar, run the following command:

ectool modifyProperty "/projects/test/[ba/r]" --newName "bar"

Applies to

  • Product versions: All
  • OS versions: All
Have more questions? Submit a request

Comments

Powered by Zendesk