Quitter
  • Communauté internationale
    • Langue:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

Could not parse the file contents as a data set. The name 'background' is not a variable in the c...

Nouveau ici ,
Aug 25, 2021 Aug 25, 2021

"Could not parse the file contents as a data set. The name 'background' is not a variable in the current document." - when I tried to do variables

But it is there as you can see in the 4 pictures I attached. And yes, everything is spelled correctly everywhere.

 

I tried switching to UTF-16 but then it said it doesn't have enough data or something. I also tried every decoding to what but nothing worked...

 

So can somebody help please?

SUJETS
Windows
16.0K
Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines

correct answers 1 bonne réponse

Community Expert , Aug 28, 2021 Aug 28, 2021

To me it look like your CVS file is all wrong.  It has you template's layer names in the header columns  instead of  the variable names and the replacement rows  do not have three  file paths. Seem to be just file name file type no file path and drive.

https://helpx.adobe.com/photoshop/using/creating-data-driven-graphics.html#define_variables 

 

image.png

image.png

 

Traduire
Adobe
Community Expert ,
Aug 25, 2021 Aug 25, 2021

It looks like you're trying to use your layer named "background" as a variable name. Give the pixel replacement data a different variable name and set up your spreadsheet with the variable names in the top row. Then put the corresponding values in the rows below the variable names. See the example in the Data-driven Graphics section of my article on CreativePro's site:

Photoshop Automation

 

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Nouveau ici ,
Aug 27, 2021 Aug 27, 2021

Thank you but I did the exact same thing.

 

 Also, I tried to remove the first column and the layer belonging to it and I got the same message with the current first column's name.

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Employé Adobe ,
Aug 27, 2021 Aug 27, 2021

Can you post a PSD and the CSV to go with that exhibits this problem so we can better troubleshoot? (link to CC files or dropbox)

 

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Nouveau ici ,
Aug 28, 2021 Aug 28, 2021

Yes. I made an example csv and ps file for that.

(tested, and got the same issue)

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Community Expert ,
Aug 28, 2021 Aug 28, 2021

To me it look like your CVS file is all wrong.  It has you template's layer names in the header columns  instead of  the variable names and the replacement rows  do not have three  file paths. Seem to be just file name file type no file path and drive.

https://helpx.adobe.com/photoshop/using/creating-data-driven-graphics.html#define_variables 

 

image.png

image.png

 

JJMack
Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines
Nouveau ici ,
Aug 28, 2021 Aug 28, 2021
LA PLUS RÉCENTE

Oh my god...

Yes, you're right. The funny thing is that I used variables in a couple of times before 😄

 

Thanks :DD

Traduire
Signaler
Directives de la communauté
Restez bienveillant et courtois, ne vous attribuez pas la paternité des créations d’autrui et assurez-vous de l’absence de doublons avant de poster du contenu. En savoir plus
community guidelines