Issues with Clone URL parameter

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
I've just spent some time figuring out an issue, and thought I'd leave it here in case anyone else encounters this in the future.

I had a page with a few models, and I wanted to clone one of the models. On the advanced tab, I set the 'load on page load' and Clone to 'Yes if clone is present' but it wasn't working - debugging in the console showed the doClone property was stubbornly false.

The issue was I was using a URL parameter in a condition to get the necessary record. The parameter's name was jid, and changing this to simply 'id' made the problem disappear, and behaviour was as expected.

There's not a lot of documentation on this feature - worth a few extra lines on one of the doco pages somewhere?
Photo of Gary

Gary

  • 1,518 Points 1k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Hi Gary,

Thanks so much for sharing your solution with the community! I'll let the documentation team know about your suggestion.

Thanks!
Amy