Error in Optimizer & Clone: Access violation by field ADvendio__ProposalLineItemId__c
After installing 2.170 of ADvendio you may get the following error message when accessing the Campaign Builder, Media Configuration or Optimizer:
Access violation by field ADvendio__ProposalLineItemId__c in object ADvendio__Campaign_Item__c
Reason:
The reason for this error is because the field was deprecated with this version of ADvendio. A full list of deprecated fields can be found here:
Deprecated and removed objects/fields/buttons
Solution:
There are two known workarounds: remove the field from profile and permission sets (this could be time consuming if there are multiple permission sets and profiles). Or the quickest workaround is to delete the field, following these steps:
Switch to Salesforce classic
Click setup on the top right
On the left hand side see Build-> Create-Objects-> click Objects
Search for "Campaign Item" and click on the link
Under Custom Fields & Relationships find the field "ADvendio__ProposalLineItemId__c"
There will be a button to delete it on the left - Click delete and confirm