How to access document type properties from custom RTE embed provider
Hi. I have created a custom OEmbed provider, derived from AbstractOEmbedProvider, so I can allow editors to add custom URLs to the embed option of the rich text editor.
I would also like to access other properties on the containing document type, such as an image, but do not know how to achieve this from inside the custom provider. If I try using UmbracoContext.Current.PageId then this just returns null (probably because I am not actually requesting to view the page).
How to access document type properties from custom RTE embed provider
Hi. I have created a custom OEmbed provider, derived from AbstractOEmbedProvider, so I can allow editors to add custom URLs to the embed option of the rich text editor.
I would also like to access other properties on the containing document type, such as an image, but do not know how to achieve this from inside the custom provider. If I try using UmbracoContext.Current.PageId then this just returns null (probably because I am not actually requesting to view the page).
Any assistance would be appreciated, thanks.
is working on a reply...