Expand my Community achievements bar.

SOLVED

Remote Asset Selector - How to enable other file types?

Avatar

Level 3

We currently have the remote asset selector set up for Next Gen Dynamic Media, but for some reason we're only limited to images. Is there a way to enable other file types like PDFs? Not sure if there's a configuration responsible for this or something else.

 

IshaJa_0-1714745620628.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

HI @IshaJa ,

In Adobe Experience Manager (AEM), the Remote Asset Selector allows you to select assets from Adobe Experience Manager Assets directly within the AEM authoring interface. By default, it supports selecting images from Dynamic Media (formerly Scene7). However, you can configure it to support other file types such as PDFs by adjusting the configuration settings.

To enable other file types like PDFs in the Remote Asset Selector, you'll need to:

  1. Configure Asset Metadata Schema: Ensure that your Asset Metadata Schema allows for the appropriate file types to be selected. You may need to update the schema to include fields for PDFs or other file types if they are not already present.

  2. Update Component Dialog: If you're using a custom component or dialog that utilizes the Remote Asset Selector, make sure it allows for the selection of PDFs or other file types. Check the dialog definition to ensure it's configured to accept the desired file types.

  3. Dynamic Media Configuration: If you're specifically using Dynamic Media, ensure that your Dynamic Media configuration allows for the retrieval and selection of PDFs. You may need to adjust settings in your Dynamic Media configuration to include PDFs.

  4. Asset Search Configuration: Check the configuration for asset search to make sure it includes PDFs or other file types. This ensures that the Remote Asset Selector can search for and retrieve assets of those types.

  5. Asset MIME Type Configuration: Verify that your AEM instance is configured to recognize and handle PDF MIME types properly. If necessary, adjust MIME type mappings in your AEM configuration to include PDFs.

  6. Permissions: Ensure that the user or group permissions allow for the selection of PDFs or other file types. Check permissions on the assets themselves as well as any related components or dialogs.

  7. Testing: After making any necessary configuration changes, thoroughly test the Remote Asset Selector to ensure that it allows for the selection of PDFs and other desired file types.

By following these steps and adjusting the appropriate configurations, you should be able to enable the selection of PDFs and other file types in the Remote Asset Selector in Adobe Experience Manager.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

HI @IshaJa ,

In Adobe Experience Manager (AEM), the Remote Asset Selector allows you to select assets from Adobe Experience Manager Assets directly within the AEM authoring interface. By default, it supports selecting images from Dynamic Media (formerly Scene7). However, you can configure it to support other file types such as PDFs by adjusting the configuration settings.

To enable other file types like PDFs in the Remote Asset Selector, you'll need to:

  1. Configure Asset Metadata Schema: Ensure that your Asset Metadata Schema allows for the appropriate file types to be selected. You may need to update the schema to include fields for PDFs or other file types if they are not already present.

  2. Update Component Dialog: If you're using a custom component or dialog that utilizes the Remote Asset Selector, make sure it allows for the selection of PDFs or other file types. Check the dialog definition to ensure it's configured to accept the desired file types.

  3. Dynamic Media Configuration: If you're specifically using Dynamic Media, ensure that your Dynamic Media configuration allows for the retrieval and selection of PDFs. You may need to adjust settings in your Dynamic Media configuration to include PDFs.

  4. Asset Search Configuration: Check the configuration for asset search to make sure it includes PDFs or other file types. This ensures that the Remote Asset Selector can search for and retrieve assets of those types.

  5. Asset MIME Type Configuration: Verify that your AEM instance is configured to recognize and handle PDF MIME types properly. If necessary, adjust MIME type mappings in your AEM configuration to include PDFs.

  6. Permissions: Ensure that the user or group permissions allow for the selection of PDFs or other file types. Check permissions on the assets themselves as well as any related components or dialogs.

  7. Testing: After making any necessary configuration changes, thoroughly test the Remote Asset Selector to ensure that it allows for the selection of PDFs and other desired file types.

By following these steps and adjusting the appropriate configurations, you should be able to enable the selection of PDFs and other file types in the Remote Asset Selector in Adobe Experience Manager.

Avatar

Community Advisor

Hi @IshaJa
By default, the remote asset selector in AEM only allows you to select images from Next Gen Dynamic Media. However, you can configure the remote asset selector to allow other file types like PDFs.

  1. Configure the allowed file types: In AEM, navigate to the "Cloud Services" configuration page (/etc/cloudservices.html) and select the "Remote Assets" configuration. In the "Allowed File Types" field, add the file types that you want to allow, separated by commas. For example, to allow PDFs, you can add "pdf" to the list of allowed file types.

  2. Configure the MIME types: In the same "Remote Assets" configuration page, you can also configure the MIME types for the allowed file types. In the "MIME Types" field, add the MIME types for the allowed file types, separated by commas. For example, for PDFs, you can add "application/pdf" to the list of MIME types.

  3. Save the configuration: After configuring the allowed file types and MIME types, save the "Remote Assets" configuration.

  4. Test the configuration: Test the configuration by opening the remote asset selector and verifying that the allowed file types are now selectable.