VISULOX 4 Documentation

Modify VISULOX PORTAL Datastore via CLI

With the tool /opt/visulox/tools/migration/buildEditDatastore.tcl entries can be read and edited from the datastore.

It is also possible to use a created datstore file.

buildEditDatastore.tcl options

Option

Description

-example

Print examples

-i

Ignore case distinctions in all masks / regexp

-print <value>

Print objects or attributes <>

-dsFile <value>

Path to datastore CSV dump file or use local portal connector <>

-contentmask <value>

Regexp into objects string <>

-valuemask <value>

Regexp on value <>

-attribute <value>

Name or name mask of attribute to change <>

-newvalue <value>

New value for attribute <>

-ttaChangeScript <value>

File for 'tarantella object edit --file' </tmp/ttaChange.tta>

-format <value>

Format of output (text,xml, csv, json, tcl) <text>

-verbose

More messages on stdout

--

Forcibly stop option processing

-help

Display commands

-?

Display commands

For example:

./buildEditDatastore.tcl -print o


./buildEditDatastore.tcl -print a

Useful to find attribute names.


./buildEditDatastore.tcl -print v

Useful to find attribute names and content.


./buildEditDatastore.tcl -dsFile <filename>


Datastore files are created with the following program:

/opt/visulox/lib/utils/sgd.tcl datastore -format csv -raw > /tmp/ds

With this program a VISULOX PORTAL Object edit script is created.


./buildEditDatastore.tcl -contentmask scottafilepath=vlxgui -attribute scottaarguments -valuemask "-pos"  -print v


./buildEditDatastore.tcl -contentmask scottafilepath=vlxgui -attribute scottaarguments -valuemask "-pos" -newvalue ""


Example for tta change script command:  

--name "o=applications/ou=TestingApps/cn=@xterm(R:OCR:RESOURCE)" --scottamembergroups "cn=allowedusers,cn=group,dc=corp,dc=cyta" "cn=arieso-admin,cn=group,dc=corp,dc=cyta"