DataConsts.MODULE_DATA_CONTENT_NODE_TYPE is the parent type for the
custom types. You need to use the type you have created for your entries
instead of the super parent.
HTH,
Jan
On Tue, 2009-11-10 at 09:15 +0100, Benoit Segaert wrote:
> I am currently working on the import of data from external system
> (Sharepoint).
> I decide to use Data Module for list of items.
>
> I developed the import into the Data module (into a specific Type of content)
> but my data is not visible in the admin interface.
> Here is the code I wrote to generate a node:
> Content subnode =
> node.createContent(value,DataConsts.MODULE_DATA_CONTENT_NODE_TYPE);
> node.save();
> subnode.createNodeData("name", value);
> subnode.save();
>
> "node" is the parent folder in the data repository.
>
> Can you help me?
> Benoit
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------