If local or page relative SXA data sources are not resolved you need to resolve them manually. Run resolveRenderingDatasource pipeline: ResolveRenderingDatasourceArgs renderingDatasourceArgs = new ResolveRenderingDatasourceArgs(YOUR_DATA_ROURCE_STRING); renderingDatasourceArgs.CustomData.Add("contextItem", CONTEXT_ITEM); CorePipeline.Run("...


The default behavior for a Sitecore RichText field is to strip out all script tags from the markup. This setting controls the behavior: <setting name="HtmlEditor.RemoveScripts" value="true" /> If you want to enable script tags, you would need to change that setting.


Different tabs in anonymous browser are not isolated. Open Sitecore in normal browser, and website in a single anonymous window, or use different browsers.

Only top voted, non community-wiki answers of a minimum length are eligible