Encode the create a new doc link