I have a "Product Page" page, the product page corresponds to the Sitecore "ProductPage" element. Website / Pages / ProductPage.
I have a text area on this page with a page editor that loads the text from the "Product example text" Sitecore text "Description" from the web database. (Sitecore ... / CommonText / sample product text)
In my ascx file, note that this is rather inconvenient,
<sc:FieldRenderer ID="FieldRenderer1" runat="server" />
CodeBehind
FieldRenderer1.Item = //"Product Example Text" Sitecore item FieldRenderer1.FieldName = "Description";
When I open a page in the page editor (as a system administrator), this allows me to change the "text of the product example", and when I save using the "Save" button in the page editor, it is saved in the main database. The item "Product Example Text" will be saved. Now, when I try to publish an element using the โPublishโ element on the page editor ribbon, these changes will not be reflected, the reason is โProduct example textโ is not published.
When I save the page, somehow Sitecore understands that the "Product Example Text" element needs to be saved. But why is it not published? I am doing something wrong ... How can I solve this problem?
source share