19 Oct 2010
07 Dec 2010
Link to this post
I am creating pages programatically. I need to create many pages named, "FallLesson0", with a parent of "Fall" at various places in the website tree. For example:
3rd Grade Improv
3rd Grade Polemics
SF is throwing an error saying: You cannot save your changes, becase a page with such URL already exists.
This is not technically correct. As you can see, in the example, the two FallLesson0 pages would have unique urls because they have different grandparent pages: 3rd Grade Improv and 3rd Grade Polemics.
I think that SF throws this error because it only evaluates the combination of the page url and the parent url.
Can you recommend a work around so that I can create as many FallLesson0 pages, with Fall parent pages, as I want, as long as the full url is unique? (NOTE: the same problem exists when I create the pages in the SF web app.)