Using Sitecore 9.1, SXA 1.8.1. I have a page with a link list clone. When I delete a link from that list and then publish via workflow the deletion is not propogated properly through to the web database.
So I thought I could iterate over the datasources and ensure those are published correctly.
When I get access to the renderings of Workflow Test page it's datasource is a string like:
local:/Data/Promo Banner here
Is there a smart SXA way of easily getting a reference to that item?
This is only when you choose to create the datasource under the local data folder. If you instead point the SXA datasource at an item in the centralised data folder then it has an id as expected.