Linking Mendix Forms to index.html

6
Please advise if/how it is possible to include a component across an entire web application (i.e. via index.html) which include links to forms created within the modeler.
asked
2 answers
9

You can use the following code.

<div dojoType="templatesystem.widget.LinkContainer"
    contenturl="ModuleName/formname.mxf"
    act="load" uilocation="content">
    Link
</div>

Rename the following parts.

ModuleName = Name of your Module in Mendix, be specific with uppercase.
formname = Name of your form. All lowercases.
Link = Text you want to display

Make sure you don't put this in a <a href="">. The whole div will be made clickable. If your not sure where your form is located, you can check Project_Name\deployment\web\forms\en_US.

answered
1

Does this work also in 2.5.1.1? I've tried it and when you click on a link nothing happens.

answered