I am trying to deploy a dashboard through METADATA API and I am getting this error:
dashboards/Sales_Pipeline/lDikNwTblUhdgUlSupWtYQXXkpDFSa217.dashboard — Error: Either org permission or org preference are not enabled for flex table
I could not google this error at all and I am getting quite desperate. I would very much like to avoid having to recreate this dashboard, as we have quite a lot of sandboxes.
My user has both the Report Builder
and Report Builder (Lightning Experience) permissions.
I have identified, that the culprit for this is the Lightning table dashboard component. SF is not creating the ‘DashboardFlexTableComponentProperties’ for it and my manual attempts to add it to the metadata was not successful.