Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Version: Windchill 13.0
Use Case: Regarding customizing encryption filter while content download, followed steps provided in PTC help. Configured filter and copied example code provided for testing. link: https://support.ptc.com/help/windchill/r13.0.2.0/en/?_gl=1*1prq0ko*_gcl_au*MTkyOTM3MjM4MS4xNzI5NzgwODAz*_ga*MTYyODg0MDQ0OC4xNzA2MTIxNTAy*_ga_7NMP2MSYPM*MTczMTk4OTIwMS4yNTAuMS4xNzMxOTg5MjAxLjYwLjAuMA..*_ga_CBN5QVB9VJ*MTczMTk4OTIwMS4zNDUuMC4xNzMxOTg5MjAxLjAuMC4w#page/Windchill_Help_Center/customizatio...
Description:
I am able to download file and file size is more or less same as original.
However, getting error while opening downloaded file.
Refer attached images,
First getting below error (see error-msg1.png)
"Word found unreadable content in 'Test 0002.docx'. Do you want to recover the contents of this document? If you trust the source of this document, click Yes."
and then word is unable to recover file and getting below error (see error-msg2.png).
Word experienced an error trying to open the file.
"Try these suggestions.
*check the file permissions for the document or drive
*Make sure there is a sufficient memory and disk space
*Open the file with the Text Recovery converter."
it looks like sample code provided seems to be not working. Any suggestion?
My end goal is to add custom file properties before user downloads the content instead of encryption.
Connected with PTC support.
As per PTC support, customer is responsible for adding encryption mechanism.
We have progressed on this customization and able to add custom file properties before download using this framework.
However, we have observed that in the filter configured for download there is no sufficient parameters or attributes available to retrieve content holder or application data or document itself. Due to this unable to retrieve data from documents to add to content being downloaded by users.
Is there a way we can retrieve WTDocument (content holder or application data) of content being downloaded in this filter configured in web.xml?