Skip to main content
Participating Frequently
February 1, 2021
Answered

Conditional display of an image regarding a metadata field info

  • February 1, 2021
  • 3 replies
  • 484 views

Hi all, hope my question will be clear :). I have 2 images that I would like to display depending on an attribute set on a metadata field linked to an inserted image on the board (i.e. : if in the metadata if the status = "validate" I would like for example a green check sign to be displayed, if the status ="rejected" I would like to get a red cross image instead). Is it possible ? Thanks a lot for your help! Kind regards Nathalie

This topic has been closed for replies.
Correct answer Mike Witherell

Well, my basic answer is no you can't, but otoh you might try to exploit Captions (right-click a frame for Captions) to look for a certain metadata entry and then have it place text before in a dingbats font to show a check mark or an X.

3 replies

Mike Witherell
Community Expert
Mike WitherellCommunity ExpertCorrect answer
Community Expert
February 2, 2021

Well, my basic answer is no you can't, but otoh you might try to exploit Captions (right-click a frame for Captions) to look for a certain metadata entry and then have it place text before in a dingbats font to show a check mark or an X.

Mike Witherell
SEALNAAuthor
Participating Frequently
February 2, 2021

Hi, will do some tests, thank you for your help!

Mike Witherell
Community Expert
Community Expert
February 2, 2021

Where in Metadata do you record Status?

Mike Witherell
SEALNAAuthor
Participating Frequently
February 2, 2021

Hi, the metada field will be created by using the sdk provided by Adobe, so they normally should display (linked) to the imported image with the Legend function. Hope I'm clear, kind regards

Legend
February 2, 2021

Did you use the XMP SDK to modify the XMP metadata within the image?

Or is this a question regarding the C++ plug-in SDK?

In that case, I'd recommend to implement a DrawEvent Handler.

 

Btw, please use the SDK tag for SDK related forum questions.

Mentioning SDK in the contents also helps those of us relying on mail filters.

 

 

Mike Witherell
Community Expert
Community Expert
February 2, 2021

Are you looking for this in an exported EPUB, or within an InDesign document?

Mike Witherell
SEALNAAuthor
Participating Frequently
February 2, 2021

Hi Mike, I want to do it within Indesign, thanks