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

Photoshop Variables not working

New Here ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

"Could not parse the file contents as a data set. There were not enough variable names in the first line of the text file."

 

I have tried using google sheets to generate my CSV, I've done it through excel, I've deleted the initial sheet in excel and pasted the contents into a new sheet as values, I have tried using text files with commas and nothing has worked. It appears that this issue is rampant on the internet and I don't understand why a reasonable fix hasn't been made to variables. My data is setup correctly and it doesn't work no matter what I try.

 

TextVariable1TextVariable2TextVariable3TextVariable4PixelVariable1
1234C:\Users\willi\OneDrive\Documents\Amazon KDP\Complete_Puzzles_Solutions\Solution0.png

 

I originally had each header as a nongeneric name, but ended up trying the generic names. There are 34 rows and each are formatted like the above. I have tried switching the UTF settings as well. I'm stuck.

TOPICS
Actions and scripting

Views

185
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
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 07, 2025 Mar 07, 2025

You have 5 variables in the CSV, but only 4 text are defined in the PSD, the pixel replacement isn't defined.

 

Additionally, there are visibility variables for each text layer in the PSD, so a column would also be needed for that with boolean values.

 

I have tested with both the standard PSD data set export and exporting direct to JPEG, WEBP etc:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/using-datasets/td-p/2665594/page/2#U15189770

 

 

 

Votes

Translate
Adobe
Community Expert ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

Please share the CSV and PSD.

Votes

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
community guidelines
New Here ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

I had to strip the PSD of data for confidentiality reasons, but I left the bare bones

Votes

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
community guidelines
Community Expert ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

You have 5 variables in the CSV, but only 4 text are defined in the PSD, the pixel replacement isn't defined.

 

Additionally, there are visibility variables for each text layer in the PSD, so a column would also be needed for that with boolean values.

 

I have tested with both the standard PSD data set export and exporting direct to JPEG, WEBP etc:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/using-datasets/td-p/2665594/page/2#U1...

 

 

 

Votes

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
community guidelines
New Here ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

The pixel was defined prior, I suppose it was removed when I had to edit the data. As for the visibility, should I leave this option as unchecked? I thought that this would make each layer invisible by default.

Votes

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
community guidelines
New Here ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

I tried it without the visibility toggled and it works. Thank you! This was driving me nuts. I didn't realize it considered visibility as a separate list item

Votes

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
community guidelines
Community Expert ,
Mar 07, 2025 Mar 07, 2025

Copy link to clipboard

Copied

LATEST

@William35585738b0s9 

 

You’re welcome! The official guide could use more examples, I think that they tried to keep it simple:

 

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

Votes

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
community guidelines