Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Data merge script error "frame is already filled"

Explorer ,
Jul 07, 2022 Jul 07, 2022

Hi-
I am trying to update a styled text frame with new content running a custom data merge script. The error I'm getting is "frame is already filled" even though I've deleted the old content.
Screen Shot 2022-07-07 at 15.25.06.png

TOPICS
How to , Scripting
395
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 07, 2022 Jul 07, 2022

Hi @jeannehilary ,

best ask this question the maker of the script. Who is it?

We cannot know what the script does in detail.

And we cannot see into the code; it's a jsxbin file.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 07, 2022 Jul 07, 2022

As you can see by the highlighting, I'm not running the jsxbin script.

I hired someone to set up this styling automation for me; he used a template that is widely available I seem to recall.
I believe this is a beginner error--I'm missing a step, not a problem with the script itself.

I would share the script with you so you can see for yourself, but its filetype is not allowed.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 07, 2022 Jul 07, 2022

This is not actually a scripting error, as it turns out. The script not running is partly a datamerge and a filepath error.

To avoid the error in the screenshot, the workaround I found is to copy the original text frame with the styled objects from the original template.

If anyone would care to help me understand how to update the content in a text frame from a csv without starting over, I would be most appreciative.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 07, 2022 Jul 07, 2022

Can you post the document and csv?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 07, 2022 Jul 07, 2022

Here is the document and one of the csvs, which has been updated.
I've also included a workfile (-wkf) which is the same document before updating.
Thank you for having a look.
https://www.dropbox.com/sh/xzrfe1ur7jng95j/AAAprgiwlLm87LD-tjr2KGgUa?dl=0

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2022 Jul 08, 2022

@jeannehilary said: "As you can see by the highlighting, I'm not running the jsxbin script."

 

Well, it's very likely, that _LISTING-csv-import-data merge.jsx has only one single purpose, and that is to start up the LISTINGS-CSV Data Merge.jsxbin file.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2022 Jul 08, 2022

Hi @jeannehilary ,

do you still have the data merge template document that is not occupied with data?

The one where all the data fields are empty? I'd start over with that and do the merge again.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2022 Jul 08, 2022

Yeah, I looked at the docs and couldn't identify what the raw merge documents were. I suspect this is a custom merge thing, and as Uwe said, you'd have to dig into the script to identify the problem. In your initial screen grab, I show an anchored object in the frame; maybe try deleting that? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 08, 2022 Jul 08, 2022

"I'd start over with that and do the merge again." This is what I'm doing.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 09, 2022 Jul 09, 2022
LATEST

Hi @jeannehilary ,

but which is the file you are doing this with?

I guess, none of the two documents you provided for download.

If yes, I do not understand your workflow at all.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

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