Ontology object view - configure pdf download button

Hello!

I received a requet to remove the Download button for a PDF contained in an object. The object view containing in the PDF is shown as a widget in the user’s workshop. Since the PDF could contain sensitive information, the user wants to remove the PDF Download button.

I did raise to the user that there are other ways a user could get the data (printing or screenshotting), and they acknowledged that. The user wants to remove the button to make downloading less obvious.

Do we have the ability to configure the object view in this way?

Thanks!
Alden

Foundry platform has different PDF viewers, if you are using legacy Object Views we recommend switching to new Workshop based Object Views. In the new Workshop based Object Views you can configure if the PDF viewer has a download option.

Please see the docs for the PDF viewer widget in Workshop:
Workshop • PDF Viewer

Hello!

I am using the Workshop based Object Views widget, but I am not seeing an option to prevent download. Is there any way to adjust the metadata to accomplish this?

{
“type”: “objectView”,
“objectView”: {
“type”: “configV4”,
“configV4”: {
“objectSet”: {
“type”: “variableId”,
“variableId”: “<VARIABLE_ID>”
},
“scenarioLoad”: {
“type”: “none”,
“none”: {}
},
“initialTab”: “”,
“hideHeader”: false,
“hideTabs”: false,
“goToInitialTabOnObjectSwitch”: false
}
}
}

You’ll need to go to the PDF Viewer widget within your Workshop module and update it there.

There’s a toggle for “Enable PDF downloads” per the notional screenshot below.

The way the Workshop was made, the widget is actually an Object Viewer, not a PDF Viewer. The PDF is then part of the Object.

Are there options for the Object Viewer to remove the download button?

Thanks!
Alden

@yix For a little more context, the object with the embedded PDF is being presented via the Object View widget. See attached screenshot.
image

Thanks for the help!
Alden

Hi @aldenj ,

If your object view is backed by a workshop module, you should be able to see something like the following when you edit the object view for the object:
image

If you go into “Edit module”, you’ll be able to edit the underlying Workshop module and find the PDF Viewer widget, then you’ll be able to update the download settings there.

Thanks,
Yi