Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

How to use ModifyMetadata attributes parameter

$
0
0

Hi! Can somebody explain to me how exactly to use the second parameter from the ModifyMetadata method?

In the documentation the description states: "The custom attributes attached to the model class."

What is the model class?

I have a propertylike this:

[EditorDescriptor(EditorDescriptorType = typeof(LinkItemLiteEditor))]
public virtual LinkItemCollection Links{ get; set; }

And I would like to add some parameters to be used in the ModifyMetadata method. Is it possible?

The goal is to use different linkItem editors for different LinkItemCollection properties.


Viewing all articles
Browse latest Browse all 6894

Trending Articles