Taking my first steps with a4t, I am converting existing GUI extensions to a4t plugins.

In one of the extensions, this configuration popups up

<ext:extension assignid="SchemaFieldPropertySearchableContent" name="SchemaFieldPropertySearchableContent">
    <ext:pagetype />
    <ext:view name="SchemaView">
        <ext:container name="SchemaDesignFieldDesigner">
            <ext:control id="AfterMandatory" />

When I convert this to a4t, I have

public SchemaFieldPropertySearchableContentExtendedArea()
    AssignId = "SchemaFieldPropertySearchableContent";
    Control = "SchemaFieldPropertySearchable.ascx";
    EditorExtensionTarget = "CME";
    Name = "SchemaFieldPropertySearchableContent";
    PageType = "";

    //TODO: How to set the container SchemaDesignFieldDesigner???
    Apply.ToView(Constants.Views.SchemaView, "AfterMandatory");            

In the Apply.ToView method, there is no parameter available to set the "Container". However, the tooltip on the Apply class reads "Gets or sets the apply instance that allows the extension to be applied to particular views, controllers or containers".

Any ideas on how to set the Container?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.