WebSphere Portal Server - Problems with jacl-script - how to figure out unique name

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2005 > Problems with jacl-script - how to figure out unique name





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problems with jacl-script - how to figure out unique name
Rune Hellem

2005-11-30, 5:56 pm

I have one script like this:

--------------------------
# 'search' returns a list of objects
foreach child [$Content search all] {
# details get printed, they are not returned as a result
# puts [$Content details $child]
}
--------------------------
This produces the following result (just ignore the Norwegian locale
--------------------------
navn: wps.Search_Center
id :_6_081SK0TDQA0SHADG_6D
type: composition
ingen underordnede
--------------------------
Then, when trying to use the name (navn) gathered from the script above in the following script
--------------------------
$Content find any uniquename "wps.Search_Center"
--------------------------
...it does not find anything...as far as I understand this should be pretty straight forward, and also according to the following article http://websphere.sys-con.com/read/98056_2.htm but, it is not!

Can anyone help?

Rune
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com