K13: Adding widget to [DocumentPageBuilderWidgets] showing on live site but not on page builder

Rory Aherne asked on July 14, 2025 09:49

Hi,

If I add a widget to the DocumentPageBuilderWidgets json, it shows up on the live site but not in the page builder. Is there another table/column that needs updating too? Workflow is not enabled so it shouldn't be the version history.

Background/More Info

I'm migrating a massive site from k12 to k13 and it has over 1000 instances of a particular inline widget in the content which I need to move to the page builder instead of just rendering as HTML as the widget links to live content which changes often.

I run a controller to extract the inline widget, create a json representation of said widget and insert it into the desired place in the DocumentPageBuilderWidgets.

As a sanity check I copied a newly created widget in K13, copied its json (updated the guids) and updated the column in sql with the new widget copy.

It shows up on the live site but not in the page builder (where I really need it.)

Recent Answers


Brenden Kehren answered on July 14, 2025 17:51

The first thing I'd do would be to verify your JSON formatting is correct AND the proper required fields and attributes are populated in the JSON. Probably safe to assume you've already done this but have to say it.

Just because workflow isn't enabled doesn't mean it's not using versioning. If you have basic versioning enabled, even without a specific workflow, it will keep a version record when the user saves. I'd highly recommend checking to see if the new pages have any kind of version history ID in the field. If they do, then it will attempt to find that version and serve that version up.

0 votesVote for this answer Mark as a Correct answer

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