AnsweredAssumed Answered

notebook example does not work

Question asked by jtimm on Nov 12, 2019
Latest reply on Nov 14, 2019 by jtimm

I am going through the example notebook 

Content Management: Check for broken URLs

and it works fine other than the email output.  The assembly code says this:

# Asemble the message and return it
return f"Webmap ID '{webmap_item.id}' contains unreachable URLs."\
f"You can view the webmap here: {webmap_item.homepage}\n"\
f"\n"\
f"Reachable Layers\n"\
f"----------------->\n"\
f"{reachable_str}\n"\
f"\n"\
f"Unreachable Layers\n"\
f"------------------->\n"\
f"{unreachable_str}"

but the email sent has this in the email body:

Reachable Layers

----------------->

* World_Hillshade_3805

 

Unreachable Layers

------------------->

* plsstest_655

* CityCountyState_5586

Where is the first part and why does it not include that in the email?  Any ideas?

Outcomes