Skip past navigation linksSecure Global Desktop Administration Guide > Commands > The tarantella object new_doc command

The tarantella object new_doc command

Syntax

Skip past command syntax or program codetarantella object new_doc {
   --name obj
   --url url
 [ --description text ]
 [ --newbrowser true|false ]
 [ --icon icon_name ] 
 [ --ldapusers user_dn... ]
 [ --ldapgroups group_dn... ]
 [ --ldapsearch search_string... ]

 } | --file file

Description

Creates one or more document objects.

To batch-create multiple objects, use the --file option. Use the other options to create a single object.

Examples

Skip past command syntax or program codetarantella object new_doc \
  --name ".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List" \
  --url http://newyork.indigo-insurance.com \
  --newbrowser false

Creates a new document object with common name PhoneList, belonging to the organizational unit Administration (which must already exist).

Skip past command syntax or program codetarantella object new_doc --file - <<EOF
  --name ".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration/cn=Phone List" \
  --url http://newyork.indigo-insurance.com \
  --newbrowser false
  --name ".../_ens/o=Indigo Insurance/cn=Indigo Insurance web site" \
  --url http://www.indigo-insurance.com \
  --newbrowser true
EOF

Creates two document objects using a batch script defined as a "here-document". You could alternatively store the batch script in a file, and reference it using --file filename.

Related topics