Thanks Pritam.
Yes it seems like on trunk it works and on 17.12 it does not.
But should be fine as I can move to latest version.
Regards,
Sameer Apte


On Mon, Nov 26, 2018 at 4:43 AM Pritam Kute <[email protected]>
wrote:

> Hello Sameer,
>
> Please follow the steps:
> 1. Go to the party profile screen on ecommerce site. [1]
>     (User/Pass are DemoCustomer/ofbiz)
> 2. Scroll down to find "File Manager" section.
> 3. Click on "Upload New File" button. (Currently, there is a UI bug. It is
> not showing the button properly. Also after selecting the file from your
> computer, it will not show the selected file name. It will still show no
> files. :) We can report this issue separately. )
> 4. Select the file from the File Manager pop-up which you want to upload. I
> have tested the flow with PDF file.
> 5. Select purpose as "User Defined Content" and mime-type as "Adobe
> Portable Document Format (PDF)".
> 6. Click on upload. It will upload a file to the server and reload the
> party profile screen.
> 7. Now you should able to see the uploaded content and view/remove buttons
> in front of it. Click on view button, it will show the PDF which you have
> uploaded in previous steps.
>
> [1]: https://demo-trunk.ofbiz.apache.org/ecommerce/control/viewprofile
>
> Note: I have tested this workflow on Google Chrome. Let me know if you are
> using any another browser.
>
> Thanks and Regards
> --
> Pritam Kute
>
> On Sun, Nov 25, 2018 at 10:00 PM Sameer Apte <[email protected]> wrote:
>
> > Thanks Pritam for having a look.
> >
> > I am looking at 17.12 as of now. After reading you email I also checked
> > party profile page in party manager quickly on trunk demo. But It is
> still
> > not exactly what I was hoping for.
> >
> > Essentially on party profile page there is party content widget which
> shows
> > view and remove links next to each of the party contents.
> > But if you click on view, it does not render the file uploaded in the
> > browser. Instead it takes us to a screen where same widget is shown just
> > that it occupies entire screen.
> >
> >
> https://demo-trunk.ofbiz.apache.org/partymgr/control/EditPartyContents?contentId=10003&partyId=admin
> >
> > What I was hoping for was some place wherein user can click on view and
> see
> > the file that was uploaded getting rendered in the browser e.g. image or
> > pdf. Pdf is preferable.
> >
> > Also the security related permissions which user should carry to make
> sure
> > that he / she can view the contents uploaded by her and not someone
> else's.
> >
> > Regards,
> > Sameer Apte
> >
> > On Sun, 25 Nov 2018, 15:51 Pritam Kute <[email protected]
> > wrote:
> >
> > > Hello Sameer,
> > >
> > > Can you tell more about OFBiz release you are using? I have tested the
> > > workflow on the trunk and it is working fine.
> > >
> > > IMO, you may have selected the wrong mime type. Please let me know
> which
> > > mime type and purpose you are selecting.
> > >
> > > Thanks and Regards
> > > --
> > > Pritam Kute
> > >
> > > On Sat, Nov 24, 2018 at 7:20 PM Sameer Apte <[email protected]>
> > wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am trying to see if there is any functionality provided out of box
> > that
> > > > would allow e-commerce customers to upload their documents and later
> on
> > > > view or delete the same.
> > > > Of course customers should be able to see the documents belonging to
> > only
> > > > themselves.
> > > >
> > > > On party profile page through party manager I could see that
> documents
> > > > could be uploaded. However when clicked on view it is not exactly
> > > rendering
> > > > the document itself. Rather it shows metadata of the document.
> > > >
> > > > Any pointers, tips, suggestion ?
> > > >
> > > > Regards,
> > > > Sameer Apte
> > > >
> > >
> >
>

Reply via email to