This is exactly my question. How can I pass it to the report so it will be available within a function
Search found 30 matches
- Wed May 08, 2019 2:47 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
- Mon Apr 08, 2019 4:01 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
Hi, Let us try to put all together, because I have a feeling we speek different languages. 1. There is a multi tenant system 2. Report is executed for one of the tenants 3. We are registering a custom function using StiFunctions.AddFunction("Category", "LookupCode", "LookupC...
- Wed Mar 20, 2019 4:14 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
Hi,
that sounds good, but how do I get this instance of report property in the body of the static custom function?
Thanks
Vitaly
that sounds good, but how do I get this instance of report property in the body of the static custom function?
Thanks
Vitaly
- Tue Mar 19, 2019 12:43 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
Hi, let me try to explain step by step. * We have a multi-tenant system. * User USR1 executing an async task to generate a report for tenant ABC subsidiary EFG. * The report contains a custom function. * Within this function I have to know that the generation is executed for "tenant ABC - subsi...
- Mon Mar 18, 2019 12:08 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
Hi,
I know we can and we are doing it. But as I mentioned before....
Thanks
Vitaly
I know we can and we are doing it. But as I mentioned before....
So how can we do it within the code of this function?
Thanks
Vitaly
- Mon Mar 18, 2019 8:23 am
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
- Fri Mar 15, 2019 9:03 am
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 13028
Re: Using user context data(from HttpContext) in the custom functions
@HighAley,
Let me please generalize the question. The example mentioned by @Arysmyatov is only one use case.
What we really need is to be able to get a tenant context in a multi tenant environment to be able to execute different functions based on this context.
Thanks
Vitaly
Let me please generalize the question. The example mentioned by @Arysmyatov is only one use case.
What we really need is to be able to get a tenant context in a multi tenant environment to be able to execute different functions based on this context.
Thanks
Vitaly
- Fri May 18, 2018 7:29 am
- Forum: Stimulsoft Reports.NET
- Topic: No possibility to create a report based on postgresql
- Replies: 9
- Views: 6740
Re: No possibility to create a report based on postgresql
Hello Lech, yes, this is correct. This query works. However the query has not been written manually but generated automatically by Stimulsoft designer while selecting the available tables. End user has no idea and knowledge that they need to modify query. Also in our environment they won't know anyt...
- Wed May 16, 2018 9:37 am
- Forum: Stimulsoft Reports.NET
- Topic: No possibility to create a report based on postgresql
- Replies: 9
- Views: 6740
Re: No possibility to create a report based on postgresql
Hi Edward, The designer runs on Windows 10 x64. The DB is PostgreSQL 9.6.5 on x86_64-pc-linux-gnu (running within docker) Another interesting observation, the connection string in the report you sent contains Min Pool Size=0 wich is not recognized in my environment. The data adapter has been automat...
- Tue May 15, 2018 6:41 am
- Forum: Stimulsoft Reports.NET
- Topic: No possibility to create a report based on postgresql
- Replies: 9
- Views: 6740
Re: No possibility to create a report based on postgresql
Hi Edward,
There is no workaround on the topic you mentioned. That topic mentions databases other than public.
This one says that even with pubic it does not work
Best regards
Vitaly
There is no workaround on the topic you mentioned. That topic mentions databases other than public.
This one says that even with pubic it does not work
Best regards
Vitaly