Jump to content
Software FX Community

Import / Export function...


User (Legacy)
 Share

Recommended Posts

Hi, 

I would like to save the changes that the user has done on a chart.

I would like to save this information on server side, so that no matter what

computer the user is using he still will be able to see his changes (he has

a login, so I can track his files).

This is working fine to get the information:

<PARAM NAME="DATAPATH" VALUE=" http://199.99.99.99/CfxTemp/data.txt">

<PARAM NAME="TEMPLATE" VALUE=" http://199.99.99.99/CfxTemp/chart1.cht">

But in order to save the information, I've tried the following:

function save_onclick() {

// export the info from the chart

ChartFX1.Export(4," http://199.99.99.99/CfxTemp/catherine.cht")

}

Then I've noticed that I can only save the template file on the client's

computer but not on server side.

The import function is only working on client side also:

This works fine:

function window_onload() {

ChartFX1.Import(4,"c:/chart1.cht") // file exists on client side

}

Can I save the chf file directly to the server using the export function and

load a chf through javascript using the import function ?

Thanks,

Catherine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...