Jump to content

HealthCARE Express


Recommended Posts

Copying repeater items is easier than you might think. Repeater items are just regular pages, just not visible in the tree as you would expect. But they are there. So you can just clone them as if they were regular pages. @adrian has built an adminaction in his module for that. I had a discussion with him about using my clone method instead of his getNew() approach. See https://github.com/adrianbj/ProcessAdminActions/pull/7

The problem is that my implementation does not work on his side. So I would be happy if you could try out my approach of just cloning the repeater item and setting a new parent and tell us if that worked for you.

The key is to find the new parent for the cloned repeater item. You find it by it's name: https://github.com/adrianbj/ProcessAdminActions/pull/7/commits/a92227707e20b32ff2144edb999f8008ff450d1c#diff-2780518325127d1f954f0c4a906b8d6fR106

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...