Highlighted

Data Merge: How to un-tag images?

Advocate ,
May 07, 2020

Copy link to clipboard

Copied

Hey everyone, 

im stumbeling over a either totally stupid user-mistake or a decent oversight, but maybe there is a script snippet for this, here is my problem:

I used an old data-merge document, edited some text values, but preview/export won't happen because there are still old data fields…

I checked...and then I saw it: image containers are to blame and were still tagged with values "from the past". 

Bildschirmfoto 2020-05-07 um 09.08.14.png

How can I get rid of the imagecontainer-tag and keep the imagecontainer for further use? This seems to be an oversight, if there is no context-menu for that. 

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Colin Flashman said:

"…If I have a merge where I'm having difficulty working out what fields were/weren't used, I use the hyperlinks palette to remove any error-causing links. David Blatner wrote a good piece on it here:…"

 

Hi Colin,

I discussed the issue on in private with Jan. And yes, we found the solution by either removing the links associated with the data fields or we could remove the contents with the brackets in the Layers panel.

 

But what if a user was unaware that the document originally was prepared for data merge and already moved on placing graphics to containers that are "tagged" as dataMergeImagePlaceholders?

 

Removing the links will also remove the placed contents.

 

Oh, and it is very tedious if you want just remove the data merge image placeholders and not the ones for texts and you have hundreds of them in the document. There might be some "regular" hyperlinks there as well. For that special case I developed a script, that would remove all dataMergeImagePlaceholders and put the placed graphics back to their containers.

 

Regards,
Uwe Laubender

( ACP )

TOPICS
How to

Views

543

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Data Merge: How to un-tag images?

Advocate ,
May 07, 2020

Copy link to clipboard

Copied

Hey everyone, 

im stumbeling over a either totally stupid user-mistake or a decent oversight, but maybe there is a script snippet for this, here is my problem:

I used an old data-merge document, edited some text values, but preview/export won't happen because there are still old data fields…

I checked...and then I saw it: image containers are to blame and were still tagged with values "from the past". 

Bildschirmfoto 2020-05-07 um 09.08.14.png

How can I get rid of the imagecontainer-tag and keep the imagecontainer for further use? This seems to be an oversight, if there is no context-menu for that. 

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Colin Flashman said:

"…If I have a merge where I'm having difficulty working out what fields were/weren't used, I use the hyperlinks palette to remove any error-causing links. David Blatner wrote a good piece on it here:…"

 

Hi Colin,

I discussed the issue on in private with Jan. And yes, we found the solution by either removing the links associated with the data fields or we could remove the contents with the brackets in the Layers panel.

 

But what if a user was unaware that the document originally was prepared for data merge and already moved on placing graphics to containers that are "tagged" as dataMergeImagePlaceholders?

 

Removing the links will also remove the placed contents.

 

Oh, and it is very tedious if you want just remove the data merge image placeholders and not the ones for texts and you have hundreds of them in the document. There might be some "regular" hyperlinks there as well. For that special case I developed a script, that would remove all dataMergeImagePlaceholders and put the placed graphics back to their containers.

 

Regards,
Uwe Laubender

( ACP )

TOPICS
How to

Views

544

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 07, 2020 0
Adobe Community Professional ,
May 07, 2020

Copy link to clipboard

Copied

Hi Jan,

simply select the frame's contents and remove it.

 

That's very easy from the Layers Panel:

Select the graphic frame.It's contents should show up like that: []

 

DataMerge-ContentsOfGraphicFrame-ImagePlaceHolder.PNG

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Advocate ,
May 07, 2020

Copy link to clipboard

Copied

Hi Uwe, 

good to hear youre well in corona times.

 

But I think I have to disagree. As you see, i removed the "empty" content, which defines the box-content as <image> (optional <text> or <nothing>). You should notice that the box is not crossed by lines (which indicate a image box).

No image inside, no content tag as imageNo image inside, no content tag as imagelayer palettelayer palettestill <<Logo-Sonder>> cant be found in linked dm-text-filestill <<Logo-Sonder>> cant be found in linked dm-text-file

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Adobe Community Professional ,
May 07, 2020

Copy link to clipboard

Copied

Hi Jan,

if you still see the placeholder you did not remove the contents of the graphic frame.

As I said, best do this in the Layers panel.

 

Contents selected:

DataMerge-ContentsOfGraphicFrame-ImagePlaceHolder-1.PNG

 

Contents removed:

 

DataMerge-ContentsOfGraphicFrame-ImagePlaceHolder-2.PNG

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Advocate ,
May 07, 2020

Copy link to clipboard

Copied

Wow, now i'm confused: My layer-palette doesnt work like yours, and only shows that image-box, and Im unable to expand any arrows in the UI. I usually still work in CC18 (because of a plugin), but I checked in CC20 too:

ScreenFlow.gif

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Adobe Community Professional ,
May 07, 2020

Copy link to clipboard

Copied

Hi Jan,

that's strange…

Can you put this document on Dropbox or a similar service and share the download link?

Or do an attachment here in the forum.

 

I like to have a look later in the day.

 

Thanks,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Adobe Community Professional ,
May 07, 2020

Copy link to clipboard

Copied

Another question:
Did you do already a datamerge with this document as template?

If yes, did you save the document after the merging of data was done?

 

Currently I cannot reproduce your issue.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2020 0
Advocate ,
May 08, 2020

Copy link to clipboard

Copied

I cant either: I just set up a new document, and the layer-palette does like you descirbed. 

This element came from a template I used 1-2 years ago, which I took as basis, linked new file, changed text, keept boxes. This behaviour sticks while copy/pasting into fresh documents.

 

I uploaded a testfile to wetransfer, you have 24hrs to download 🙂

https://we.tl/t-EYuJQyUw8i

 

Edit: the file has 3 frames for images. Top one <<image>> i just set up freshly. The other two come from copy/pasting, one is holding a imagelink from our DAM; dont bother, that doesnt seem to be the problem as the bottom box is empty)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2020 0
Adobe Community Professional ,
May 08, 2020

Copy link to clipboard

Copied

Hi Jan,

just looked into your document. Strange situation indeed.

 

You can workaround the issue the following way:

Create a new data source with the two problematic datamerge image placeholders.

Or perhaps load the one you have.

 

Assign the data source again from your Datamerge panel.

Then you should see the new contents in your Layers panel with the brackets: []

If visible in the Layers panel you can also remove them.

 

This worked when using InDesign 2020.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2020 0
Advocate ,
May 08, 2020

Copy link to clipboard

Copied

Thank you for investigating. Sadly the document is quite complex and full of images, also the datasource has disappeared. 

But thats not all:
As i was waiting for your reply, i marched forward, and replaced all image farmes. Mööp, same Error. So I deleted everything step by step, still throwing the error. I am down to the last text box, which is one of many similar. 
After deleting the last piece of text, the error – but all the content too – is gone. I overwrote a part of the text, but the error did dissapear after i deleted the whole paragraph.

So, even if its cleary visible that no text has << >> brackets, there still residents something evil inside.

 

I file this incedent under broken-document and move on, but interesting nontheless how that happend.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 08, 2020 0