Related Pages Field unpublished changes showing

Matthew Butler asked on June 12, 2023 09:30

Hi,

Am I correct in thinking the "Related Pages" field doesn't support the concept of published changes?

As far as I can see the CMS_Relationship, doesn't have any sort of versioning etc..

If not what's the intended approach to prevent draft changes to related pages surfacing?

Thank you

Correct Answer

Trevor Fayas answered on June 12, 2023 23:26

Correct that Related Pages aren't versioned, however the pages that you relate to can be versioned (just not the relationship itself).

So you can have Page A have Page B as a relationship, and page B can be unpublished, or have it's own workflow, but you can't have Page A have Page B as a relationship for it's current version but have Page C as a relationship for a different version

The only way around it, sadly, is to not use Related Pages for this, and do something along the lines of a long text field with node guids in a pipe separate list...which isn't great because there's no "clean up" in those relationships.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on June 12, 2023 17:39

There is no versioning for page relationships.

1 votesVote for this answer Mark as a Correct answer

Matthew Butler answered on June 13, 2023 09:26

I thought it was probably the case, and hadn't caused us an issue so far as the added related pages were new pages.

But it become an issue now as we can't schedule changes with the text and new related links.

I'll probably look at building our own control.

Thank you

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.