Do not see warning message about image usage when moving that image to trash even that image is really used by blocks/pages

Vote:
 

Hi guys,

Recently I had an issue when working on Optimizely CMS version 11.20.3. I do not see a warning message about image usage in some cases when removing that image to trash even if that image has been used by blocks/pages. It does not happen for all cases, just random cases.

I tried to remove the image from a block and re-add it to the block again then moved it to the trash and I got a warning message after that.

 I want to note that we have about 20000 images in our cms system. I do not know why it could happen. Is there anyone who has the same issue with me? Do you know why it could happen? Please help to share your case and how to solve it.

Thanks a lot

#322275
May 17, 2024 7:28
Vote:
 

The table tblContentSoftlink is the reason why you get these messages. If content is missing from tblContentSoftlink, you will not get the messages. tblContentSoftlink is updated when you (re-)publish content.

Not all property types will lead to tblContentSoftlink being populated. That's one of the reasons for tha warning at the top of the documentation for generic property list:
https://docs.developers.optimizely.com/content-management-system/v11.0.0-cms/docs/generic-propertylist

You may write your own code to populate tblContentSoftlink without re-publishing content. Have a look at my blog post:
https://www.gulla.net/en/blog/updated-optimizely-link-status-report-missing-property-names/

The blog post is written in context of an issue with CMS 12, but the code should run in CMS 11 without any (or minimal) changes.

Good luck!

#322498
Edited, May 22, 2024 13:59
Vote:
 

Hi Tomas,

Thanks for your help. I will try to check it with your recommendation.

#322548
May 23, 2024 7:57
Vote:
 

Hi Tomas,

I do not see this https://www.gulla.net/en/blog/updated-optimizely-link-status-report-missing-property-names/ works with my case. Do not know why. I must scan all pages, all blocks to find usages in URL, LinkCollection, ContentArea, Block, ContentReference, List Of Content Reference instead of using SoftLink Indexers.

#322606
May 24, 2024 15:15
Tomas Hensrud Gulla - May 27, 2024 13:50
Weird. That should not be necessary. Maybe you should check with Optimizely support?
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.