Re: How to Create Plugin without loadDefault

2018-11-27 Thread Pierre Smits
Hi,

After you have (re)build and started your OFBiz implementation you don't
need to (re)build and start it again loading all data (with ./gradlew
loadDefault) unit you make changes to your java code or service
definitions. You can make changes to your screens, forms, FTL and Groovy
scripts without any rebuild and restart. You can then load (import) your
data through functionalities in the Webtools component.

Best regards,

Pierre Smits

*Apache Trafodion , Vice President*
*Apache Directory , PMC Member*
Apache Incubator , committer
*Apache OFBiz , contributor (without privileges)
since 2008*
Apache Steve , committer


On Tue, Nov 27, 2018 at 1:10 PM Schumann Ye 
wrote:

> Dear Gurus, dear Rishi, dear Jacques,
>
> I’ve got a quick and easy question for you guys.
> How can I create Plugin (as shown in step 1 below) but without running
> step 2 below in order to show the newly created plugin in our production
> environment?
> Step 1: gradlew createPlugin -PpluginId=quality
> Step 2: gradlew loadDefault
>
> As I follow the tutorial written by Jacques, it seems it’s a MUST to run
> step 2 but I don’t want to mess up what I have done so far.
> Any hint?
>
> Many thanks and have a nice day!
> Schumann
> +86-18001501800
>
>


Re: Uploading and viewing documents of party

2018-11-27 Thread Sameer Apte
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 
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  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=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  > 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 
> > 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
> > > >
> > >
> >
>


Re: How to Create Plugin without loadDefault

2018-11-27 Thread Gil Portenseigne
Hello Schumann,

I believe what you are looking for is to load specific readers, to avoid
loading demo data.

./gradlew "ofbiz --load-data readers=seed"

This command will load all seed data, and thus security data of your
newly created plugin.

You could also use webtools webapp to load reader
(https://demo-stable.ofbiz.apache.org/webtools/control/EntityImportReaders)

Or directly the data files you want
(https://demo-stable.ofbiz.apache.org/webtools/control/EntityImport)

Enjoy !

Gil

Le mardi 27 nov. 2018 à 12:09:57 (+), Schumann Ye a écrit :
> Dear Gurus, dear Rishi, dear Jacques,
> 
> I’ve got a quick and easy question for you guys.
> How can I create Plugin (as shown in step 1 below) but without running step 2 
> below in order to show the newly created plugin in our production environment?
> Step 1: gradlew createPlugin -PpluginId=quality
> Step 2: gradlew loadDefault
> 
> As I follow the tutorial written by Jacques, it seems it’s a MUST to run step 
> 2 but I don’t want to mess up what I have done so far.
> Any hint?
> 
> Many thanks and have a nice day!
> Schumann
> +86-18001501800
> 


Re: How to Create Plugin without loadDefault

2018-11-27 Thread Jacques Le Roux

Hi Schumann,

Sorry I don't remember having wrote a such tutorial (maybe I updated it). Have 
you an URL?

Jacques


Le 27/11/2018 à 13:09, Schumann Ye a écrit :

Dear Gurus, dear Rishi, dear Jacques,

I’ve got a quick and easy question for you guys.
How can I create Plugin (as shown in step 1 below) but without running step 2 
below in order to show the newly created plugin in our production environment?
Step 1: gradlew createPlugin -PpluginId=quality
Step 2: gradlew loadDefault

As I follow the tutorial written by Jacques, it seems it’s a MUST to run step 2 
but I don’t want to mess up what I have done so far.
Any hint?

Many thanks and have a nice day!
Schumann
+86-18001501800






Re: Wikipedia update

2018-11-27 Thread Wolfgang Paul Rauchholz
I can contribute to the Spanish pages.
I am not a Wilipedia talent, but I gues in a team we can get his one solved

Saludos, Wolfgang



On Tue, Nov 27, 2018 at 11:16 AM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi,
>
> Today I spent some time to update the latest released version and date on
> Wikipedia French and English pages.
>
> It's really uneasy in French which uses Infobox and Wikidata. I'm often
> lost, after 3 time I still did not understand how it really works, anyway.
>
> I'd really appreciate if you have some Wikipedia talent to help with other
> pages (Spanish and Russian) and help to maintain Wikipedia pages at large.
>
> With Julien Nicolas we have to battle last year to keep the French page
> (yes they wanted to delete it).
>
> English Wikipedia moderators seems less rude and the page contains only
> warnings. It would still be good if we could cleanup these warnings.
>
> Thanks
>
> Jacques
>
>

-- 

Wolfgang Rauchholz


How to Create Plugin without loadDefault

2018-11-27 Thread Schumann Ye
Dear Gurus, dear Rishi, dear Jacques,

I’ve got a quick and easy question for you guys.
How can I create Plugin (as shown in step 1 below) but without running step 2 
below in order to show the newly created plugin in our production environment?
Step 1: gradlew createPlugin -PpluginId=quality
Step 2: gradlew loadDefault

As I follow the tutorial written by Jacques, it seems it’s a MUST to run step 2 
but I don’t want to mess up what I have done so far.
Any hint?

Many thanks and have a nice day!
Schumann
+86-18001501800



Wikipedia update

2018-11-27 Thread Jacques Le Roux

Hi,

Today I spent some time to update the latest released version and date on 
Wikipedia French and English pages.

It's really uneasy in French which uses Infobox and Wikidata. I'm often lost, 
after 3 time I still did not understand how it really works, anyway.

I'd really appreciate if you have some Wikipedia talent to help with other 
pages (Spanish and Russian) and help to maintain Wikipedia pages at large.

With Julien Nicolas we have to battle last year to keep the French page (yes 
they wanted to delete it).

English Wikipedia moderators seems less rude and the page contains only 
warnings. It would still be good if we could cleanup these warnings.

Thanks

Jacques