First off, don't copy .ser files.  These will be re-created automatically, so
they might just add to general confusion.  I would delete them from source
and target files.

Also, don't forget that dataobjects need data sources.

Try a test (presume you have a backup):
import a data source, a data object that uses the data source, and a page
that uses the data object.

in the target project, delete the just-created .java files and manually
copy/paste the equivalents from the source project.

in the target project, change the package definition in the 3 .java files to
the target package name.

(all of following in target project)
Open the data source property file (.sds) in a text editor.  Note the SID
number (SID property value).

Open the data object property file (.sdo) in  a text editor.  Note the
DataSource property value.  It should be the data source SID number, in
quotes.  If it is empty (""), then you will need to do a global change on
imported .sdo files, changing 'DataSource ""' to 'DataSource "<whatever the
SID number is>"'.  We use a search/replace tool called inforapid that
somebody here suggested.

Note that if you don't want to import the data source, if you want the
imported data objects to use an existing data source in the target project,
you could look up that data source's SID and do a similar change to the
imported data objects.

Also note the SID number of your .sdo file.

Open the page property file (.spg) in a text editor.  I'm not sure which
property contains the SIDs of bound data objects, but it should be obvious.
If it has the SID number of your data object, you will probably be all set
when you import a bunch of pages.  If it is empty, you will probably need to
do pointy-clicky stuff on each imported page in the studio to re-bind the
data object and columns and all that.

Based on these results, you should be able to come up with a plan to import
your stuff.

-- Curt Springer, Team ND.


[EMAIL PROTECTED] a �crit:

> Hello All
>
> I know there have been some threads on the importing function of ND 4.x,
> but I was wondering if any solutions were found.
>
> I am experiencing the problem where I have imported several pages (41)
> and data objects (63) into my project from another project.  What I have
> found is all the page Java files have no information in them.  Also, any
> framesets which were imported no longer have their associated html file.
>
> I have tried checking one of these imported files out of PVCS and then
> copying the original JAVA over the imported version and had no success.
> I have also tried copying all files (spj, java, html, ser ...) from the
> original project over the imported version with still no success.  I
> believe there may a conflict with the SID or the numeric identifier for
> the file.
>
> Has anyone resolved these issue and had a successful import?  We are
> planning system test Monday and we still haven't integrated our two
> projects.
>
> Thanks
> Bob Eovine
> General Cinema
> [EMAIL PROTECTED]
> _________________________________________________________________________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
> For dire need help, email: [EMAIL PROTECTED]



_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to