Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 2 of 2

Thread: Mapping a collection to a document

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    4

    Default Mapping a collection to a document

    I am following the directions to map a collection to a document. I hold the contol key while dragging the source node of the collection to the destination node. When I try to map the individual fields, I get the message:

    "The source element xxx which belong to a collection yyy, has been mapped to element zzz, which does not belong to a collection. You either need to specify a particular collection item, or invoke a 'collection to collection' or 'collection to document' mapping"

    I thought I had already invoked the collection to document mapping when I mapped the source node while holding down the ctrl key. When I run the scenario, the scenarios reads all of the records in the collection (~3200) but only generated one document.

    I could always use a script (Pif function calls) to calculate the number of elements on the collection, then use a loop to process each element, but there should be an easier way.

    Any suggestions would be greatly appreciated.

  2. #2
    Junior Member pelopennes's Avatar
    Join Date
    Sep 2002
    Location
    Germany
    Posts
    25

    Default tip for mapping a collection

    be sure that the collection on both sides are known, if on the input side the field isn't a collection check the file sc.cfg in the directory \config\sc
    on your connectit - directories.

    i hope this helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts