To set online doc