The path is written incorrectly: the slashes are in the wrong direction, and .xdb#xpointer(/AdvMapStaticShared) is missing.
Wouldn't it be easier to create an effect instead of a static object?
"/MapObjects/Effects/Glow/ArtifactGold.xdb#xpointer(/AdvMapStaticShared)" also doesn't work, nor does it work without the slash at the beginning of the path.
Okay, I figured it out: "/MapObjects/Effects/Glow/ArtifactGold.(AdvMapStaticShared).xdb#xpointer(/AdvMapStaticShared)." It's so convoluted!
Thanks to everyone.