AL icon indicating copy to clipboard operation
AL copied to clipboard

FilterPageBuilder doesnt show fields in webclient

Open Pieterheinevdm opened this issue 8 years ago • 9 comments

FilterPageBuilder doesnt show any fields when using the webclient. The same code is working with the windows client.

image

image

build 13.0.24267

Pieterheinevdm avatar Sep 14 '18 14:09 Pieterheinevdm

what is the status?

Pieterheinevdm avatar Oct 03 '18 07:10 Pieterheinevdm

The owning team asked for sample code to reproduce this issue. Could you please provide such a sample?

StanislawStempin avatar Nov 20 '18 14:11 StanislawStempin

Hi @StanislawStempin

I think @Pieterheinevdm accidently posted the sample to the wrong topic. I'll post his sample here, as we are having the same issue:

procedure ExampleUseFilterPageBuilder() Result:Text
var
    TableMetadata: Record "Table Metadata";
    FilterPageBuilder: FilterPageBuilder;
begin
    TableMetadata.GET(27);
    FilterPageBuilder.ADDTABLE(TableMetadata.Caption,TableMetadata.ID);
    if FilterPageBuilder.RUNMODAL then
      Result := FilterPageBuilder.GETVIEW(TableMetadata.Caption,true);
end;

hvogelpohl avatar Dec 03 '18 14:12 hvogelpohl

The FilterPageBuilder in the web client does not allow to a add/remove filter fields on the page. Selecting a sort order (key) is also not possible.

image

BartBourgeois avatar Dec 15 '18 20:12 BartBourgeois

We received a reply from the Client team: Currently, WebClient does not support adding filter lines on Request or Filter pages from the UI. App developers need to set chosen set of filter fields from code for the user.

So for now closing it as by design. This will be improved in the future.

StanislawStempin avatar Dec 27 '18 09:12 StanislawStempin

:( we need this on a variable table number. For example a user must select the filter he/she wants on table 27 or on table 18 or on table XYZ etc. So we cannot predict which fields the user wants, he/she must select the fields and set the filters.

Pieterheinevdm avatar Jan 09 '19 13:01 Pieterheinevdm

Hi, I've just incurred in this error, and I quote for what @Pieterheinevdm said. In RTC works as usual but in the web client did not.

Are there any updates for this topic?

Thanks

f4n0 avatar Mar 14 '19 16:03 f4n0

The workaround is: adding just one (for example the first field of the table) field to the FilterPageBuilder

Example: FilterPageBuilder.ADDFIELD(TableMetadata.Caption,Fld."No.");

Met vriendelijke groet,

Pieter-Heine van der Meulen Technisch Consultant [cid:[email protected]]

ABECON INFORMATIESYSTEMEN B.V.B.A. Kerkstraat 106, 9050 GENTBRUGGE | T +32 9 252 19 79 | W www.nav365.be http://www.nav365.be/ | www.abecon.be http://www.abecon.be/ | M +31(0)6 11 62 86 85

[Dare to be different]

http://www.abecon.be

http://www.abecon.be Van: stefanoPrimo [email protected] Verzonden: donderdag 14 maart 2019 17:36 Aan: Microsoft/AL [email protected] CC: Pieter-Heine van der Meulen [email protected]; Mention [email protected] Onderwerp: Re: [Microsoft/AL] FilterPageBuilder doesnt show fields in webclient (#3728)

Hi, I've just incurred in this error, and I quote for what @Pieterheinevdmhttps://github.com/Pieterheinevdm said. In RTC works as usual but in the web client did not.

Are there any updates for this topic?

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/3728#issuecomment-472952540, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APSmEVWfpejxNbJ_4L2bInYff5kTP25rks5vWnp3gaJpZM4Wpa5J.

Pieterheinevdm avatar Mar 14 '19 16:03 Pieterheinevdm

We have the same issue in all standard report. If there is not enought pre-enter field as filter, we cannot add some. Or if there is others dataitem without specified filters, it is not possible to add some new filter.

This is quite a big issue for our customers.

YvesDesrumaux avatar May 09 '19 15:05 YvesDesrumaux