Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

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 8020

Trending Articles