D.39. tarantella object new_doc

Creates one or more document objects. See Section C.1.9, “Document Object”.

Syntax

tarantella object new_doc {
                            --name obj
                            --url url
                          [ --description text ]
                          [ --newbrowser true|false ]
                          [ --icon icon_name ]
                          [ --hints hint...]
                          [ --ldapusers user_dn... ]
                          [ --ldapgroups group_dn... ]
                          [ --ldapsearch search_string... ]
                          } | --file file

Description

The following table shows the available options for this command.

Option

Description

More Information

--name

The name of the document object.

Section C.2.84, “Name”

--url

URL displayed when document object link is clicked.

Section C.2.108, “URL”

--description

A text description of the object.

Section C.2.29, “Comment”

--newbrowser

Displays the document in a new browser window.

Section C.2.128, “Window Type: New Browser Window”

--icon

Webtop icon for the application.

Section C.2.61, “Icon”

--hints

String containing additional name-value data for the application.

Section C.2.58, “Hints”

--ldapusers

Assigns the application to the specified LDAP users.

Section C.2.13, “Assigned User Profiles Tab”

--ldapgroups

Assigns the application to the specified LDAP groups.

Section C.2.13, “Assigned User Profiles Tab”

--ldapsearch

Assigns the application to the users that match the LDAP search criteria.

Section C.2.13, “Assigned User Profiles Tab”

--file

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.

Examples

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