Linking to a Document Collection
To create a new document with a document collection:
•Select Insert[Containers] > Document > Collection and continue with step 4 below to set up the document collection.
To insert a document collection into an existing document:
1.Open the main document to which you want to add the document collection.
2.Place a blank page in the location in the document where the documents will be added.
3.Use the command under Document Tools/Design[Document Layout] > Insert Document Element > Document Collection to place a document collection on the blank page.
4.In the Document Collection Properties dialog box that appears, you can choose from these two alternatives: Search path with placeholders, Paths from data set and Data Query. The data query is then only available when indexing is enabled for the project database.
For example, to search for documents with the name Document in the folders Measurement 1, Measurement 2 and so forth:
a) Search path with placeholders
1.Select Search path with placeholders.
2.For the search path enter \Measurement*\Document.DOC. You can also click on the button to the right of the input box and select the document in the Measurement 1 folder. FlexPro automatically replaces the 1 in Measurement 1 with the placeholder *.
b) Data Query
1.Select Data Query is available.
2.Double-click on the empty line under Object type is document.
3.In the Edit Search Criteria dialog box, for the Search item: Parent folder name, for the Search criteria: starts with and then in the input box enter Measurement.
4.Click OK to close the dialog box.
5.Now click on Run search to test the search. FlexPro shows you the number of documents found.
6.Under Page Selection specify whether all pages or only a range of pages should be copied from the found documents.
7.Select the option Show document headers if the headers and footers of the found documents instead of those of the main document should be displayed.
8.Click OK to close the dialog box.
Notes:
•In the main document the number of pages required to display the found documents is inserted automatically. If you do not want virtual blank pages added to the document, then you need to select the document collection and in the Properties window set the Insert pages property to False.
•If you place additional shapes on the blank page with the document collection, then they will appear on all pages of the embedded documents, as long as the value of the property Insert pages is True.
•When you update the main document, the search will be repeated, if necessary, and the number of pages may be adjusted.