Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Extract Attributes in Metadata Datacapture.cfg
velisian
is there anyway i can extract 'Creator' from Basic Attributes in my datacapture.cfg?
Find more posts tagged with
Comments
Adam Stoller
If you have MetaTagger installed, you can use 'inline's within the metadata datacapture.cfg (I don't believe this works with the current OOTB metadata datacapture.cfg) - and you can have the inline script extract and store that data for you.
Otherwise, it pretty much ends up requiring a user to manually enter the data, or the creation of a script that extracts and then applies that data as an EA on the associated file.
--fish
(Interwoven Senior Technical Consultant)
velisian
Hi Fish,
I have tried so many ways and I still have no idea on how to get the creator name or file name from the basic attributes in my inline ipl calling. Could you please help me on this ?? Is there any where I can see some samples of the codes ??
SNC00064.jpg
Adam Stoller
Do you have MetaTagger installed? Are you using mtmetaproxy.cgi or iwmetadata.cgi?
If you do not have MetaTagger and thus are using iwmetadata.cgi - I do not believe the metadata capture DCT supports inlines.
If you do have MetaTagger and are using mtmetaproxy.cgi - have you checked the environment variables that are supposed to be set for inlines - as documented in the TeamSite Templating Developer's Guide?
--fish
(Interwoven Senior Technical Consultant)
velisian
Yes, I have Metataggr installed and I am using mtmetaproxy.cgi.
I have checked the environment variables from TeamSite Templating Developer's Guide and I found out that there are 4 variables inherited, which are IW_DCT, IW_ROLE, IW_USER and IW_WORKAREA.
Actually what I want to retrieve is the filename and also the creator of the file. I realised in the workflow file, I can use IW_AREAOWNER and IW_FILE to retrieve the information but this is not supported by the inline callout program.
Hope there is a way for me to retrieve the information, may be write a perl script to get it.
Thanks.