Search found 20 matches

by fridaystreet
Wed Feb 07, 2024 3:02 am
Forum: Stimulsoft Reports.JS
Topic: How to call Save function programmatically in designer?
Replies: 7
Views: 2636

Re: How to call Save function programmatically in designer?

this is how we are generating the designer. at which point report has already been generated before it is assigned via 'newDesigner.report = report' const options = new window.Stimulsoft.Designer.StiDesignerOptions() options.Height = '100%' options.Width = '100%' options.appearance.allowChangeWindow...
by fridaystreet
Wed Feb 07, 2024 3:01 am
Forum: Stimulsoft Reports.JS
Topic: How to call Save function programmatically in designer?
Replies: 7
Views: 2636

Re: How to call Save function programmatically in designer?

bit further debugging and looks like options inside the designer object is undefined error is caused by options not being defined at 'this.options.reportIsModified = !1' stimulsoft.designer.js .SendCommandSaveReport = function(e, t) { var o, i, a, o; this.options.reportIsModified = !1, this.options....
by fridaystreet
Wed Feb 07, 2024 2:51 am
Forum: Stimulsoft Reports.JS
Topic: How to call Save function programmatically in designer?
Replies: 7
Views: 2636

Re: How to call Save function programmatically in designer?

Hi,

trying to do this but we get the error

Cannot set properties of undefined (setting 'reportIsModified')

Any ideas? do we need to pass something to the command?

Cheers
by fridaystreet
Wed Feb 07, 2024 1:28 am
Forum: Stimulsoft Reports.JS
Topic: DontAskSaveReport
Replies: 1
Views: 322

DontAskSaveReport

Hi, How do you use DontAskSaveReport option in js editor? We have a setup where by all report content is stored in db and loading reports are automatic through a different report selection UI (ie user finds reports in our searchable library tool and on click we open an instance of sti and load the r...
by fridaystreet
Sun Oct 01, 2023 3:46 am
Forum: Stimulsoft Reports.JS
Topic: collaboration support
Replies: 1
Views: 6891

collaboration support

I noticed there is a new feature in the BI server that has some support for collaboration/multiple user access, is the client side of this 'user' parameter available in the js editor? eg if we can inject the paremter ourselves, would the editor proivide the same features? Also would the editor be ab...
by fridaystreet
Tue Sep 05, 2023 10:36 pm
Forum: Stimulsoft Reports.JS
Topic: Dynamically create relationships
Replies: 13
Views: 8522

Re: Dynamically create relationships

Hi Lech,

Thanks for looking into it further. What do you mean by 'you can prepare a dictionary when the designer is started'?

Can you please provide an example

Regards
Paul
by fridaystreet
Mon Sep 04, 2023 8:24 am
Forum: Stimulsoft Reports.JS
Topic: clear custom databases
Replies: 5
Views: 7103

Re: clear custom databases

Great thanks appreciate your help
by fridaystreet
Thu Aug 31, 2023 2:07 am
Forum: Stimulsoft Reports.JS
Topic: Dynamically create relationships
Replies: 13
Views: 8522

Re: Dynamically create relationships

Hi Lech, Thanks for reviewing it again, I figured as much and that was the original question, I quoted the code you've provided in my original post. The question is how do we use that code to add this relationship dynamically when the user adds a new datasource to the report selecting the custom dat...
by fridaystreet
Wed Aug 30, 2023 4:44 am
Forum: Stimulsoft Reports.JS
Topic: Dynamically create relationships
Replies: 13
Views: 8522

Re: Dynamically create relationships

Can you please have another read of the original post and just confirm you're definitley doing the same thing we are please? as it looks like from your screenshot you're using a JSON datasource. from original post: 'The scenario is as follows: We have a CUSTOM DATASOURCE ADAPTER which we add program...
by fridaystreet
Wed Aug 30, 2023 3:19 am
Forum: Stimulsoft Reports.JS
Topic: Dynamically create relationships
Replies: 13
Views: 8522

Re: Dynamically create relationships

I've tried doing the sync manually but it still doesn't create the relationships.

Is there something specific with the naming convention within the data?