SC# add document attributes to location