Skip to main content

Hi freaks

I'm try to build a plugin to show listings of all objecttypes
For type "ENT" I run into a challenge 🙂
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 🙂

Ingo

Hi freaks

I'm try to build a plugin to show listings of all objecttypes
For type "ENT" I run into a challenge 🙂
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 🙂

Ingo

Hi Ingo,

how about a radiobutton to select one of both?


Norbert


Hi freaks

I'm try to build a plugin to show listings of all objecttypes
For type "ENT" I run into a challenge 🙂
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 🙂

Ingo

Hi Norbert

Yes, this is also a workaround 🙂

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

Ingo


Hi freaks

I'm try to build a plugin to show listings of all objecttypes
For type "ENT" I run into a challenge 🙂
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 🙂

Ingo

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