Anyone know this Flexi Page error? How should I fix this? - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Girish KotgireGirish Kotgire 

Anyone know this Flexi Page error? How should I fix this?

I am getting this error while deploying one Flexi page:

flexipages/Booking_Record_Page.flexipage -- Error: Invalid property [enableActionsConfiguration] in component [force:highlightsPanel]

I am not able to find out the reason for this....!

 

Best Answer chosen by Girish Kotgire
Amnon KruviAmnon Kruvi
Hi Girish,

I believe configurable actions is a Summer 20 feature. Unless you refreshed your sandbox in the past week, it would be on the Summer 20 release, which means you will not be able to deploy certain elements from there to your production org until July, when those are updated.

All Answers

Amnon KruviAmnon Kruvi
Hi Girish,

I believe configurable actions is a Summer 20 feature. Unless you refreshed your sandbox in the past week, it would be on the Summer 20 release, which means you will not be able to deploy certain elements from there to your production org until July, when those are updated.
This was selected as the best answer
Rachel BeachRachel Beach
So does that mean it's not possible to include Lightning Pages in change sets for now or is there something that can be done to the page in order for it to not reference that property and thus be able to be deployed to production?
Amnon KruviAmnon Kruvi
I would say it isn't possible if you have a summer sandbox. If you need to develop things, then keep in mind that any new sandboxes that you create, or any sandboxes that you refresh from production, will be created as the current release. 
Rachel BeachRachel Beach
Forgive my ignorance on this issue---my sandbox was created a long time ago. Does that mean it's not a summer sandbox? And should it be woring as normal if I haven't created a new one nor refreshed it? Or do updates happen to the sandboxes periodically such that there are periods of time when you can't deploy from Sandbox to Production?
Amnon KruviAmnon Kruvi
All sandboxes were updated to the summer release a couple of weeks ago, so if it's old then it's updated. If you refresh it it will revert back to the current release until the July full release date.
Girish KotgireGirish Kotgire
thanks Amnon Kruvi
Girish KotgireGirish Kotgire
@Rachel Beach, Check your sandbox instance. It will tell you summer'20 is updated on your sandbox or not.
Girish KotgireGirish Kotgire
If you use Salesforce Classic Interface, login to your Salesforce instance. Then look at the subdomain of the address bar. For example, our Salesforce instance is “NA3.salesforce.com”. This tells me that I am on the NA3 instance.
If you use Salesforce Lightning Interface, login to your Salesforce instance. Then go to Setup | Company Settings | Company Information.  In the company information will be a field called “Instance”.  That’s it!
Rachel BeachRachel Beach
OK Sandbox is CS13. 
  1. Does that mean it's summer?
  2. If so, how did that happen? Did I do something or does it happen automatically?
  3. If it is summer, does that mean I can't deploy anything to Production until July? Is there a way to remove references to this enableActionsConfiguration property in the summer instance so that I *can* deploy?
Thanks for your help. This is all very confusing to me.
Girish KotgireGirish Kotgire

Yes, your sandbox is in the preview state. You can check that here:

https://www.salesforce.com/blog/2020/05/summer-20-sandbox-preview.html 

Salesforce pushed these updates to list of instances mentioned in the above link

I guess you can deploy if your production instance also listed above list. If not then you can remove that component from Flexi page XML file or update changes manually in production.

Rachel BeachRachel Beach
OK thank you very much!
Yashad TayalYashad Tayal
To successfully deploy these lightning pages you can also remove the Highlights panel from each page and then you'll be able to deploy as usual. 
Noortje van HeijstNoortje van Heijst
Hi Yashad, can you please elaborate on how to remove the highlights panel from the pages? I have the same issue..
Yashad TayalYashad Tayal
Just edit the lightning record lage with app builder and remove the highlight panel and save. Then add the lightning page to your change set.
Ruth SmithRuth Smith
What does configurable actions have to do with the highlights panel?
Amnon KruviAmnon Kruvi
That's where the actions appear. 
Ruth SmithRuth Smith
Sorry I went to my sandbox and added the hightlight panel back and see you can add actions there now. Exciting. 
Kat HarrisonKat Harrison
You can get around this error and still deploy the component by editing the Flexipage XML file to remove the problematic parameters.

You can do this with the Ant Migration tool.  Installing Ant is a little tricky, but once you do that, add all your flexipages to your manifest and then open and edit the XML, save, deploy back to the same sandbox and then you can deploy your changeset.

Of course, once you're in Ant Migration tool, you may not go back to changesets.