Hello. I am using Microsoft Dynamics CRM 4.0. I am trying to copying system attributes from the Case entity to a Custom entity. I followed the tutorial "Copying Attributes from one Entity to Another" on https://blogs.msdn.microsoft.com/dynamicscrmonline/2009/06/05/copying-attributes-from-one-entity-to-another/.
I exported the Case entity and Custom entity customization.xml files and copied the following Title system attribute XML code (from the Case entity) to the Custom entity customization.xml file:
<attribute PhysicalName="Title"><Type>nvarchar</Type><Length>400</Length><ValidForCreateApi>1</ValidForCreateApi><ValidForUpdateApi>1</ValidForUpdateApi><ValidForReadApi>1</ValidForReadApi><IsCustomField>1</IsCustomField><AttributeTypeId>00000000-0000-0000-00aa-11000000001e</AttributeTypeId><DisplayMask>ActivityRegardingName|QueueItemTitle|ActivityPointerRegardingName|PrimaryName|ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForGrid</DisplayMask><Descriptions><Description description="Title of the case." languagecode="1033" /></Descriptions><ImeMode>auto</ImeMode><RequiredLevel>required</RequiredLevel><Format>text</Format><MaxLength>200</MaxLength><displaynames><displayname description="Title" languagecode="1033" /></displaynames></attribute>
The only change I made in the XML code as per the above tutorial was to add <IsCustomField>1</IsCustomField> after the ValidForReadApi tags.
After importing the edited Case entity customization.xml file I get the following error:
""Failure: new_customcase: Invalid name prefix"
Copying custom entities to the Custom entity form works, but system attributes such as the above Title, throws the above error.