This content has been marked as final. Show 4 replies
I am not sure why you're using these elements to create a new asset family instead of using the UI. Please look at the documentation in the developer guide how to design and create a new flexfamily.
My requirement is to move content from one webcentre instance to anothe webecentre sites instance which is runnign of other machine.
I can not use publishing for this purpose because it requires proper LAN connection between two machine. I can use xml post utility to post attribute ,defination but it does not creates tables. That's why i m trying to create flex family by code first, before importing content by xml utility.
The best and recommended way to go about this is to use CSDT. CSDT can help you export assets, asset types and flex asset families from system A and import it in system B. The cool thing is that it will keep track of the dependencies and will also import asset structures. So using the export command the assets and related structure will be exported in the [Sites install dir]/export/envision in a sub directory that is specified with the -datastore flag. Once exported copy that directory to the same location on System B and run the CSDT command line tool with the import flag and the datastore flag.
Please take a look at the developer tool guide that explains how you can use CSDT command line tool to do this.
I assume you are on either Sites 11gR1 or Sites 11gR1 BP1.
Page 57: Command-Line Tool
Hope this is useful to you.
Thanks for your reply.
I am able to install site using CSDT.