Skip to main content
ScottMorris
17-Peridot
Aug 14, 2024 6:52 PM UTC
Solved

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

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. 

Hari_VaraAnswer
16-Pearl
Aug 19, 2024 4:37 AM UTC

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

 

7 replies

20-Turquoise
Aug 14, 2024 8:16 PM UTC

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

Translate
avillanueva
23-Emerald II
Aug 15, 2024 11:17 AM UTC

@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.

Translate
joe_morton
19-Tanzanite
Aug 14, 2024 8:30 PM UTC

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

Translate
Hari_Vara16-PearlAnswer
16-Pearl
Aug 19, 2024 4:37 AM UTC

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

 

Translate
ScottMorris
17-Peridot
Oct 29, 2025 12:56 PM UTC

thank you

Translate