-
perl question
I am curious about how to do something in perl I have an array my @values; (it contains multiple values - see below) <value>value1</value> <value>value2</value> <value>value3</value> Therefore... my $x = 0; for ($x..$#values) { my $value = @values[$x]; print $value; $x++; } This code will print all the values in the array.…
-
mutltiple extended attributes
Does anyone happen to know how to set multiple EA's on a file. For example we are tagging documents with multiples creators sometimes. Is there a way to make sure both values are set. Right know as we try and set multiple EA's they continually overwrite eachother. My hunch would be need to pass an array to setEA, but I am…
-
preview problems
Does anyone seem to have issues with previewing from a DCR. Our server resources spike, and it takes a really long time. Is there something we may be mizzing. When users vitualize from TeamSite, everything is really fast Thanks Lucas Cochrane lcochrane@dc.com
-
array help
Hi All, Is there a way to push all the elements of an array into one single variable. What I have is the is this for ($z..$#xml_builds) { my $write_to_ea = @xml_builds[$z]; $z++; } Now I want all the elements in that array pushed into a variable so I can then write that variable to an Extended Attribute on a file in…
-
workflow restriction
can workflow templates be restricted to the workarea level in available_templates.cfg? I know they can be restricted to the branch level Lucas Cochrane lcochrane@dc.com
-
iwextattr
Has anyone had the problem of iwextrattr -l listing all extended attributes together in one long string. I am using iwmetadata.cgi out of the box, and datacapture.cfg, then when I try and list the extattr the values run in the next Teamsite/Metata/value etc. Any ideas on this one? Lucas Cochrane lcochrane@dc.com
-
editions question
All, IS it possible to have all your editions deploy into a consolidated edition that will then be deployed to a product web server. Just so I don't confuse anyone... branch 1 EDITION branch 2 EDITION branch 3 EDITION Consolidated EDITION (editions from branch 1,2 & 3) Then a teamsite-based deloyment to webservers. Lucas…
-
set extended attributes
Is there a way to set extended attributes in the Teamsite Extended Attributes section of a file. For example, when using MetaTagger to tag a document, it sets the xml string in the Teamsite Extended Attributes section of the file. In order to write to Teamsite metadata, you start string with "Teamsite/Metatdata/some…
-
regex help
Could anyhelp me with this regex <descriptor><vocab>somevalue</vocab><code>somevalue</code><label>somevalue</label></descriptor> How could I set this up so I set up the "somevalues" as variable I can extract from this lines of xml.. Thanks. P.S. It is a Windows Platform Lucas Cochrane lcochrane@dc.com
-
log files
Does anyone know the right way to log this command on a WINDOWS 2000/NT platform? sub setEA { my ($file,$eaname,$eavalue) = @_; unless ($eaname =~ m|TeamSite/|) { $eaname = "TeamSite/Metadata/".$eaname; }#end unless my @arguments = (); push @arguments, '-s'; push @arguments, "$eaname=$eavalue"; push @arguments, '-u'; push…
-
scripts in workflows
Has anyone ever heard of scripts not being run when they are instantiated from TeamSite (i.e. select file, submit, choose template, run job)? I have acase where a script will not perform what it was designed to do when run from thw above mentioned scenario. But if I run the external task from the command line passing…
-
workflow scripts
Does anyone know how I push the files from a workflow to a script that needs to be run as part of the workflow? Thanks. Lucas Cochrane lcochrane@dc.com
-
perl problem
I am about to go lunatic on the perl language. I am looping through a piece of code that passes a filename, then does a regex on the file, extracts a value and returns that value. However, as my loop continues, it only takes the value that was met in from the first file. I see that it is passing the new file name, but it…
-
date modified
Hi all, Does anyone know how to pull the date modified in a TPL from the extended attributes on a DCR? Thanks. Lucas Cochrane lcochrane@dc.com
-
page regeneration
Hi All, We have the <tt_data> command running a script when users save and close their DCR's. When a user edits the DCR, that has been linked to a generated page, the systems asks if they would like to regenate the page. How is it possible to trigger out <tt_data> script to run again to update the DCR? Any insight would be…
-
timeouts
is there a setting in iw.cfg for users timing out of teamsite (5.5.2)? Lucas Cochrane lcochrane@dc.com
-
backups...again
Hi All, Our TeamSite development server is officially sick, very sick. Every time we call a TeamSite process (previewing, iwgen, the list is long) we are getting application errors. We want to blow away TeamSite, but we also want to use the same stores, branches, and workarea we had before. What is the process for…
-
calling scripts from workflow
I am invoking mtmetaproxy.cgi (MetaTagger) from a workflow, but I am not getting the same look and feel as when I call it from File > Set MetaData in the WebDesk Pro interface. I think it is because of the window sizing I have pre-set in iw.cfg. Is there a way to make sure this window sizing is also called in the workflow?…
-
regex examples
Could someone draw out a quick example of a regex that strips a directory from in front of a file... (i.e.) \templatedata\data\docs\file.txt leaving me with docs/file.txt Any help would be great! Thanks Lucas Cochrane lcochrane@dc.com
-
Dr. Watson erroRs
I am running WinNT 4.0 and I am constantly getting Dr. Watson application erros when I run iwgen.exe from the command line, therefore the commands are not executing. Any idea on this one? Lucas Cochrane lcochrane@dc.com
-
Files in workflow
I am relatively new to workflow development. I am trying to accomplish the following: I want to pass the value of (iw_file[$i]) to a script so that it can generate an html page using the attached file as the DCR. I have hidden values in the TAG info section of the workflow to pass values such as the workarea, template name…
-
Windows User and Groups
All, I am still trying to figure out some of the nuances of the WebDesk interface. When I add a user to a group I always have to throw iwreset -a in order for the change to take effect in WebDesk. Is this action necessary? Or am I missing something? Thanks. Lucas Cochrane lcochrane@dc.com
-
y:\drive behaviour
I have a problem with out y:\ drive When I try an edit a file in WebDesk pro I get an error \y\path to file: 3 (no such process) Seems fishy, I should get y:\path to file, not \y\path to file Anyone know what is going on here. I can perform an actions I want in the y:\ drive, but when I access y:\ through the GUI I get…
-
iwreset -a
Hi All, When I throw an iwreset -a on our Teamsite server, it takes *forever* to come back up. Out platform is W2K Advanced Server. We have a sandbox running Win NT and it comes back up quickly... Any ideas on this one? Thanks. Lucas Cochrane lcochrane@dc.com