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

Help Required - Alert box while dragging measures and dimensions into cube

Resolved
TEG asked on November 22, 2018

Hi,
We are using csv file connection for flexmonster cube and its having around 600 columns. We want to restrict the number of columns(measures and dimensions) to 8 while dragging into the cube.
Is there a way to show an alert box saying you can not add more than 8 columns into the cube after adding 8 columns into cube or something like that?
Please revert asap as its client requirement and its already in the production.
Regards,
TEG

3 answers

Public
Ian Sadovy Ian Sadovy Flexmonster November 22, 2018

Hello TEG,
 
Thank you for the question.
Actually, it's possible to subscribe to events in the Field List and check the number of selected fields by the user.
If there are more than 8 fields selected, you can disable the Apply button and show the alert.
Please take a look at the following demo: https://jsfiddle.net/flexmonster/2bztrsqn/
 
Hope it helps.
 
Regards,
Ian

Public
TEG November 25, 2018

Thank you for the help. I will check and let you know.

Public
TEG November 26, 2018

Thanks its working fine for me.

Please login or Register to Submit Answer