Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » how to control name of .rptdocument and multiuser access
how to control name of .rptdocument and multiuser access [message #150210] Mon, 03 April 2006 13:09 Go to next message
Eclipse UserFriend
Originally posted by: stranm.genevaonline.com

It seems that the web viewer always generates a .rptdocument file that is
the same name as the original document. It also seems that if you rerun the
report later (close the viewer and reopen it) that it will always just
recycle the previous cached .rpt document. How can you force it to
regenerate a new document with each request?
Also along those lines, if 2 people request the same report to be run but
use different parameters, won't one person get the others document since the
default behavior seems to be to just create one .rptdocument from the
..rptdesign file? It seems like it should always generate some random
document name associated with the particular access not simply recycle the
design files name? Is there any way to specify what the name of the
..rptdocument file should be? That way I could control what it used as a
temporary name.

Any help would be appreciated since this is a bit of a sticking point since
I have to physically delete the .rptdocument to rerun the report. I'm not
sure how others are getting around this, though I did see a thread in which
someone advocated using a parameter of "__overwrite=true" but I've not tried
it yet. If it does work I'm not sure it would solve the second issue, i.e.
two users hitting the same report at the same time with different
parameters...
Re: how to control name of .rptdocument and multiuser access [message #150235 is a reply to message #150210] Mon, 03 April 2006 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jarif.despammed.com

Mike Stan wrote:
> It seems that the web viewer always generates a .rptdocument file that is
> the same name as the original document. It also seems that if you rerun the
> report later (close the viewer and reopen it) that it will always just
> recycle the previous cached .rpt document. How can you force it to
> regenerate a new document with each request?

With parameter __overwrite=true


> Also along those lines, if 2 people request the same report to be run but
> use different parameters, won't one person get the others document since the
> default behavior seems to be to just create one .rptdocument from the
> .rptdesign file? It seems like it should always generate some random
> document name associated with the particular access not simply recycle the
> design files name? Is there any way to specify what the name of the
> .rptdocument file should be? That way I could control what it used as a
> temporary name.

With parameter __document=yourname

I use servlet session id in the name

Regards,
jarif a user
Re: how to control name of .rptdocument and multiuser access [message #150247 is a reply to message #150235] Mon, 03 April 2006 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stranm.genevaonline.com

Thanks, I'll give that a try!


"Jari Fredriksson" <jarif@despammed.com> wrote in message
news:e0r8vo$6kv$1@utils.eclipse.org...
> Mike Stan wrote:
>> It seems that the web viewer always generates a .rptdocument file that is
>> the same name as the original document. It also seems that if you rerun
>> the report later (close the viewer and reopen it) that it will always
>> just recycle the previous cached .rpt document. How can you force it to
>> regenerate a new document with each request?
>
> With parameter __overwrite=true
>
>
>> Also along those lines, if 2 people request the same report to be run but
>> use different parameters, won't one person get the others document since
>> the default behavior seems to be to just create one .rptdocument from the
>> .rptdesign file? It seems like it should always generate some random
>> document name associated with the particular access not simply recycle
>> the design files name? Is there any way to specify what the name of the
>> .rptdocument file should be? That way I could control what it used as a
>> temporary name.
>
> With parameter __document=yourname
>
> I use servlet session id in the name
>
> Regards,
> jarif a user
Re: how to control name of .rptdocument and multiuser access [message #151711 is a reply to message #150247] Fri, 07 April 2006 01:46 Go to previous message
Eclipse UserFriend
Originally posted by: simon.pearce.bt.com

I have used these helpful hints - __overwrite is working, but __document
is not. The report comes up with the same name all the time - I am using
the current release of everything as far as I can tell (I just reinstalled
it all).

I pass __document=rpt1234 in the URL. It all looks fine to me, dammit.

Any suggestions?
Previous Topic:BIRT vs EJB
Next Topic:Including HTML Forms in a report
Goto Forum:
  


Current Time: Mon Sep 23 14:30:56 GMT 2024

Powered by FUDForum. Page generated in 0.03201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top