Page 1 of 1

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Wed Aug 12, 2009 10:05 am
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?

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Thu Aug 13, 2009 1:34 am
by Andrew
Hello,

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

Thank you.

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Tue Feb 16, 2010 10:56 am
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.

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Tue Feb 16, 2010 7:12 pm
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.

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Wed Feb 17, 2010 12:34 am
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.

StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Wed Feb 24, 2010 12:05 pm
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.


StiWebDesignerOptions.ModifyVariables value not respected.

Posted: Thu Feb 25, 2010 9:22 am
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.