1
0
-1

Hi freaks

I'm try to build a plugin to show listings of all objecttypes
For type "ENT" I run into a challenge (smile)
There is no listing for "ENT" but two for "EOI" and "ECI"
An idea is, to show for this type two tabs
"listing EOI" and "listing "ECI"
I don't want to duplicate code but to reuse the on "list viewer".

The line in ASN should look like this:

IDE_DEFINE_WORKSHEETS_ENT=VLISTING(EOI),VLISTING(ECI)

Is there an chance to desclare a static parameter?

Yes, there are a few "worarounds" but a static paramater is much more clear (smile)

Ingo

  1. Daniel Iseli

    At this moment the logical refers to the component name of the worksheet plug-in. So, the answer (right now) is no.

    You could of course implement a tab or form container in the worksheet plug-in component, and show the different listings in this way. A plug-in, on the other hand, can, of course, consist of multiple components. So there's plenty of possibilities to reuse code or functionality.

    Daniel

CommentAdd your comment...

2 answers

  1.  
    1
    0
    -1

    Hi Norbert

    Yes, this is also a workaround (smile)

    I just did it "quick and dirty" and load both listings, one afte the other. Just a line of "====" in between

    Ingo

      CommentAdd your comment...
    1.  
      1
      0
      -1

      Hi Ingo,

      how about a radiobutton to select one of both?


      Norbert

        CommentAdd your comment...