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

Document Conversion Issue

New Here ,
Jun 30, 2025 Jun 30, 2025

During an Indesign Application update, we run a scripts that will open an Indesign document and save it on the newest version of Indesign that we upgraded too. During this last update, we noticed that after converting some files, when opening them, they are being converted again to Indesign 20.0. When taking a look at the Adobe Indesign Component Information window, we are able to see that the version of the document is had already been changed to 20.0 which matches that of the Indesign Application but the application is still converting.  This does not happen all the time but does occur quite a bit. Any ideas on what can be causing this? 

TOPICS
Bug , Scripting
192
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 ,
Jun 30, 2025 Jun 30, 2025
quote

During an Indesign Application update, we run a scripts that will open an Indesign document and save it on the newest version of Indesign that we upgraded too


By @martin_9558

 

What's your operating system version? Also, does this problem only happen when you use the script or when you do it manually, too?

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
New Here ,
Jul 01, 2025 Jul 01, 2025

The Indesign Server we are using is 20.0. For the operation system I have tried using Indesign 2025 versions 20.0 - 20.4 and we notice the issue. Some ads work opening fine and others do not. Yes only occurs when running the script, if it is done manually by opening it up in the application the issue does not occur. 

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 01, 2025 Jul 01, 2025
quote

The Indesign Server we are using is 20.0. For the operation system I have tried using Indesign 2025 versions 20.0 - 20.4 and we notice the issue.


By @martin_9558

 

Can you please elaborate on this... Does it mean that you're using InDesign Server 20.0, which you don't update to 20.4? While at the same time, you're also using the regular InDesign (not Server), where the issue occurs with any version?

 

And still, what's your operating system version (macOS, Windows etc?)

 

In any case, it appears that the problem is somewhere in your script, since you don't have the issue when opening files manually. It's also possible that the problem happens due to a bug in InDesign scripting engine introduced in InDesign 2025. Several such problems were introduced, some fixed and some not. But then we need to know more about your script.

 

 

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
New Here ,
Jul 01, 2025 Jul 01, 2025

Yeah currently we have version 20.0 for our Indesign Server. All of our users have Indesign 2025 Application Version 20.2 installed. I have manually tried all versions from 20.0 - 20.4 to see if it was a bug with the application but error happens in all of them. The operating system we are using is Windows 11.

 

Here is how we are converting our files from old version to new version. We run the script on the Indesign Server. We just open it in the new version and then just close it. 

 

var myDoc app.open(INDDFilePath,OpenOptions.DEFAULT_VALUE);

//Save and close myDoc

if (myDoc.saved) {
      myDoc.close(SaveOptions.YES,INDDFilePath)
} else {
        myDoc.save(INDDFilePath)
         myDoc.close(SaveOptions.NO)
}
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
New Here ,
Jul 01, 2025 Jul 01, 2025

So the version we have for Indesign Script is Version 20.0. For the Indesign Application, our users have Version 20.2. I have tried installing versions 20.0 - 20.4 to see if any of those fix the converted files that should be of that version and the issue still exists. The operating system we use is Windows 11.

 

Here is a snippet of the code we use to convert the file. We open the old version file and just save it to the version of the Indesign server. 

var myDoc = app.open( INDDFilePath ,OpenOptions.DEFAULT_VALUE);
           
//Save and close myDoc
if (myDoc.saved) {
        myDoc.close(SaveOptions.YES, INDDFilePath)
} else {
         myDoc.save(INDDFilePath)
         myDoc.close(SaveOptions.NO)
}
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
New Here ,
Jul 01, 2025 Jul 01, 2025

Yeah, we are using Indesign Server Version 20.0 to run our scripts. For our Indesign Application, our users have version 20.2 installed. I have went through versions 20.0 - 20.4 to see if maybe it was an application bug but have the issue have in all of them. The operating system we use is Windows 11.

 

Here is a snippet of our script. We just open the file in the server and save it to the version that is in the servers.

var myDoc = app.open(INDDFilePath,OpenOptions.DEFAULT_VALUE);

//Save and close myDoc
if (myDoc.saved) {
      myDoc.close(SaveOptions.YES, INDDFilePath)
} else {
      myDoc.save(INDDFilePath)
      myDoc.close(SaveOptions.NO)
}

 

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
Guide ,
Jul 01, 2025 Jul 01, 2025
LATEST

Hi,

 

If the purpose of your script is to force InDesign to save in the new format. I would be tempted to:

1, open the document.

2, make a change to the document ( create a frame, remove the frame ).

3, save the document.

4, close the docuemt.

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