Page 1 of 1

Create new JS function not working on ver. 2026.1.1

Posted: Fri Dec 26, 2025 2:46 am
by franc.siswanto
Hi,
When I use version 2026.1.1 now, and create a new blank report, then create a new JS function (not C#), it seems that the new editor uses C# by default even though I choose JS. Finally the result is not displayed.
I can not send sample report since I can not create JS function even in the new blank report.

This issue is the same as what I mentioned in the URL: viewtopic.php?p=174086#p174086

Thanks

Re: Create new JS function not working on ver. 2026.1.1

Posted: Mon Dec 29, 2025 10:03 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue. Please clarify how do you run the designer.

Thank you.

Re: Create new JS function not working on ver. 2026.1.1

Posted: Tue Dec 30, 2025 1:49 am
by franc.siswanto
Hello,

Okay, I'll explain the problem as best I can, so I'll send you a short video to illustrate it.
Thank you.

JS Function not working.mp4
(11.46 MiB) Downloaded 13 times

Re: Create new JS function not working on ver. 2026.1.1

Posted: Tue Dec 30, 2025 9:08 am
by Lech Kulikowski
Hello,

Please check the ScriptLanguage property of the report. By default, it is set to the CSharp that allows uses our new parser.

Thank you.

Re: Create new JS function not working on ver. 2026.1.1

Posted: Tue Dec 30, 2025 2:09 pm
by franc.siswanto
Hi,

I don't understand what you mean by this "By default, it is set to the CSharp that allows uses our new parser.". Since I'm not intend to use CSharp, I just want to use JS as usual I do every time. In my clip it is clearly I try to use JS but fail.

Thanks

Re: Create new JS function not working on ver. 2026.1.1

Posted: Tue Dec 30, 2025 3:25 pm
by Lech Kulikowski
Hello,

Please check the ScriptLanguage property of the report.

Thank you.

Re: Create new JS function not working on ver. 2026.1.1

Posted: Tue Dec 30, 2025 10:14 pm
by franc.siswanto
Hello,

Now I understand, thank you. Since I'm used to using the Designer JS Web version using CDN URL, I expected the default ScriptLanguage to be JS when creating a new report, but it turned out to be C#. But that's okay, because now I understand.
I also noticed that when I open older versions of the mrt file, such as version 2025.3.1, I see that the ScriptLanguage has value of "Platform" instead of C#, JS, VB, or Blockly. Fortunately, the existing JS functions still work, although it's a bit confusing if I want to add new functions later on, which function platform it will use, but since this is an old report, I'm not changing it as long as it still works.

Thanks.

Re: Create new JS function not working on ver. 2026.1.1

Posted: Wed Dec 31, 2025 12:02 pm
by Lech Kulikowski
Hello,

You are welcome.