Page 1 of 1

Set Default export settings

Posted: Thu Aug 29, 2013 2:14 pm
by hodge42
Hi There,

I need to be able to set the default export settings in the report viewer. I will need to be able to default things like the seperator, and file type when exporting as a CSV is this possible at all?

Thanks

Alex

Re: Set Default export settings

Posted: Mon Sep 02, 2013 11:42 am
by Alex K.
Hello,

Please try to use the following code:

Code: Select all

StiSettings.Load();
StiSettings.Set("StiCsvExportSetupForm", "Separator", "*");
StiSettings.Save();
Thank you.

Re: Set Default export settings

Posted: Wed Sep 11, 2013 10:38 am
by hodge42
Hi thanks for the reply.

I have tried this code but doesnt seem to apply when I export the report. The separator will always defauly to ; even when I apply this code.

many thanks

Alex

Re: Set Default export settings

Posted: Wed Sep 11, 2013 10:56 am
by Alex K.
Hello,

Please try to check the last prerelease build.

Thank you.