You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm relatively new to advanced backend Umbraco coding, so I'm not too sure what's going on.
The following code is within Nested Content - within Nested Content, if you need me to post the entire file let me know,. but I thought I'd show you the bit where it's going wrong for me.
All I'm getting is a blank field. I tried using the code suggested in the package readme (below error) but I get this error
'Umbraco.Core.Models.IPublishedContent' does not contain a definition for 'Link' and no extension method 'Link' accepting a first argument of type 'Umbraco.Core.Models.IPublishedContent' could be found (are you missing a using directive or an assembly reference?)
@timpowersdesign Obviously some time has passed since you posted this. Given it's more of a support question than a bug with the package, in future, you are more likely to get support in the {Our Umbraco forum](https://our.umbraco.com/forum/).
Hopefully you were able to resolve your issue in time for your deadline?
The fix is to use the UrlPicker variable directly, it doesn't need to be passed to the @Umbraco.Content(UrlPicker) function. e.g. @UrlPicker.Url
I'm relatively new to advanced backend Umbraco coding, so I'm not too sure what's going on.
The following code is within Nested Content - within Nested Content, if you need me to post the entire file let me know,. but I thought I'd show you the bit where it's going wrong for me.
All I'm getting is a blank field. I tried using the code suggested in the package readme (below error) but I get this error
@if(Model.Link != null) { <a href="@Model.Link.Url" target="@Model.Link.Target">@Model.Link.Name</a> }
It's worth noting I won't be able to get this project into Visual Studio, I'm limited to online only.
Any help would be appreciated, I have a very strict deadline!
The text was updated successfully, but these errors were encountered: