scripting:api:base-document:save