Skip to main content

XTM Cloud 25.2

Closing a secondary window containing Custom preview

If you have opened Custom preview in a secondary window (for details, see Opening a secondary window containing a Custom preview) and now want to close it, follow the procedure below.

Important

Certain prerequisites must be met so that Project Managers and Linguists can use the Custom preview feature in their XTM Cloud instance. For details, see the Prerequisites section in Custom preview in XTM Workbench.

Procedure. To close a secondary window containing Custom preview of the relevant file:
  1. In XTM Workbench, in the top right-hand corner of the secondary Custom preview window, select the context menu icon ellipsis_vertical_context_menu_brand_refreshed.svg. Then, select Open Visual mode preview in main window.

    Result: a new browser tab containing Custom preview is now closed. Custom preview is now open in the main XTM Workbench window, as a docked panel, at the top of the screen. In it a message informs you about an error during custom preview generation. This is expected: proceed to the next step.

  2. In the Custom preview docked panel, select the rotate_solid_brand_refreshed.svg Reload button.

    Result: XTM Workbench sends REST API requests to obtain the source and target file HTML previews again. A message in the Custom preview docked panel informs you about the Custom preview generation progress.

  3. If:

    • the HTML preview files have been returned and validated successfully, in the new docked panel, you now see the Custom preview of the source and target text.

      • The generated Custom preview is static. This means an active target segment is not highlighted, in the Custom preview. Also, if you make a change to a target segment, it will NOT be reflected in the Custom preview. To update the preview, close the current Custom preview (Closing the Custom preview in XTM Workbench) and then open it again to generate a new Custom preview.

      • If required, you can open the custom preview in a separate browser tab again. For details, see Opening a secondary window containing a Custom preview.

    • an error occurred during HTML preview generation, an error message is displayed, in the new custom preview docked panel. In this case, in the Custom preview docked panel, select the rotate_solid_brand_refreshed.svg Reload button. An error can occur for one of these reasons:

      • XTM Cloud could not generate the target file.

      • The external service responds to the source or target HTML preview generation request with an error.

      • Request timeout (after 5 minutes).

      • The files returned by the endpoint have not been validated as HTML format.

Important

The Custom preview files are not stored by XTM International, in any form. So, when you close the Custom preview, they can no longer be accessed. When you open the Custom preview again, for the relevant source file, the new preview files are generated.