This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

NPM: Custom Property Default Values

It would be nice to have the ability to set default values for custom properties, outside of modifying the database columns directly.  While we are able to work around this, we are at risk of losing support when performing upgrades etc.  Not having default values results in NULL for columns of type nvarchar.  Any alert trigger queries that contain logic around that property can create some undesired results, for example

select *

from nodes

where CustProp1 <> "BadNode"

 

will return 0 nodes even if the table has 50 rows with a value of BadNode in the custom property and the other 50 rows with NULL.