Skip to content
Kam Figy edited this page Feb 20, 2015 · 2 revisions

There should be an interface for my template but there doesn’t seem to be?

Check to make sure that the template is either included or that it is inherited by a template that is included.

Why is there a property that ends with a number (“Foo1”) on my template or interface?

In .NET, members of a type may not match the name of the parent object. Chances are your template has a field with the same name as the template – Synthesis made the name in code unique to prevent a compilation error. It’s also possible to have two fields with the same name on a template, which would also cause this.

Why does my template object’s type name end with a number (“Foo1”)?

Synthesis uses some logic to make sure names are unique in generated code so as to not create code that doesn’t compile. If you find a template or interface that ends with a number it indicates that there were more than one template of the same name in the same namespace in the generated code or that a namespace existed with the same name as the object type.

Can you use Synthesis with XSLT renderings?

No. XSLT renderings don’t compile and aren’t strongly typed so there’s not much point to Synthesis supporting them. .NET-based renderings are faster and much easier to implement logic in, and with the right controls are as simple to make as XSLT.

Clone this wiki locally