Created plugins are not showing up in DEV Environment

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Created plugins are not showing up in DEV Environment

Daors Islami
Hello OFBiz Community!

I will try to describe the problem fast therefore not losing too much of your time, I deployed the OFBiz
into a web server online but there's a problem, the plugins that I created are not being shown or listed in the main menu tabs, there where the other webapps are displayed.

I have tried installing the plugin when I created via the command:
`gradlew installPlugin -PpluginId=myplugin`

I also tried building, cleaning, re-building and still when I deploy it to web server my created plugins are not being shown, am I missing something?

Thank you for your time, really appreciate it.

Best regards,
Daors
Reply | Threaded
Open this post in threaded view
|

Re: Created plugins are not showing up in DEV Environment

Gil Portenseigne
Hello Daors,

After installing your plugin, do you have it present in plugins folder
in OFBiz root directory ?
If so have you defined a webapp in its ofbiz-component.xml with the
property :
    app-bar-display="true"

Regards,

Gil

On Fri, Nov 13, 2020 at 09:35:39AM -0000, Daors wrote:

> Hello OFBiz Community!
>
> I will try to describe the problem fast therefore not losing too much of your time, I deployed the OFBiz
> into a web server online but there's a problem, the plugins that I created are not being shown or listed in the main menu tabs, there where the other webapps are displayed.
>
> I have tried installing the plugin when I created via the command:
> `gradlew installPlugin -PpluginId=myplugin`
>
> I also tried building, cleaning, re-building and still when I deploy it to web server my created plugins are not being shown, am I missing something?
>
> Thank you for your time, really appreciate it.
>
> Best regards,
> Daors

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Created plugins are not showing up in DEV Environment

Daors Islami
Hey Gil thank you for your response,

No I did not, and now I tried it but it is still not showing up at the main
tab menu, are there any other things that I might have missed?

Thank you so much,
Daors

On Fri, Nov 13, 2020 at 10:40 AM Gil Portenseigne <
[hidden email]> wrote:

> Hello Daors,
>
> After installing your plugin, do you have it present in plugins folder
> in OFBiz root directory ?
> If so have you defined a webapp in its ofbiz-component.xml with the
> property :
>     app-bar-display="true"
>
> Regards,
>
> Gil
>
> On Fri, Nov 13, 2020 at 09:35:39AM -0000, Daors wrote:
> > Hello OFBiz Community!
> >
> > I will try to describe the problem fast therefore not losing too much of
> your time, I deployed the OFBiz
> > into a web server online but there's a problem, the plugins that I
> created are not being shown or listed in the main menu tabs, there where
> the other webapps are displayed.
> >
> > I have tried installing the plugin when I created via the command:
> > `gradlew installPlugin -PpluginId=myplugin`
> >
> > I also tried building, cleaning, re-building and still when I deploy it
> to web server my created plugins are not being shown, am I missing
> something?
> >
> > Thank you for your time, really appreciate it.
> >
> > Best regards,
> > Daors
>
Reply | Threaded
Open this post in threaded view
|

Re: Created plugins are not showing up in DEV Environment

Gil Portenseigne
Is the plugin you are installing an existing one ?

If not and you want to create a new one, please rather use createPlugin
command (explained in the Readme.adoc in OFBiz root)

HTH

Gil


On Fri, Nov 13, 2020 at 11:01:50AM +0100, Daors Islami wrote:

> Hey Gil thank you for your response,
>
> No I did not, and now I tried it but it is still not showing up at the main
> tab menu, are there any other things that I might have missed?
>
> Thank you so much,
> Daors
>
> On Fri, Nov 13, 2020 at 10:40 AM Gil Portenseigne <
> [hidden email]> wrote:
>
> > Hello Daors,
> >
> > After installing your plugin, do you have it present in plugins folder
> > in OFBiz root directory ?
> > If so have you defined a webapp in its ofbiz-component.xml with the
> > property :
> >     app-bar-display="true"
> >
> > Regards,
> >
> > Gil
> >
> > On Fri, Nov 13, 2020 at 09:35:39AM -0000, Daors wrote:
> > > Hello OFBiz Community!
> > >
> > > I will try to describe the problem fast therefore not losing too much of
> > your time, I deployed the OFBiz
> > > into a web server online but there's a problem, the plugins that I
> > created are not being shown or listed in the main menu tabs, there where
> > the other webapps are displayed.
> > >
> > > I have tried installing the plugin when I created via the command:
> > > `gradlew installPlugin -PpluginId=myplugin`
> > >
> > > I also tried building, cleaning, re-building and still when I deploy it
> > to web server my created plugins are not being shown, am I missing
> > something?
> > >
> > > Thank you for your time, really appreciate it.
> > >
> > > Best regards,
> > > Daors
> >

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Created plugins are not showing up in DEV Environment

