Skip to content
Discussion options

You must be logged in to vote

ContentItemId is a property accessor of a pseudo Content object.

o.Scope.SetValue("Content", new ObjectValue(new LiquidContentAccessor()));
o.MemberAccessStrategy.Register<LiquidContentAccessor, LiquidPropertyAccessor>("ContentItemId", ... =>
{

So remove Model. from Model.Content.ContentItemId[customerId]

Just keep Content.ContentItemId[customerId]

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@MikeAlhayek
Comment options

MikeAlhayek May 8, 2022
Maintainer Author

Comment options

You must be logged in to vote
3 replies
@MikeAlhayek
Comment options

MikeAlhayek May 8, 2022
Maintainer Author

@jtkech
Comment options

@MikeAlhayek
Comment options

MikeAlhayek May 8, 2022
Maintainer Author

Answer selected by MikeAlhayek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants