Adding a read-only STRING attribute without a default value

Discussion created by frean04 Employee on Nov 27, 2017
Latest reply on Dec 4, 2017 by giriraj.gupta1

I have always wanted to be able to create read-only attributes without a default (please vote:Ability to create READ ONLY attributes without the need to have a default value)


It is possible with STRING attributes using that little trick.


1) CA PPM gives this error when you're trying to create this attribute without a default value



2) The trick is to type "null" (lowercase) as default value, then save



3) CA PPM accepts it, and "null" is not the default value, but it is NULL 




Unfortunately, this doesn't work for NUMBERS and DATES.


Hope this helps,