Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Older Forums & Discontinued Products: DocBuilder:
duplicating a document group

 

 


Ruthie
User

Aug 4, 2005, 7:14 AM

Post #1 of 6 (6821 views)
Shortcut
duplicating a document group Can't Post

greetings!

We publish a journal annually. The 2004 version is in its own document group. I would like to duplicate all of the files and menu to make it easier to publish the 2005 version.

So I copied all of the files into a new folder, and created a new group that points to the new Publish Directory. It all looked okay in the browser, however, the files did not come up on the group's menu.

Next, I looked in the Data folder to see what files may have changed. There was a new ".dat" for the new group, so I copied the body of the old Journal into the body of this new ".dat" file, except for the first few lines (replaced everything after "__End__").

Now the menu comes up in Document Manager for the new journal, though it seems to be shifting document order haphazardly. When I go to add or edit a document title, it doesn't end up where I tell it to, and other titles disappeared. Can you tell me what else I need to do? The idea of duplicating a group can save us a lot of time.

Thanks much - Ruthie


Ruthie
User

Aug 5, 2005, 12:27 PM

Post #2 of 6 (6759 views)
Shortcut
Re: [Ruthie] duplicating a document group [In reply to] Can't Post

I'm really eager for a reply. I'm in production right now and continuing to have problems. I just saved a title and it not only switched places with another title but it looks like it has replaced the content of the other file too.

I guess I may have my answer...this just isn't possible without risking too many errors.

Ruthie


Cliff
Staff


Aug 5, 2005, 2:43 PM

Post #3 of 6 (6754 views)
Shortcut
Re: [Ruthie] duplicating a document group [In reply to] Can't Post

Hi Ruthie,

Thanks for posting and sorry for the delay in getting back to you.

Each entry into DocBuilder needs to have a unique number, so I suspect that you have some duplicate numbers in there. If you open the article.dat with a text editing program, you will see that each item is just a separate line in the file the line will look something like this:

1ˇ1123275275ˇ1123275275ˇ1ˇ1ˇ0ˇ1ˇ0ˇˇˇtextˇˇ

The first column (1ˇ) would represent the document number (this number must be unique).

So I think that the easiest thing to do would be to move the data into a .txt file and then import that into a .CSV file. That way you can give each document it's own unique number.

When you given each document it's own unique number, you can move the the content back into a text editor (I use Ultra Edit, but you can use whatever program you like) using the copy and paste method. When you paste the content, there should be spaces between each column, or the default delimiter.

Once the data is all in the text file, do a search and replace on that file, replacing the space or default with the DocBuilder delimiter (ˇ). You will want to make sure that there are not any extra or missing fields in the list, so compare an exiting entry to one of the new documents in your list.

Give that a try and let me know if that helps get you back on track Smile
Regards,
Cliff Stefanuk - Customer Service Manager
support@interactivetools.com


Ruthie
User

Aug 5, 2005, 4:41 PM

Post #4 of 6 (6747 views)
Shortcut
Re: [Cliff] duplicating a document group [In reply to] Can't Post

Thanks very much for the reply.

I understand the DAT file better now, but have discovered an additional problem. Even when the identifying numbers are unique (no duplicates), when I go to edit an exiting entry, I never know where it will place it in the order! It's jumping them all around, so now I am going in and cleaning up the .dat file to keep them in the order I want!#$@ There must be something I am missing. - Ruthie


MikeB
Staff / Moderator


Aug 6, 2005, 2:24 PM

Post #5 of 6 (6738 views)
Shortcut
Re: [Ruthie] duplicating a document group [In reply to] Can't Post

Hi Ruthie,

Thanks for the post! Smile

It sounds to me like this has to do with the ID numbers and the Document Parents that are being used for each of the articles.

At this point you may want to fill out a Support Request with your FTP details.

This would allow me to get onto your server and have a look at your DocBuilder installation and your data files for you.

In the meantime if you have any other questions or comments you can feel free to let me know! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


Ruthie
User

Aug 6, 2005, 4:27 PM

Post #6 of 6 (6735 views)
Shortcut
Re: [MikeB] duplicating a document group [In reply to] Can't Post

Thanks for the offer Mike, but I just started over. I'm cruisin' now...No worries!

Ruthie

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4