While trying to deploy my community, I have been facing this error :
“The page “/PartnerIncentiveClaim” for Menu Item “New Incentive Claim” must be published, begin with a / character, and consists only of characters that are permitted in a URL path for Menu Item Type “Internal”
Although my page is already published. Can anyone please help in identifying what am I missing?
I ran into this issue. It took a long time to figure out since the error message we see ins’t the actual error.
In my case,
- I created list view on Opportunity object.
- Used it in a lightning component by referencing its API name.
- Used the lightning component in a community page.
- Referenced the community page in partner portal navigation menu.
I forgot to include the list view I created in step 1. But Salesforce threw error about the navigation menu URL path which is actually correct. It would have been helpful if it threw a error about the lightning component which is referencing the missing component.