Skip to main content
17-Peridot
August 14, 2024
Solved

How to Deal with Password Protected Excel Documents During Office Worker Publishing?

  • August 14, 2024
  • 3 replies
  • 1846 views

Curious if anyone else is experiencing issues with Password Protected Office documents while using the Creo View Adapters Office Worker? I understand documents with passwords are not supported, but when they show up, they block the publishing queue and prevent all other jobs from being processed until someone connects to the Office Worker machine and picks Cancel from the Office prompt. Maybe someone has a better idea on how to kill these stuck publishing jobs?

 

Is there a better way to manage these files in Windchill to support a more efficient publishing process?

 

We have been talking about creating a new document type or adding a new attribute to a document type so we have a hook we can catch in the publishing rules. Seems like a good plan, but it would be dependent on the document authors either picking the right document type or choosing the appropriate value for an attribute. 

Best answer by Hari_Vara

Hi Joe,

Yes I think time out can help here. Only thing is that PTC might have not really set it for Doc publishing as you know usually CAD takes time to publish in case of large assemblies and time out is used to knock out blocking jobs.

However, its useful to investigate on timeout surely.

Cheers

Hari

 

3 replies

20-Turquoise
August 14, 2024

What about implementing a custom publishing class that inspects the documents to see if they are password protected or not. Similar to: https://www.ptc.com/en/support/article/CS229067

avillanueva
23-Emerald I
23-Emerald I
August 15, 2024

@RandyJones has right solution but it looks like it would involve customization. If you think they are rare and infrequent, as you spot them, you can add to a list to prevent publishing. Also remind users not to do this. But adding a filter check would solve it once and for all.

joe_morton
18-Opal
18-Opal
August 14, 2024

Is there no time out? I'm not as familiar with the Office document publishing, but I know there's a timeout for CAD.

Hari_Vara16-PearlAnswer
16-Pearl
August 19, 2024

Hi Joe,

Yes I think time out can help here. Only thing is that PTC might have not really set it for Doc publishing as you know usually CAD takes time to publish in case of large assemblies and time out is used to knock out blocking jobs.

However, its useful to investigate on timeout surely.

Cheers

Hari

 

17-Peridot
October 29, 2025

thank you