Schumann
In reply to this post by Gil Portenseigne
Dear Doars,

It's normally the authorization issue.  You just have to assign to your account with the newly created plugin permission.

If you don't know where to find it,  you can try to look into the database table SECURITY_PERMISSION and see if your newly created plugin has been inserted there.

If no,  it's likely your script doesn't work so you have to run gradlew "ofbiz --load-data readers=seed".

Then try to run gradlew ofbiz.
In case you still can't see it,  you just need to assign to your account with the proper authorization.
For the details you can look at my previous jira ofbiz ticket.

HIH
mvh
Schumann

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
发件人: Gil Portenseigne <[hidden email]>
发送时间: 2020年11月13日星期五 17:40
收件人: [hidden email]
主题: Re: Created plugins are not showing up in DEV Environment

Hello Daors,

After installing your plugin, do you have it present in plugins folder
in OFBiz root directory ?
If so have you defined a webapp in its ofbiz-component.xml with the
property :
    app-bar-display="true"

Regards,

Gil

On Fri, Nov 13, 2020 at 09:35:39AM -0000, Daors wrote:

> Hello OFBiz Community!
>
> I will try to describe the problem fast therefore not losing too much of your time, I deployed the OFBiz
> into a web server online but there's a problem, the plugins that I created are not being shown or listed in the main menu tabs, there where the other webapps are displayed.
>
> I have tried installing the plugin when I created via the command:
> `gradlew installPlugin -PpluginId=myplugin`
>
> I also tried building, cleaning, re-building and still when I deploy it to web server my created plugins are not being shown, am I missing something?
>
> Thank you for your time, really appreciate it.
>
> Best regards,
> Daors

Reply | Threaded
Open this post in threaded view
|

Re: Created plugins are not showing up in DEV Environment

Daors Islami
Thank you Schumann, I am trying it right now and I see that in the table
SECURITY_PERMISSION my plugin is not inserted there so now I'm gonna give
it a shot at what you said
and will let you know if it worked for me, also I tried to search at ofbiz
jira about your ticket but couldn't seem to find it, can you provide me
with a link

Thank you again man,
Best Regard,
Daors

On Fri, Nov 13, 2020 at 12:22 PM Schumann Ye <[hidden email]>
wrote:

> Dear Doars,
>
> It's normally the authorization issue.  You just have to assign to your
> account with the newly created plugin permission.
>
> If you don't know where to find it,  you can try to look into the database
> table SECURITY_PERMISSION and see if your newly created plugin has been
> inserted there.
>
> If no,  it's likely your script doesn't work so you have to run gradlew
> "ofbiz --load-data readers=seed".
>
> Then try to run gradlew ofbiz.
> In case you still can't see it,  you just need to assign to your account
> with the proper authorization.
> For the details you can look at my previous jira ofbiz ticket.
>
> HIH
> mvh
> Schumann
>
> Get Outlook for Android<https://aka.ms/ghei36>
>
> ________________________________
> 发件人: Gil Portenseigne <[hidden email]>
> 发送时间: 2020年11月13日星期五 17:40
> 收件人: [hidden email]
> 主题: Re: Created plugins are not showing up in DEV Environment
>
> Hello Daors,
>
> After installing your plugin, do you have it present in plugins folder
> in OFBiz root directory ?
> If so have you defined a webapp in its ofbiz-component.xml with the
> property :
>     app-bar-display="true"
>
> Regards,
>
> Gil
>
> On Fri, Nov 13, 2020 at 09:35:39AM -0000, Daors wrote:
> > Hello OFBiz Community!
> >
> > I will try to describe the problem fast therefore not losing too much of
> your time, I deployed the OFBiz
> > into a web server online but there's a problem, the plugins that I
> created are not being shown or listed in the main menu tabs, there where
> the other webapps are displayed.
> >
> > I have tried installing the plugin when I created via the command:
> > `gradlew installPlugin -PpluginId=myplugin`
> >
> > I also tried building, cleaning, re-building and still when I deploy it
> to web server my created plugins are not being shown, am I missing
> something?
> >
> > Thank you for your time, really appreciate it.
> >
> > Best regards,
> > Daors
>
>