Setting sort order of copy to that of the original
When a page is published in certain section of our site, I'm creating copies of that page in related language nodes (using cs.Copy(c, parentRelation.ChildId, true)). That part is working just fine.
I'm trying to then set the sort order in the Copied event, like so:
But that's not working. The (very) few examples of this I've found online have similar code, though not quite as simple as I'm looking for. Not sure what I'm supposed to do to get this working.
Setting sort order of copy to that of the original
When a page is published in certain section of our site, I'm creating copies of that page in related language nodes (using
cs.Copy(c, parentRelation.ChildId, true)
). That part is working just fine.I'm trying to then set the sort order in the Copied event, like so:
But that's not working. The (very) few examples of this I've found online have similar code, though not quite as simple as I'm looking for. Not sure what I'm supposed to do to get this working.
is working on a reply...