Creates one or more document objects. See Section C.1.9, “Document Object”.
tarantella object new_doc { --nameobj
--urlurl
[ --descriptiontext
] [ --newbrowser true|false ] [ --iconicon_name
] [ --hintshint
...] [ --ldapusersuser_dn
... ] [ --ldapgroupsgroup_dn
... ] [ --ldapsearchsearch_string
... ] } | --filefile
The following table shows the available options for this command.
Option | Description | More Information |
---|---|---|
| The name of the document object. | |
| URL displayed when document object link is clicked. | |
| A text description of the object. | |
| Displays the document in a new browser window. | |
| Webtop icon for the application. | |
| String containing additional name-value data for the application. | |
| Assigns the application to the specified LDAP users. | |
| Assigns the application to the specified LDAP groups. | |
| Assigns the application to the users that match the LDAP search criteria. | |
| A file containing a batch of commands to configure application server load balancing. |
To batch-create multiple objects, use the
--file
option. Use the other
options to create a single object.
The following example creates a new document object named
PhoneList
.
$ tarantella object new_doc \ --name "o=applications/ou=Finance/ou=Administration/cn=Phone List" \ --url http://newyork.example.com \ --newbrowser false
The following example creates two document objects using a batch
script defined as a “here-document”. You can
alternatively store the batch script in a file, and reference it
using --file
filename
.
$ tarantella object new_doc --file - <<EOF --name "o=applications/ou=Finance/ou=Administration/cn=Phone List" --url http://newyork.example.com --newbrowser false --name "o=applications/cn=Example web site" --url http://www.example.com --newbrowser true EOF