I have written below code , it is getting error. What is the mistake, Can you please share me.
See output:
Compiler Error Message:'Umbraco.Core.Models.IPublishedContent' does not contain a definition for 'linkToClip' and an extension method 'linkToClip' was not found that accepts a first argument of the type 'Umbraco.Core.Models.IPublishedContent' (if you're missing a ' using 'directive or a assembly reference?)
Links of Error
Hi Michael,
I have written below code , it is getting error. What is the mistake, Can you please share me.
See output:
Compiler Error Message:'Umbraco.Core.Models.IPublishedContent' does not contain a definition for 'linkToClip' and an extension method 'linkToClip' was not found that accepts a first argument of the type 'Umbraco.Core.Models.IPublishedContent' (if you're missing a ' using 'directive or a assembly reference?)
My document type:
Hi Jhon,
You have to use the following:
Hope this helps.
/Michaël
Hi Jhon,
make sure to mark the anwser which solved your issue.
Thanks!
/Michaël
is working on a reply...