Good morning Dan

Thanks for the suggestions,  I'll give that a try and see how it goes.

kind regards

Ernest


On Sun, Sep 24, 2023 at 5:04 PM Daniel Watford <[email protected]> wrote:

> Hi Ernest,
>
> I don't have a full answer to this...
>
> I assume you are talking about running a file viewer on the client-side
> from the browser?
>
> Browsers take steps to prevent running of arbitrary scripts/binaries on the
> client side, so launching a new process from the browser will be difficult
> without overriding some security settings.
>
> Normally you would retrieve a resource from the server - in your case
> autocad file. The server should include a mimetype for the file and a
> 'disposition' to state whether the browser should open or download the
> file. If directed to open the file, the browser will then lookup a viewer
> from its list of programs based on the mimetype. Assuming you can register
> your autocad viewer script with the browser, you should be fine to view the
> files from the browser.
>
> I'm not sure of the specifics around storing the files in OFBiz. You might
> want to use the Content service and ensure an appropriate mimetype is
> stored in the file's content metadata. Hopefully someone else can advise on
> an appropriate way to add autocad content to OFBiz.
>
> HTH,
>
> Dan.
>
> On Mon, 18 Sept 2023 at 13:07, Ernest Hocking <[email protected]
> >
> wrote:
>
> > Many thanks Daniel
> >
> > found them.  They are under organisationalGLSettings->
> > accounting->summary.
> >
> > kind regards
> >
> > Ernest
> >
> > PS can you recommend if there is a "best practice" way to call a linux
> > script from within a form?   For example run a viewer appliaitron with a
> > parameter of a file name.  E.g. run the autocad viewer to display a
> drawing
> > of  product.
> >
> > thanks and klid regards
> >
> > Ernest
> >
> >
> > On Mon, Sep 18, 2023 at 1:56 PM Daniel Watford <[email protected]> wrote:
> >
> > > Hi Ernest,
> > >
> > > I haven't dealt with the BIRT plugin yet, so cannot offer any advice
> > there
> > > at the moment, sorry.
> > >
> > > Hopefully someone else can jump in with some information for you.
> > >
> > > Dan.
> > >
> > > On Mon, 18 Sept 2023 at 02:00, Ernest Hocking <
> > [email protected]
> > > >
> > > wrote:
> > >
> > > > Good morning Dan,
> > > >
> > > > Excellent. that worked (y) so I can now try running some local Birt
> > > reports
> > > > from within Ofbiz.
> > > >
> > > > However I see that some of the accounting reports that I thought
> might
> > be
> > > > associated with Birt are not visible (trail balance, and profit and
> > loss)
> > > > .  Am I missing something or just not looking for them in the right
> > > place?
> > > >
> > > > thanks and kind regards
> > > >
> > > > Ernest
> > > >
> > > >
> > > >
> > > > On Sat, Sep 16, 2023 at 5:11 PM Daniel Watford <[email protected]>
> > wrote:
> > > >
> > > > > Hi Ernest,
> > > > >
> > > > > The BIRT OFBiz component can be enabled by modifying file,
> > > > > $OFBIZ/plugins/birt/ofbiz-component.xml.
> > > > >
> > > > > In that file you should see a line similar to:
> > > > >
> > > > > <ofbiz-component name="birt" enabled="false"
> > > > >
> > > > > Change this line to have:
> > > > >    enabled="true"
> > > > >
> > > > > Restart OFBiz and you should find the BIRT component has been
> > enabled.
> > > > >
> > > > > Dan.
> > > > >
> > > > >
> > > > > On Fri, 15 Sept 2023 at 04:02, Ernest Hocking <
> > > > [email protected]
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Good morning everyone
> > > > > >
> > > > > > Birt flexible reports were disabled as noted
> > > > > >
> > > > > > The Birt component is disabled by default in all branches
> > (including
> > > > > trunk)
> > > > > > since 18.12.06 because of CVE-2022-25371,
> > > > > > <
> https://lists.apache.org/thread/bvp3sczqq863lxr1wh7wjvdtjbkcwspq>
> > > > > please
> > > > > > check !
> > > > > >
> > > > > > I'm running 18.12.06 as suggested by Jacques in a previous email.
> > > > > >
> > > > > > Is there a way that I can re-enable the Birt component?  Pulling
> > > > > > /installing the plugin does not
> > > > > >
> > > > > > thanks in advance
> > > > > >
> > > > > > Ernest
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Daniel Watford
> > > > >
> > > >
> > >
> > >
> > > --
> > > Daniel Watford
> > >
> >
>
>
> --
> Daniel Watford
>

Reply via email to