VCM does not allow CTD to be changed significantly while having CI of this CTD in system
We have few options in hand:
- If you are using VCM 7.6, you can use Content Type Evolution feature of VCM 7.6 2. If you are using VCM 6.5 or earlier, this feature is not there. Then, you have two options:
- Export all instances of the content type with vgnexport.
- Delete all instances.
- Make the necessary changes to the content type.
- Unpack the exported package and remove the CTD nodes from packageBody.xml. Once this is complete, re-package and import. Skipping this step will cause the old CTDs to be re-imported.
- Import the instances back into the system with vgnimport.
But, import/export is also not very easy to do specially, if you have huge amount of data in system. In this case, you can use:
- Alter the CTD table to add an extra attribute.
- Add this extra attribute to your CTD using AppConsole.
- Try to make it require, it will give you exception.
- Run the query given below against your VCM system database:update vgnasattrdef set required='T' where name='Attribute-Name';where, Attribute-Name is xml name of the attribute which we added and want to make that require.
- Make sure the 1 row updated with last query.
- Restart the vgnvcmserver.
Go to AppConsole and confirm that your attribute is required now.