Root > Reference > Events > TELEvCustomDataRequestMeth

Type TELEvCustomDataRequestMeth

Previous pageReturn to chapter overviewNext page   

Method event handler for OnCustomDataRequest event.

 

Unit

EEvents

 

Syntax

 

Code (Delphi)

TELEvCustomDataRequestMeth = procedure(

AExceptionInfo: TEurekaExceptionInfo;

ALogBuilder: TObject;

ADataFields: TStrings;

var ACallNextHandler: Boolean

) of object;

 

Parameters

AExceptionInfo [in]

Information about exception.

 

ALogBuilder [in]

Log builder class, representing bug report.

 

ADataFields [out]

Custom fields to add into bug report (as name=value pairs).

 

ACallNextHandler [out]

True (default) - call next registered event handler, False - do not call next event handler.

 

Remarks

This event is invoked before saving bug report to allow you to supply custom fields. Fields should be supplied as name=value pairs. We recommend to use the following construct: ADataFields.Values['Field-Name'] := 'Field-Value'. Field name can be arbitrary and are choosen by you.

 

Warning

Do not confuse custom fields (OnCustomDataRequest event) and web fields (OnCustomWebFieldsRequest event). Custom fields are inserted into bug report file. Web fields are not stored in bug report, web fields are POST-ed to bug tracker / web-site via API or HTTP request.

 

See also




Send feedback... Build date: 2018-11-26
Last edited: 2018-11-26
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_eevents_televcustomdatarequestmeth.php