StiWebDesignerOptions.ModifyVariables value not respected.

Stimulsoft Reports.WEB discussion
Post Reply
mvines
Posts: 35
Joined: Wed Aug 05, 2009 2:55 pm

StiWebDesignerOptions.ModifyVariables value not respected.

Post by mvines »

I am using the following options when setting up a report in the designer.

Code: Select all

StiWebDesignerOptions.ModifyDictionary = false;
StiWebDesignerOptions.ModifyVariables = true;
I would expect this would prevent the report designer from changing my datasource in any way, but would still allow them to create variables to use in their reports. However, this is not the case, setting ModifyVariables to true appears to have no effect when ModifyDictionary is false. Is this expected behavior? Why?
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

StiWebDesignerOptions.ModifyVariables value not respected.

Post by Andrew »

Hello,

This error will be fixed to the next prerelase build from 17-Aug-2009.

Thank you.
MikeD
Posts: 86
Joined: Fri Feb 12, 2010 4:23 pm
Location: USA

StiWebDesignerOptions.ModifyVariables value not respected.

Post by MikeD »


I downloaded the demo version a couple weeks ago and this isn't working correctly.

If I set the ModifyDictionary = false and the ModifyVariables = true I can't change the dictionary at and I also can't add any variables.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

StiWebDesignerOptions.ModifyVariables value not respected.

Post by Edward »

Hi Mike,

Please check the following version of the web designer:

http://stimulsoft.com/GetFile.aspx?file ... _D2005.zip

on the Prerelease downloads page:

http://stimulsoft.com/ReportsDesignerWebDownloads.aspx

I checked the code:

StiWebDesignerOptions.ModifyDictionary = false;
StiWebDesignerOptions.ModifyVariables = true;

with that version I could modify defined in the report variables, although there is no way to add new variables to the Dictionary when StiWebDesignerOptions.ModifyDictionary = false.

Thank you.
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

StiWebDesignerOptions.ModifyVariables value not respected.

Post by Andrew »

Hello,

Sorry for misunderstanding. StiWebDesignerOptions.ModifyDictionary disables changing of all the dictionary, StiWebDesignerOptions.ModifyVariables disables changing of variables only. If the first option is set to false then the second should not play any role.

In the next prerelease build we will add a new StiWebDesignerOptions.ModifyDataSources option. To disable everything exept variables you need to set the following options:

StiWebDesignerOptions.ModifyDictionary = true;
StiWebDesignerOptions.ModifyConnections = false;
StiWebDesignerOptions.ModifyDataSources = false;
StiWebDesignerOptions.ModifyVariables = true;

Thank you.
MikeD
Posts: 86
Joined: Fri Feb 12, 2010 4:23 pm
Location: USA

StiWebDesignerOptions.ModifyVariables value not respected.

Post by MikeD »

Maybe because I only have a Trial version.

But

StiWebDesignerOptions.ModifyDataSources = false;

Is not available. The other 3 are. I set the connections to false and Dictionary to true and variables to true.

The user can still modify the Datasources. Which is NOT what we want.

Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

StiWebDesignerOptions.ModifyVariables value not respected.

Post by Andrew »

Hello,

Sorry for the delay. The following fix was not included into the previous build. It will be available in the next prerelease build on 01-03-2010.

Thank you.
Post Reply