Manage ReportIT

The ReportIT Add-In is a licenced extension to Web Map Layers 8.0.

The ReportIT tool allows users to report incidents, issues or problems to a database or a defined email address.

Select Manage ReportIT from the What would you like to do? drop-down menu:

The Manage ReportIT dialog will be displayed:

Name

Enter a name for the report.

Send Email

Check the Send Email tickbox to enable emails to be sent.

For emails to be sent to specific people regarding an issue, Web Map Layers 8.0 needs to know some information about the mailserver.

In the web.config set the IP address of the SMTP server within the <mailSettings> section by replacing {host} with your SMTP IP address:

<mailSettings>
	<smtp deliveryMethod="Network">	
	      <network defaultCredentials="true" host="{host}"/>
       </smtp>
</mailSettings>

Write to Database

Check this tickbox to enable the incidents reported by users to be logged to a database. The database is selected in the Database Connection field below.

Email Sender

This is the email address of the person sending the report in order to receive any confirmation or reply.

Email Subject

This is the subject of the problem, i.e. ReportIT: Dead Animal

Overlay Name

This is the name of the overlay containing the incident.

Icon

This is the marker used to show the location of the problem.

Database Connection

This is the required database available from the drop-down

Table

The database table.

Type Field

The column of the table

Description Field

The table description field.

Location X Field

The X coordinate of the identified problem

Location Y Field

The Y coordinate of the identified problem

Sender Email Field

This is the email address of the sender.

Geometry Field

The Geometry Field column.

Defining Incidents

The installed version of Web Map Layers 8.0 has three pre-defined incidents you can report:

To add or remove an incident, you must click the Add Problem Type button.

Add Problem Type

This is the type of problem to be reported.

Email Subject

The subject of the new problem, i.e. ReportIT: Flytipping

Email Text

This text to be used in the email, i.e. Flytipping

Contact Email

The email address of the contact.

Disable Add image button

By default an Add image button is displayed on the ReportIT form. This option can be removed if required.

To remove the Add image button open the map.aspx file with Notepad or similar.

Locate the line Cadcorp:ReportItDialog, go to the property ShowImageUpload="true", typically:

<Cadcorp:ReportItDialog Visible="true" id="reportDialog" CssClass="hidden" MenuItemID="report" ReportName="default" footerid="footercontainer" runat="server" MapId="theMap" MenuId="menu" ScriptContentPlaceHolder="scriptcontainer"
    ErrorText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Error_Text %>"
    TitleText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Title_Text %>"
    ReportTypeText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_ReportType_Text %>"
    ClickMapText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_ClickMapText_Text %>"
    CurrentLocationText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_CurrentLocation_Text %>"
    LocationOptionText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_LocationOption_Text %>"
    LoadingReportTypesText = "<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Loading_ReportType_Text %>"
    LocationButtonConfirmText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_LocationConfirm_Text %>"
    LocationUncapableMessage="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_LocationUncapable_Text %>"
    LocationFailedErrorMessage="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_LocationError_Text %>"
    CommentsLabel="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_CommentsLabel_Text %>"
    EmailLabel="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_EmailLabel_Text %>"
    SubmitText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Submit_Text %>"
    FailedToGetReportsErrorMessage="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_FailedToGetReportsError_Text %>"
    ReportSuccessMessage="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Success_Text %>"
    SubmittingText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Submitting_Text %>"
    CloseText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_Close_Text%>"
    HumanText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Not_A_Bot_Text %>"
    HumanErrorText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_Not_A_Bot_Error_Text %>"
    AddImageButtonText="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_AddImage_Button_Text %>"
    AddImageLabel="<%$ Resources:Cadcorp.Web.Resources,UI_Dialog_ReportIt_AddImage_Label_Text%>"
 ShowImageUpload="true"
    />

Note: If the ShowImageUpload property is not in the map.aspx add the line as shown above.

Set the ShowImageUpload "true" value to "false", this will prevent the Add image control being shown to the user on the ReportIt form.


Send comments on this topic.