Preview PDF files from storage bucket isn't rendering in Action Centre (Version 2021.10.3) on-premise

Hi @dotbot ,

Hope you’re doing well,

Firstly, I want to confirm whether you have already completed the necessary CORS steps for your On-Premises installation?
These steps ensure that Cross-Origin Resource Sharing is properly configured to allow communication between different domains both (orchestrator & Action center). If you haven’t performed these steps yet, please follow below steps.

To configure Orchestrator settings to accept storage bucket requests from Action Center, please follow these steps:

  1. Navigate to the installation folder of Orchestrator.
  2. Locate and open the file named UiPath.Orchestrator.dll.config with administrative permissions.
  3. Inside the file, under the <appSettings> tag, look for the following key: <add key="AcceptedRootUrls" value="http://{your_localhost_name}:{port_number}" />. If you cannot find this key, you can manually add it.
  4. Append the URL of your Action Center to the value of the key. For example, if your Action Center URL is “https://{Action_Center_host}:{port_number}”, add it to the existing value. The modified key should now look like this: <add key="AcceptedRootUrls" value="http://{your_localhost_name}:{port_number};https://{Action_Center_host}:{port_number}" />.

And also check if the OPTIONS verb is allowed in IIS for the Orchestrator website and enable it if necessary, follow these steps:

  1. Open Internet Information Services (IIS).
  2. From the Sites list, select “UiPath Orchestrator.”
  3. Double-click “Request Filtering” to open the Request Filtering window.
  4. Navigate to the “HTTP Verbs” tab.
  5. Look for the OPTIONS verb in the displayed list. If it is already present, then it is allowed, and no further action is required. If it is not present, continue to the next step.
  6. Right-click anywhere in the window and select “Allow Verb” from the context menu.
  7. In the dialog box that appears, enter “OPTIONS” as the verb and click “OK.”

Please find official UiPath documentation link for your reference.
[Orchestrator Settings to Accept Storage Bucket Requests From Action Center]

(Action Center - Installation)

Hope this will help.

1 Like