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?
Solved! Go to Solution.
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.
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.
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.