Select to view content in your preferred language

An error occurred when rendering by the report engine.

513
2
Jump to solution
12-11-2023 07:19 AM
DuncanG
Occasional Contributor

I am trying to generate a report using a custom template but keep getting the below errors. Unfortunately, I don't get any more information on where the problem lies or what Failed Object ID 2 is. Does anyone have an idea of where I should start? 

DuncanG_0-1702307833406.pngDuncanG_1-1702307857360.pngDuncanG_2-1702307886299.png

 

0 Kudos
1 Solution

Accepted Solutions
DuncanG
Occasional Contributor

After working through each line of the template I have actually resolved this issue now. 

I had a number of If statements that it did not like, after re-phrasing them it went through ok: 

This : 

To ${if Inspection_Type == “Off Road – Traffic Free Cycling Trail Registration Inspection”} become${/}${if Inspection_Type == “Mountain Biking Trail Registration Inspection”}become${/}${if Inspection_Type == “On Road Cycling Trail Registration Inspection”}become${/}${ if Inspection_Type == “Off Road – Traffic Free Cycling Trail Inspection”}remain${/}${ if Inspection_Type == “Mountain Biking Trail Inspection”}remain${/}${ if Inspection_Type == “On Road Cycling Trail Inspection”}remain${/} listed on the National Trails Register, the ${if Management_Result == “Does Not Meet Requirements”}management${if (Management_Result == “Does Not Meet Requirements”) && Infrastructure_Result == “No”} & ${/}${if Infrastructure_Result == “No”}${if Sum_Safety_Issues >0}safety and/or ${/}significant${/} issues identified in this report need to be addressed.

Changed to this:

To ${if Inspection_Type | selected:“Off Road Registration”} become${/}${if Inspection_Type | selected:“Mountain Biking Registration”}become${/}${if Inspection_Type | selected:“On Road Registration”}become${/}${ if Inspection_Type |selected:“Off Road Inspection”}remain${/}${ if Inspection_Type | selected:“Mountain Biking Inspection”}remain${/}${ if Inspection_Type | selected:“On Road Inspection”}remain${/} listed on the National Trails Register, the ${if Management_Result == “Does Not Meet Requirements”}management${if Management_Result == “Does Not Meet Requirements” && Infrastructure_Result == “No”} & ${/}${/}${if Infrastructure_Result == “No”}${if Sum_Safety_Issues >0}safety and/or ${/}significant${/} issues identified in this report need to be addressed.

View solution in original post

2 Replies
abureaux
MVP Frequent Contributor

Any chance you could upload the Word Doc? Not sure what the issue would be from that error, and these errors can be rather broad scope at times.

0 Kudos
DuncanG
Occasional Contributor

After working through each line of the template I have actually resolved this issue now. 

I had a number of If statements that it did not like, after re-phrasing them it went through ok: 

This : 

To ${if Inspection_Type == “Off Road – Traffic Free Cycling Trail Registration Inspection”} become${/}${if Inspection_Type == “Mountain Biking Trail Registration Inspection”}become${/}${if Inspection_Type == “On Road Cycling Trail Registration Inspection”}become${/}${ if Inspection_Type == “Off Road – Traffic Free Cycling Trail Inspection”}remain${/}${ if Inspection_Type == “Mountain Biking Trail Inspection”}remain${/}${ if Inspection_Type == “On Road Cycling Trail Inspection”}remain${/} listed on the National Trails Register, the ${if Management_Result == “Does Not Meet Requirements”}management${if (Management_Result == “Does Not Meet Requirements”) && Infrastructure_Result == “No”} & ${/}${if Infrastructure_Result == “No”}${if Sum_Safety_Issues >0}safety and/or ${/}significant${/} issues identified in this report need to be addressed.

Changed to this:

To ${if Inspection_Type | selected:“Off Road Registration”} become${/}${if Inspection_Type | selected:“Mountain Biking Registration”}become${/}${if Inspection_Type | selected:“On Road Registration”}become${/}${ if Inspection_Type |selected:“Off Road Inspection”}remain${/}${ if Inspection_Type | selected:“Mountain Biking Inspection”}remain${/}${ if Inspection_Type | selected:“On Road Inspection”}remain${/} listed on the National Trails Register, the ${if Management_Result == “Does Not Meet Requirements”}management${if Management_Result == “Does Not Meet Requirements” && Infrastructure_Result == “No”} & ${/}${/}${if Infrastructure_Result == “No”}${if Sum_Safety_Issues >0}safety and/or ${/}significant${/} issues identified in this report need to be addressed.