| Print Open PDF Version of Online Help

#### Adding Image Prompts in Analytics An image prompt provides an image that users click to select their analysis criteria. For example, from an image that shows products, users can click a product. The selected product is then used to filter the underlying analysis. To create an image prompt, you need to know how to use the HTML <map> tag to create an image map definition. You define image prompts in the Prompts tab. When you have created multiple image prompts for an analysis, they are executed in the order in which they are listed; that is, from top to bottom. To add or modify an image prompt In the Prompts tab, click the New icon, and choose Image Prompt. In the Image Map Prompt Properties dialog box, enter a caption for the image prompt in the Caption box. The caption appears when a user runs the analysis. You can include HTML markup tags in the caption, such as <b>, <center>, <font>, and <table>. Enter a description in the Description text box (optional). Enter the location and name of the image in the Image URL field. If the image prompt is for your use only, you can specify a location that only you can access, such as c:\mycomputer\temp\map.gif. For an image prompt that will be available to other users, specify the Universal Naming Convention (UNC) name, such as \\ALLUSERS\graphics\map.gif, or a Web site accessible to all your users, such as http://mycompany.com/imagemap.gif. Enter the appropriate HTML <map> tags and data in the HTML text box. An HTML <map> statement with <area> elements is required. Each <area> element must specify shape= and coords= attributes. The alt= attribute, if specified, will be mapped to the Area title. For example: <map> <area alt="Top-left" shape="rect" coords="0,0,50,50"> <area alt="Top-right" shape="rect" coords="50,0,100,50"> <area alt="Bottom" shape="rect" coords="0,50,100,100"> </map> To extract the image map information from the HTML, click the link Extract Image Map from HTML. The Image Map Prompt Properties dialog box expands to show the area titles, shapes, and coordinates entered in the HTML text box. You can change the values in the area title if you want. This text appears when a user moves the pointer over the image area. For each area, in the Column text box, enter the name of the column to pass when a user clicks it, and the value to use. NOTE: The column needs to be a fully qualified column name, in the format Table.Column Name. Place double quotes around any column names containing spaces. For example: Account."Account Country" "Units shipped" When you are finished, click OK. The image prompt is shown on the Display pane. To view the image prompt, click the Preview button. When you click an area of the image, the underlying filter constructed for that area displays. You can click the Refresh link to see the results. You can change the filter criteria and then click the Refresh link again to see the change reflected in the results. To modify the properties of an image prompt Click the Properties icon for the prompt. In the Image Map Prompt Properties dialog box, make your changes to the Caption, Description, and Image URL. To modify the image map, click the Change Image Map link at the bottom of the dialog box. When done, click OK.

Published 5/23/2022 | Copyright © 2005, 2022, Oracle and/or its affiliates. Legal Notices.