cancel
Showing results for 
Search instead for 
Did you mean: 

RAP validation works in Preview but not in Fiori Elements List Report

AlexNecula
Active Contributor
123

Hello,

Newbie in RAP. I have created a demo app in a sandbox environment.

There is a very basic validation implemented where a field (Office Space) must start with "FL". This works perfectly well when using the "Preview" functionality from Eclipse. The error message appears and the field is highlighted.

AlexNecula_0-1736766908200.png

However, after creating a List Report with the standard template from Visual Studio Code, only the generic error appears, not the one related to the field.

AlexNecula_1-1736767036428.png

Below you can find the definition and implementation:

AlexNecula_2-1736767099115.png

AlexNecula_3-1736767122173.png

To be noted that if I remove the %state_area value, the error appears in a popup but the field is still not highlighted.

Without %state_area:

AlexNecula_4-1736767213241.pngAlexNecula_5-1736767230439.png

So maybe I misuse the %state_area? I have just used a dummy text "OFFICE_SPACE". Should the values for this field be predefined somewhere?

 

Accepted Solutions (0)

Answers (0)