SaaS CMS has officially launched! Learn more now.

Adding on-page editing to dynamically created elements issue

Vote:
 

I am following a few blog posts I found that show how to add the data-epi-edit-name attribute to an element in order to enable on page editing. The problem I am running into is I have no control over the creation of the dynamically created element, so I have to add the attributes to it after the fact. It appears epi does not detect the change and does not refresh the OPE editor boxes. Even calling the epi.publish("beta/domUpdated") event on the client does not get it to be recognozed. I am at a loss, is there a way to get this to work?

#203819
May 07, 2019 23:49
Vote:
 

Please check this article if it helps

https://world.episerver.com/documentation/developer-guides/CMS/editing/on-page-editing-with-client-side-rendering/

#203858
May 08, 2019 17:33
Vote:
 

That was one I used to originally, but it does not work if I add the attributes after the page has finished loading. I am hoping someone else has ran into this.

#203861
May 08, 2019 21:59
Vote:
 

Have you upgraded your solution?

#203879
May 09, 2019 11:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.