Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » 2.4.5 - Import with many_many relationship

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 459 Views
  • flipsidenz
    Avatar
    Community Member
    49 Posts

    2.4.5 - Import with many_many relationship Link to this post

    Trying to import a bulk load of data into a dataobjectmanager. One field uses the "ManyManyDataObjectManager" field.

    Example "Cats" has a many_many relationship to "CatType" with "Tiger, Lion, Cheetah" as three options.

    How can I import the "CatType" data for each dataobject? Do I list each CatType ID with a comma (doesn't seem to work)?

    459 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.