ENTITY_IS_DELETED on SFDC Publish

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Cwestpha
Propeller Head
Posts: 49
Joined: Wed Jun 01, 2011 8:31 am

ENTITY_IS_DELETED on SFDC Publish

Post by Cwestpha »

I've had this issue since I began using the SalesForce Connect module. I suspect other folks have not because they did not have an SME creating wacky file names that needed as much correction.

the TLDR version is: don't change file names for topics that are already exported to SFDC if you are ever going to republish in the future.

Symptom:

When publishing to SFDC after the initial publishing, the publish fails and returns the SFDC error message in your build log of "ENTITY_IS_DELETED"

Occurs when:
  • Delete Stale Files is enabled for the destination
  • Use Bulk Export is enabled for the destination
  • One or more topics has had its name changed in Flare/Windows between exports
Workaround
  1. Delete all new duplicate articles. (hopefully these were only drafts)
  2. Restore deleted SFDC articles from the SFDC recycle bin.
  3. Create new drafts from the deleted articles in the Knowledge Archive (Article Management module)
  4. Publish these new draft articles (This is the SFDC "publish" action, NOT the Flare "publish" action).
  5. Rename all changed topic files in Flare back to their original names.
  6. Republish the output from Flare to SFDC.
Cwestpha
Propeller Head
Posts: 49
Joined: Wed Jun 01, 2011 8:31 am

Re: ENTITY_IS_DELETED on SFDC Publish

Post by Cwestpha »

Addendum:

Do not, whatever you do, delete the first iteration of an article published to SFDC before it is published on SFDC (SalesForce publish action). This deletion will be permanent and there will be no chance to rescue the original article from the recycle bin. The flare destination will forever expect to see the original article and won't, causing the Entity is Deleted error.

You will be in the same boat for a previously published article if you clear the recycle bin before you can restore it. If either of these happens, you must delete all of the related articles and create an entirely new destination to recover by uploading totally new versions of all of those articles.
agracer
Propeller Head
Posts: 23
Joined: Fri Aug 19, 2016 11:58 am

Re: ENTITY_IS_DELETED on SFDC Publish

Post by agracer »

I'm getting an error 140006 Publish Failed: Could not upload "filename"

Could this be the same thing? I am just starting playing with this functionality, so I am deleting files and republishing pretty frequently.

Are you experienced with this functionality?
Do you have a sample site you can share?
Thanks for the heads up!
--Amy
Post Reply