Variables Non Editable

Stimulsoft BI Server discussion
jyotsnatyagi
Posts: 2
Joined: Mon Jan 18, 2016 6:38 am

Variables Non Editable

Post by jyotsnatyagi »

Hi

I am using Stimulsoft version "SR_2015.01.16".
While I am open save report with version SR_2015.01.16 in the same version of stimulsoft, then all variables fields display with Lock icon
and that time those are not editable and i could not delete the variable with lock icon.

Could you pleas help me how to resolved this and can edit variables.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

The issue was in one of last builds but in the new release 2015.3 was fixed. But variables created in this build need change. You can manually edit mrt file in notepad or use the tool in the attachment.
Also you can use the following code:

Code: Select all

foreach (StiVariable variable in report.Dictionary.Variables)
{
variable.Inherited = false;
}
Thank you.
Attachments
LockVariableFix.zip
(3.22 MiB) Downloaded 405 times
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post by prolink »

i using this tool, but not use,

my report was created by 2016.2 , but i want to edit it by 2012.1,

how can i do?
Attachments
Screenshot 2016-12-23 14.56.51.png
Screenshot 2016-12-23 14.56.51.png (36.89 KiB) Viewed 6807 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post by prolink »

Hello

my report editor show this

i surveyed this topic, and find LockVariableFix.zip

but it's not used, how can i resolve it?
Attachments
2016-12-26_111154.png
2016-12-26_111154.png (149.98 KiB) Viewed 6802 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

You can use the following code to fix locked variables:

Code: Select all

foreach (StiVariable variable in report.Dictionary.Variables)
{
   variable.Inherited = false;
}
Thank you.
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post by prolink »

Hello

i was used it, but still locked.

and i compare two(before and use after) file's code are same
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

Please send us your report for analysis.

Thank you.
prolink
Posts: 6
Joined: Fri Dec 23, 2016 7:16 am

Re: Variables Non Editable

Post by prolink »

Here is my report file. thanks
Attachments
OEBLME11.mrt
(377.96 KiB) Downloaded 410 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Variables Non Editable

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please see screenshot in the attachment.

Thank you.
Attachments
Capture.PNG
Capture.PNG (280.45 KiB) Viewed 6789 times
Post Reply