The ESRI Flex Viewer creates a component that adds numerous controls, a report, and a map object when used. An ESRI Flex Viewer component can be seen in the following image.
The ESRI Flex Viewer component can be accessed from the Insert menu, by selecting Components and clicking ESRI Components. You can then drag the crosshair to the desired size for the ESRI Flex Viewer controls and report. The ESRI Flex Viewer component will contain a number of controls, a report, and a map object. It is recommended that the ESRI Flex Viewer component be drawn big enough to accommodate all of these items.
You will then choose the esriinfo XML file to use with the ESRI Flex Viewer component, as shown in the following image.
Note: The following line must be present in your esriinfo XML file for you to pass parameters from the controls to the map object and from the map object to the report.
<callback identify="parmcollect" map="IBI_GetLayoutPainterParameters" report="IBI_GetLayoutPainterParameters"/>
The New Parameter dialog box will open and you will be able to change the options for the parameters contained within the ESRI Flex Viewer component.
The ESRI Flex Viewer component will then be inserted into the HTML page.
Note: Controls and reports within the ESRI Flex Viewer can be chained. Maps within the ESRI Flex Viewer component cannot be chained.