We have a scenario where we are converting an RTF file to PDF. The conversion process itself works correctly; however, we encountered a case where the source RTF file triggers two security warnings (screenshots attached).
The first warning states:
“Some content is blocked”
and requires the user to click either “Unblock” or “OK.”
The second warning states:
“This document contains code your security settings do not allow…”
and requires the user to click “OK.”
Because this process runs silently on a server, these dialog boxes cannot be interacted with and cause the conversion to hang. We are looking for a supported method to suppress, bypass, or otherwise handle these security prompts during automated execution.
Please advise on the recommended approach.