Select to view content in your preferred language

Error: An error occurred when checking the report template. Failed to parse

339
2
Jump to solution
10-09-2024 02:11 PM
AirX
by
New Contributor

Trying to bring a map over to my template and getting this error.

 

Error: An error occurred when checking the report template. Failed to parse ${manhole_location | map:500:400:10000:hybrid} since hybrid cannot be found in the current parsing scope.

 

Thanks,

KP

0 Kudos
1 Solution

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

What are you trying to achieve?

It looks like you're trying to specify a custom Basemap. I don't believe the syntax is correct. If you want to use a different Basemap to the default of your organisation you need to specify the item id of it like this:

${location | map:"7e2b9be8a9c94e45b7f87857d8d168d6" | mapScale:100000 | rotate:90}

More examples in the documentation below. I can't see anything to support the syntax provided.

https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm#ESRI_SECTION1...

View solution in original post

2 Replies
ChristopherCounsell
MVP Regular Contributor

What are you trying to achieve?

It looks like you're trying to specify a custom Basemap. I don't believe the syntax is correct. If you want to use a different Basemap to the default of your organisation you need to specify the item id of it like this:

${location | map:"7e2b9be8a9c94e45b7f87857d8d168d6" | mapScale:100000 | rotate:90}

More examples in the documentation below. I can't see anything to support the syntax provided.

https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm#ESRI_SECTION1...

AirX
by
New Contributor

Thanks Chris! I was not pulling our map id.

0 Kudos