Reply
Frequent Visitor
Posts: 11
Registered: ‎03-22-2017
Accepted Solution

Custom visual

Hi ,
how to make init or construct objects in the metadata at code.
they only construction when the user clicked on some option.
how to do this?

Accepted Solutions
Member
Posts: 66
Registered: ‎11-11-2015

Re: Custom visual

The old custom visual model provided the Init method and the new custom visuals model provides cosntructor to do the same intiialization work. However, reaching into metadata objects and retrieving custom properties values is usually done in the update method just before rendering.

 

I guess ou can say that the development model for custom visuals was desgined so developers could acquire custom property values at rending time and not at creation time.

View solution in original post


All Replies
Member
Posts: 66
Registered: ‎11-11-2015

Re: Custom visual

The old custom visual model provided the Init method and the new custom visuals model provides cosntructor to do the same intiialization work. However, reaching into metadata objects and retrieving custom properties values is usually done in the update method just before rendering.

 

I guess ou can say that the development model for custom visuals was desgined so developers could acquire custom property values at rending time and not at creation time.