Hi,
I want to set the order pdf file name to its order number when we open the pdf from backoffice orderdetail page (/ordermgr/control/order.pdf?orderId=XXXXX). Currently, the default name of the pdf is always "order.pdf", instead can set the default pdf name to its order number? -- Thanks & Regards Ganesh Bawne Enterprise Software Developer Viithiisys Pvt. Ltd. http://www.viithiisys.com |
Open a Jira
https://cwiki.apache.org/OFBADMIN/ofbiz-contributors-best-practices.html if your not a developer then you will have to wait for someone to pick this up. if your a developer you can submit a patch. Ganesh Bawne sent the following on 10/13/2011 6:50 AM: > Hi, > > I want to set the order pdf file name to its order number when we open the > pdf from backoffice orderdetail page > (/ordermgr/control/order.pdf?orderId=XXXXX). > Currently, the default name of the pdf is always "order.pdf", instead can > set the default pdf name to its order number? > > |
Thank you BJ,
I created the Jira issue. This needs to fix in all components where we are generating pdf or csv file. The default name of file is always the request name. I like to fix this. Can you tell me what will be the proper way to fix it generically? Thanks, Ganesh On Thu, Oct 13, 2011 at 11:30 PM, BJ Freeman <[hidden email]> wrote: > Open a Jira > https://cwiki.apache.org/OFBADMIN/ofbiz-contributors-best-practices.html > if your not a developer then you will have to wait for someone to pick > this up. > if your a developer you can submit a patch. > > Ganesh Bawne sent the following on 10/13/2011 6:50 AM: > > Hi, > > > > I want to set the order pdf file name to its order number when we open > the > > pdf from backoffice orderdetail page > > (/ordermgr/control/order.pdf?orderId=XXXXX). > > Currently, the default name of the pdf is always "order.pdf", instead can > > set the default pdf name to its order number? > > > > > -- Thanks & Regards Ganesh Bawne Enterprise Software Developer Viithiisys Pvt. Ltd. http://www.viithiisys.com |
In reply to this post by Ganesh B
Hi
Only a partial answer, I'm afraid. You need to set the content-disposition header. Google gave this page http://support.microsoft.com/kb/260519 which shows the syntax. I haven't looked at how you might do this with OfBiz. Cheers, Anne. On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: > Hi, > > I want to set the order pdf file name to its order number when we open the > pdf from backoffice orderdetail page > (/ordermgr/control/order.pdf?orderId=XXXXX). > Currently, the default name of the pdf is always "order.pdf", instead can > set the default pdf name to its order number? > > > -- > Thanks & Regards > Ganesh Bawne > Enterprise Software Developer > Viithiisys Pvt. Ltd. > http://www.viithiisys.com > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Phone: (03) 9585 6788 Fax: (03) 9585 1086 Web: http://www.cohsoft.com.au/ Email: [hidden email] Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
This should be doable with ofbiz as well. I will look through JIRA to see if
a issue has been created and if not I will create one. Regards, Pierre 2011/10/17 Anne <[hidden email]> > Hi > > Only a partial answer, I'm afraid. > > You need to set the content-disposition header. Google gave this page > http://support.microsoft.com/kb/260519 which shows the syntax. > > I haven't looked at how you might do this with OfBiz. > > Cheers, > Anne. > > On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: > > Hi, > > > > I want to set the order pdf file name to its order number when we open > the > > pdf from backoffice orderdetail page > > (/ordermgr/control/order.pdf?orderId=XXXXX). > > Currently, the default name of the pdf is always "order.pdf", instead can > > set the default pdf name to its order number? > > > > > > -- > > Thanks & Regards > > Ganesh Bawne > > Enterprise Software Developer > > Viithiisys Pvt. Ltd. > > http://www.viithiisys.com > > > > > > -- > Coherent Software Australia Pty Ltd > PO Box 2773 > Cheltenham Vic 3192 > Phone: (03) 9585 6788 > Fax: (03) 9585 1086 > Web: http://www.cohsoft.com.au/ > Email: [hidden email] > > Bonsai ERP, the all-inclusive ERP system > http://www.bonsaierp.com.au/ > |
Administrator
|
https://issues.apache.org/jira/browse/OFBIZ-4479
Jacques From: "Pierre Smits" <[hidden email]> > This should be doable with ofbiz as well. I will look through JIRA to see if > a issue has been created and if not I will create one. > > Regards, > > Pierre > > 2011/10/17 Anne <[hidden email]> > >> Hi >> >> Only a partial answer, I'm afraid. >> >> You need to set the content-disposition header. Google gave this page >> http://support.microsoft.com/kb/260519 which shows the syntax. >> >> I haven't looked at how you might do this with OfBiz. >> >> Cheers, >> Anne. >> >> On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: >> > Hi, >> > >> > I want to set the order pdf file name to its order number when we open >> the >> > pdf from backoffice orderdetail page >> > (/ordermgr/control/order.pdf?orderId=XXXXX). >> > Currently, the default name of the pdf is always "order.pdf", instead can >> > set the default pdf name to its order number? >> > >> > >> > -- >> > Thanks & Regards >> > Ganesh Bawne >> > Enterprise Software Developer >> > Viithiisys Pvt. Ltd. >> > http://www.viithiisys.com >> > >> >> >> >> -- >> Coherent Software Australia Pty Ltd >> PO Box 2773 >> Cheltenham Vic 3192 >> Phone: (03) 9585 6788 >> Fax: (03) 9585 1086 >> Web: http://www.cohsoft.com.au/ >> Email: [hidden email] >> >> Bonsai ERP, the all-inclusive ERP system >> http://www.bonsaierp.com.au/ >> > |
Hi Jacques,
It seems to me that the JIRA you mentioned isn't related to the issue at hand. Or am I mistaken? Regards, Pierre 2011/10/17 Jacques Le Roux <[hidden email]> > https://issues.apache.org/**jira/browse/OFBIZ-4479<https://issues.apache.org/jira/browse/OFBIZ-4479> > > Jacques > > From: "Pierre Smits" <[hidden email]> > > This should be doable with ofbiz as well. I will look through JIRA to see >> if >> a issue has been created and if not I will create one. >> >> Regards, >> >> Pierre >> >> 2011/10/17 Anne <[hidden email]> >> >> Hi >>> >>> Only a partial answer, I'm afraid. >>> >>> You need to set the content-disposition header. Google gave this page >>> http://support.microsoft.com/**kb/260519<http://support.microsoft.com/kb/260519>which shows the syntax. >>> >>> I haven't looked at how you might do this with OfBiz. >>> >>> Cheers, >>> Anne. >>> >>> On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: >>> > Hi, >>> > >>> > I want to set the order pdf file name to its order number when we open >>> the >>> > pdf from backoffice orderdetail page >>> > (/ordermgr/control/order.pdf?**orderId=XXXXX). >>> > Currently, the default name of the pdf is always "order.pdf", instead >>> can >>> > set the default pdf name to its order number? >>> > >>> > >>> > -- >>> > Thanks & Regards >>> > Ganesh Bawne >>> > Enterprise Software Developer >>> > Viithiisys Pvt. Ltd. >>> > http://www.viithiisys.com >>> > >>> >>> >>> >>> -- >>> Coherent Software Australia Pty Ltd >>> PO Box 2773 >>> Cheltenham Vic 3192 >>> Phone: (03) 9585 6788 >>> Fax: (03) 9585 1086 >>> Web: http://www.cohsoft.com.au/ >>> Email: [hidden email] >>> >>> Bonsai ERP, the all-inclusive ERP system >>> http://www.bonsaierp.com.au/ >>> >>> >> |
Administrator
|
Right: https://issues.apache.org/jira/browse/OFBIZ-4480
Jacques From: "Pierre Smits" <[hidden email]> > Hi Jacques, > > It seems to me that the JIRA you mentioned isn't related to the issue at > hand. Or am I mistaken? > > Regards, > > Pierre > > > 2011/10/17 Jacques Le Roux <[hidden email]> > >> https://issues.apache.org/**jira/browse/OFBIZ-4479<https://issues.apache.org/jira/browse/OFBIZ-4479> >> >> Jacques >> >> From: "Pierre Smits" <[hidden email]> >> >> This should be doable with ofbiz as well. I will look through JIRA to see >>> if >>> a issue has been created and if not I will create one. >>> >>> Regards, >>> >>> Pierre >>> >>> 2011/10/17 Anne <[hidden email]> >>> >>> Hi >>>> >>>> Only a partial answer, I'm afraid. >>>> >>>> You need to set the content-disposition header. Google gave this page >>>> http://support.microsoft.com/**kb/260519<http://support.microsoft.com/kb/260519>which shows the syntax. >>>> >>>> I haven't looked at how you might do this with OfBiz. >>>> >>>> Cheers, >>>> Anne. >>>> >>>> On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: >>>> > Hi, >>>> > >>>> > I want to set the order pdf file name to its order number when we open >>>> the >>>> > pdf from backoffice orderdetail page >>>> > (/ordermgr/control/order.pdf?**orderId=XXXXX). >>>> > Currently, the default name of the pdf is always "order.pdf", instead >>>> can >>>> > set the default pdf name to its order number? >>>> > >>>> > >>>> > -- >>>> > Thanks & Regards >>>> > Ganesh Bawne >>>> > Enterprise Software Developer >>>> > Viithiisys Pvt. Ltd. >>>> > http://www.viithiisys.com >>>> > >>>> >>>> >>>> >>>> -- >>>> Coherent Software Australia Pty Ltd >>>> PO Box 2773 >>>> Cheltenham Vic 3192 >>>> Phone: (03) 9585 6788 >>>> Fax: (03) 9585 1086 >>>> Web: http://www.cohsoft.com.au/ >>>> Email: [hidden email] >>>> >>>> Bonsai ERP, the all-inclusive ERP system >>>> http://www.bonsaierp.com.au/ >>>> >>>> >>> > |
In reply to this post by Anne Jessel
Thank you Anne,
This helped me to fix my issue. I will commit the patch to ofbiz. Cheers, Ganesh On Mon, Oct 17, 2011 at 5:38 AM, Anne <[hidden email]> wrote: > Hi > > Only a partial answer, I'm afraid. > > You need to set the content-disposition header. Google gave this page > http://support.microsoft.com/kb/260519 which shows the syntax. > > I haven't looked at how you might do this with OfBiz. > > Cheers, > Anne. > > On 14 October 2011 00:50, Ganesh Bawne <[hidden email]> wrote: > > Hi, > > > > I want to set the order pdf file name to its order number when we open > the > > pdf from backoffice orderdetail page > > (/ordermgr/control/order.pdf?orderId=XXXXX). > > Currently, the default name of the pdf is always "order.pdf", instead can > > set the default pdf name to its order number? > > > > > > -- > > Thanks & Regards > > Ganesh Bawne > > Enterprise Software Developer > > Viithiisys Pvt. Ltd. > > http://www.viithiisys.com > > > > > > -- > Coherent Software Australia Pty Ltd > PO Box 2773 > Cheltenham Vic 3192 > Phone: (03) 9585 6788 > Fax: (03) 9585 1086 > Web: http://www.cohsoft.com.au/ > Email: [hidden email] > > Bonsai ERP, the all-inclusive ERP system > http://www.bonsaierp.com.au/ > |
Free forum by Nabble | Edit this page |