Hi Bill,

You could also use the attached which reads in the current application file,
makes it contents into a DOM and then returns the title author, and version.
It works whether the DOCSSWITCH is on or off but not for run-only files...

It's not the most elegant but as you said if you're looking for a quick and
easy way to grab these details it might give you what you need.

(It's witango 5 compatible so if using T2k you'll need to do a find and
replace of "request" with "local")

If I can be of further assistance please let me know.

Fergal



----- Original Message ----- 
From: "Robert Shubert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 8:04 AM
Subject: RE: Witango-Talk: Appfile data


> I know in ASP there is a COM called FileSystem Object which works with
> files and can return some of this data. I have no idea how it works, or
> if it works with Witango, though.
>
> I typically just save this kind of data directly into the TAF itself as
> vars.
>
> Robert
>
> -----Original Message-----
> From: Bill Conlon [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 11, 2004 3:16 PM
> To: Witango-Talk
> Subject: Witango-Talk: Appfile data
>
> I would like to be able to display the title, author, revision and
> comments properties of an appfile running on the server.  Ideally the
> <@VERSION> tag expanded to allow an attribute to specify server,
> appfile,
> or TCF. Unfortunately, the <@VERSION> tag only provides server info.
> I'll make a feature request.
>
> It looks like I can do this using <@DOCS> to create a DOM variable, but
> this requires I turn the docswitch on (security breach), and in any
> event, I'm not sure it would work with run-time files.
>
> Does anyone know an easy way to grab the appfile properties?
>
>
>
> Bill Conlon
>
> To the Point
> 345 California Avenue Suite 2
> Palo Alto, CA 94306
>
> office: 650.327.2175
> fax:    650.329.8335
> mobile: 650.906.9929
> e-mail: mailto:[EMAIL PROTECTED]
> web:    http://www.tothept.com
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Attachment: details.taf
Description: Binary data

Reply via email to