Need a special offer?Find out if your project fits.
+

reportFilter.filter.members are returned in lower case

Answered
Ducarme Olivier asked on September 23, 2020

Hello flexmonster,
While integrating flexmonster with EMAsphere, our product, we need at some point to extract the report filters configured by the user in its flexmonster setup. This is done so we can optimize the database query on the back-end side, reduce the JSON payload transferred to the front-end, and therefore improve the user experience.
We notice that, doing so, all members values are returned in lower case, while the initial data values contains some upper case characters. The consequence is that our request fails to fetch the necessary records.
Retrieving the exact original values selected by the user for his report filters is critical for us. Is there a way we can achieve that ?
 
Regards,
 
Olivier

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 23, 2020

Hello,
 
Thank you for reaching out to us.
 
We want to explain that the hierarchies’ members are not case-sensitive by default. To make them case-sensitive, use the options.caseSensitiveMembers property.
 
Please see the following code snippet for the reference:

options: {
caseSensitiveMembers: true,
...
}

Detailed information about the options object and its properties can be found in our documentation.
 
Please let us know if it works for you.
Do not hesitate to contact us in case any additional questions arise.
 
Kind regards,
Illia

Public
Kevin September 24, 2020

Thank you

Please login or Register to Submit Answer