Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Dbschema and DCR Container
carletto
Hi,
I must deploy a DCR that has Container.Item or Container.Replicant.Item Name
it's right the follow code?
<group name="WSSETFON" table="WSSETFON" root-group="no">
<attrmap>
<column name="WSSF_COD_FON" data-type="INTEGER" value-from-field="anagrafica.codice_fondo" is-replicant="no" allows-null="yes"/>
<column name="WSSF_COD_SET" data-type="INTEGER" value-from-field="portafoglio.ComposizioneSettori/[0-10]/nomesettore" is-replicant="yes" allows-null="no"/>
<column name="WSSF_NUM_PRC_FON" data-type="DECIMAL(10,5)" value-from-field="portafoglio.ComposizioneSettori/[0-10]/prcsettorefondo" is-replicant="yes" allows-null="no"/>
</attrmap>
<keys>
<primary-key>
<key-column name="WSPF_COD_FON"/>
<key-column name="WSSF_COD_SET"/>
</primary-key>
</keys>
</group>
merci
Find more posts tagged with
Comments
Migrateduser
Can you also post a sample dcr and datacapture file? Then we can check the value-from-field format.
Mariam
Migrateduser
You need to prepend the container in the value-from-field. Take a look at the attached dbschema.cfg and datacapture.cfg
Migrateduser
Sorry . Forgot the attachment.
Migrateduser
and here is the datacapture.cfg.