How to use @Environment("TEMP") in javascript

I put my xml file in user temp directory then call this html I use @Environment(“TEMP”) in java script with calculated value but doesn’t work

how can I get it??

<P>This content requires JavaScript.</P>

Subject: how to use @Environment(“TEMP”) in javascript

You can’t ! You cannot access local files from javascript. It’s a security feature to avoid malicious webpage to grab local files.

Renaud

Subject: RE: how to use @Environment(“TEMP”) in javascript

so how can I do?I’d like to

view data to XML file then open with chart

I don’t know how to do it

where can I put xml file??

Subject: RE: how to use @Environment(“TEMP”) in javascript

You have to put your xml file on your web server and use a “real” url to access it.

You can put your xml file in the file resources of your notes database (look into shared resource in you design). Then you can access it using the url /dbname.nsf/myxml.xml where you have to replace dbname and myxml with your values. But it also suppose that your flash files are also on the domino server.

This is a “static” way which will not be reliable if you need to change the file automatically on a regular basis, but it will allow you to do a test to validate it works well.

Renaud

Subject: RE: how to use @Environment(“TEMP”) in javascript

dear Renaud, thank you for your reply

I found the way to put my xml file and it works well

thanks

Subject: RE: how to use @Environment(“TEMP”) in javascript

Check this out:

Cheers,

Tom

Subject: RE: how to use @Environment(“TEMP”) in javascript

Check this out:

Cheers,

Tom

Subject: RE: how to use @Environment(“TEMP”) in javascript

Dear Thomas,thank your for your reply

Can you give me some hints?

I have no idea how to use that fla and swf file

Am I right?

edit FLA files and compile them into .swf file

embeded swf file in notes or use swf directly without open notes client???

thanks

Hui