Home » Archived » BIRT » folder -- birt/Documents/session-id/ -- how to get rid of session-id? -- 2.1RC4
folder -- birt/Documents/session-id/ -- how to get rid of session-id? -- 2.1RC4 [message #168946] |
Sat, 10 June 2006 21:06  |
Eclipse User |
|
|
|
When the Web Viewer stores an rptdocument, it puts it into this folder (by
default):
<webcontext>/Documents/<session-id>/
This means that a user who tediously and carefully creates a report on
Monday cannot go back and look at it on Tuesday. Every time he closes a
session, and comes back later, he must re-create the report. This is
irritating because the report may have many parameters to select or enter.
Is there a workaround? Can I avoid <session-id> in the folder name? What I
really prefer is to create a folder for each user. When user-A opens
report-1 on Tuesday, he sees the report-1 he created on Monday. Since I
know who the users are, by login, this is easy, except for the <session-id>
problem. Any suggestions? Thanks.
Stan Jordan
|
|
| |
Re: folder -- birt/Documents/session-id/ -- how to get rid of session-id? -- 2.1RC4 [message #169352 is a reply to message #169222] |
Mon, 12 June 2006 14:58   |
Eclipse User |
|
|
|
Jason,
Thanks for your reply. You suggestion works fine, in terms of viewing the
report and saving the rptdocument file in a folder. For example, this URL
appears to work fine:
http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign&__document=D:/birt/reports/tryit.rptdo cument
However *Export data will fail*. The only way to get Export data to work is
to remove the __document parameter, and go with this:
http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign
Export data and the __document URL parameter appear to be mutually
exclusive. (Argh!)
On June 6, I filed bug #145626 on this issue, but Ivy Li closed it, saying,
"We never support that you can input the document path from url..."
Can you advise on how I can save the rptdocument in a folder-of-my-choosing,
and still permit Export data? Thanks.
Stan
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:e6k2ap$d7q$1@utils.eclipse.org...
> On the URL use __document=
> This should let you name the report anything you like.
>
> Jason
>
> "Stan Jordan" <stan_jordan@earthlink.net> wrote in message
> news:e6fq9n$b8f$1@utils.eclipse.org...
>> When the Web Viewer stores an rptdocument, it puts it into this folder
>> (by
>> default):
>> <webcontext>/Documents/<session-id>/
>> This means that a user who tediously and carefully creates a report on
>> Monday cannot go back and look at it on Tuesday. Every time he closes a
>> session, and comes back later, he must re-create the report. This is
>> irritating because the report may have many parameters to select or
>> enter.
>> Is there a workaround? Can I avoid <session-id> in the folder name?
>> What I
>> really prefer is to create a folder for each user. When user-A opens
>> report-1 on Tuesday, he sees the report-1 he created on Monday. Since I
>> know who the users are, by login, this is easy, except for the
>> <session-id>
>> problem. Any suggestions? Thanks.
>> Stan Jordan
>>
>>
>
>
|
|
|
Re: folder -- birt/Documents/session-id/ -- how to get rid of session-id? -- 2.1RC4 [message #169744 is a reply to message #169352] |
Tue, 13 June 2006 12:26   |
Eclipse User |
|
|
|
Stan,
I believe this is still a bug.
If you add &dummy=1 to the end of your URL it will work.
In the BirtSimpleExportDataDialog.js file there appears to be a bug
__constructForm : function( )
{
var dialogContent = $( 'simpleExportDialogBody' );
var hiddenDiv = document.createElement( 'div' );
hiddenDiv.style.display = 'none';
var hiddenForm = document.createElement( 'form' );
hiddenForm.method = 'post';
hiddenForm.target = '_self';
var url = document.location.href;
var index = url.indexOf( "frameset" );
//this line has a problem
url = url.substring( 0, index ) + "download" + url.substring( index + 8,
url.length -1 );
//it needs to be
url = url.substring( 0, index ) + "download" + url.substring( index + 8,
url.length );
I updated the bug
Jason
"Stan Jordan" <stan_jordan@earthlink.net> wrote in message
news:e6kdgq$jv6$1@utils.eclipse.org...
> Jason,
> Thanks for your reply. You suggestion works fine, in terms of viewing the
> report and saving the rptdocument file in a folder. For example, this URL
> appears to work fine:
> http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign&__document=D:/birt/reports/tryit.rptdo cument
> However *Export data will fail*. The only way to get Export data to work
> is to remove the __document parameter, and go with this:
> http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign
> Export data and the __document URL parameter appear to be mutually
> exclusive. (Argh!)
>
> On June 6, I filed bug #145626 on this issue, but Ivy Li closed it,
> saying, "We never support that you can input the document path from
> url..."
> Can you advise on how I can save the rptdocument in a
> folder-of-my-choosing, and still permit Export data? Thanks.
> Stan
>
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:e6k2ap$d7q$1@utils.eclipse.org...
>> On the URL use __document=
>> This should let you name the report anything you like.
>>
>> Jason
>>
>> "Stan Jordan" <stan_jordan@earthlink.net> wrote in message
>> news:e6fq9n$b8f$1@utils.eclipse.org...
>>> When the Web Viewer stores an rptdocument, it puts it into this folder
>>> (by
>>> default):
>>> <webcontext>/Documents/<session-id>/
>>> This means that a user who tediously and carefully creates a report on
>>> Monday cannot go back and look at it on Tuesday. Every time he closes a
>>> session, and comes back later, he must re-create the report. This is
>>> irritating because the report may have many parameters to select or
>>> enter.
>>> Is there a workaround? Can I avoid <session-id> in the folder name?
>>> What I
>>> really prefer is to create a folder for each user. When user-A opens
>>> report-1 on Tuesday, he sees the report-1 he created on Monday. Since I
>>> know who the users are, by login, this is easy, except for the
>>> <session-id>
>>> problem. Any suggestions? Thanks.
>>> Stan Jordan
>>>
>>>
>>
>>
>
>
|
|
|
Re: folder -- birt/Documents/session-id/ -- how to get rid of session-id? -- 2.1RC4 [message #169864 is a reply to message #169744] |
Tue, 13 June 2006 15:17  |
Eclipse User |
|
|
|
Jason,
Yes! I have verified that your fix works. U-da-man! Thanks mucho!!
Cheers
Stan
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:e6mouo$pla$1@utils.eclipse.org...
> Stan,
>
> I believe this is still a bug.
> If you add &dummy=1 to the end of your URL it will work.
>
> In the BirtSimpleExportDataDialog.js file there appears to be a bug
>
> __constructForm : function( )
> {
> var dialogContent = $( 'simpleExportDialogBody' );
> var hiddenDiv = document.createElement( 'div' );
> hiddenDiv.style.display = 'none';
>
> var hiddenForm = document.createElement( 'form' );
> hiddenForm.method = 'post';
> hiddenForm.target = '_self';
> var url = document.location.href;
> var index = url.indexOf( "frameset" );
> //this line has a problem
> url = url.substring( 0, index ) + "download" + url.substring( index + 8,
> url.length -1 );
> //it needs to be
> url = url.substring( 0, index ) + "download" + url.substring( index + 8,
> url.length );
>
> I updated the bug
>
> Jason
>
> "Stan Jordan" <stan_jordan@earthlink.net> wrote in message
> news:e6kdgq$jv6$1@utils.eclipse.org...
>> Jason,
>> Thanks for your reply. You suggestion works fine, in terms of viewing
>> the report and saving the rptdocument file in a folder. For example,
>> this URL appears to work fine:
>> http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign&__document=D:/birt/reports/tryit.rptdo cument
>> However *Export data will fail*. The only way to get Export data to work
>> is to remove the __document parameter, and go with this:
>> http://localhost:9080/birt210RC4/frameset?__report=PatientDi agnoses.rptdesign
>> Export data and the __document URL parameter appear to be mutually
>> exclusive. (Argh!)
>>
>> On June 6, I filed bug #145626 on this issue, but Ivy Li closed it,
>> saying, "We never support that you can input the document path from
>> url..."
>> Can you advise on how I can save the rptdocument in a
>> folder-of-my-choosing, and still permit Export data? Thanks.
>> Stan
>>
>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>> news:e6k2ap$d7q$1@utils.eclipse.org...
>>> On the URL use __document=
>>> This should let you name the report anything you like.
>>>
>>> Jason
>>>
>>> "Stan Jordan" <stan_jordan@earthlink.net> wrote in message
>>> news:e6fq9n$b8f$1@utils.eclipse.org...
>>>> When the Web Viewer stores an rptdocument, it puts it into this folder
>>>> (by
>>>> default):
>>>> <webcontext>/Documents/<session-id>/
>>>> This means that a user who tediously and carefully creates a report on
>>>> Monday cannot go back and look at it on Tuesday. Every time he closes
>>>> a
>>>> session, and comes back later, he must re-create the report. This is
>>>> irritating because the report may have many parameters to select or
>>>> enter.
>>>> Is there a workaround? Can I avoid <session-id> in the folder name?
>>>> What I
>>>> really prefer is to create a folder for each user. When user-A opens
>>>> report-1 on Tuesday, he sees the report-1 he created on Monday. Since
>>>> I
>>>> know who the users are, by login, this is easy, except for the
>>>> <session-id>
>>>> problem. Any suggestions? Thanks.
>>>> Stan Jordan
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Goto Forum:
Current Time: Tue Jul 22 09:40:23 EDT 2025
Powered by FUDForum. Page generated in 0.03772 seconds
|