We are using Sitecore 9 with SXA. As per my understanding, it was designed to have a path with local:/ for certain reasons. But, as per our business requirements, we need to update rendering with a data-source id as the authors requires to change the data-source item names frequently. So, Is there any way that we can update the data-source path (local:/data/item) with item-id while saving the page in experience-editor?

enter image description here

1 Answer 1


The below link exactly answers your requirement -


Its a little old post but the fundamental idea driving the programming logic for your requirement can be driven from here.

  • Link-only answers will be removed.
    – Mark Cassidy
    Feb 13, 2020 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.