Can you please confirm the menu action working status in Indesign server scripting.
if no please let me know the alternative
Hi priyak7746321 ,
See into my suggestion to do a new document with a primary text frame and then duplicate the master spread over to your document.
Use the master spread that you duplicated instead of the one you have the text frame that you want to convert to a primary text frame.
Move all other objects that may be positioned on your original master to the duplicated one as well. Also guides.
The way I found was to create a preset and set createPrimaryTextFrame to true, use the preset to create your document.
I think the question points more to the direction to add a primary text frame to an existing document.
And that is a problem with documents that were created where createPrimaryTextFrame was set to false.
But also with documents where createPrimaryTextFrame was set to true and the primary text frames were removed.