Hi @ogonzalesdiaz ,
To create custom primary key, use the below syntax,
<element label="DTI_XXX" name="DTI_XXX">
<key internal="true" name="customPrimaryKey">
<keyfield xpath="@aaa"/>
</key>
<attribute label="aaa" name="aaa" type="string"/>
</element>
You can remove autopk="tru...