Textframe "anchor mark" invisible when created by InDesign Server
Hello,
we encountered a weird glitch when creating documents by InDesign server that contain anchored textframes.
The textframes get created and anchored, but when opening the file in InDesign Desktop afterwards and selecting the frame, the "anchor mark" is invisible. Same for the "red square" when the frame is not anchored.
However, when creating the same file in InDesign desktop, the "marks" are visible.
Here is a little reproduction script (NOTE: I created a blank InDesign file beforehand to open it with this script):
var currentDoc = app.open(new File("path/to/file"));
var objParentTextFrame = currentDoc.textFrames.add();
var objInsertionPoint = objParentTextFrame.insertionPoints[0];
var objAnchoredTextFrame = objInsertionPoint.textFrames.add();
objAnchoredTextFrame.anchoredObjectSettings.anchoredPosition = AnchorPosition.ANCHORED;
currentDoc.close(SaveOptions.YES, new File(jobFolder + "/path/to/saved/file"));
Here the result when created by InDesign Desktop:

And here the result when created by InDesign server:

The "missing marks" are specific to the created textframes. When creating a new textframe with the Desktop version in the file that was modified by the server version, the result is the same as in the first screenshot (the marks are visible on that textframe).
Has anyone an idea why this happens in InDesign server and is there a way to fix it?
Thank you very much,
Dean
