Try our conversational search powered by Generative AI!

persistent unique id for rendered element per block instance


Is there an easy way to render id?

Aug 30, 2017 0:38

Not sure where you want to achieve this. But every block, unless it's local block (block as property), has an ID

<div data-tag-id="@((IContent)Model).ContentGuid">
Aug 30, 2017 11:17
* 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.