In DXPR Builder we are using Entity Browsers for managing and uploading files and images.

Default Entity Browsers in DXPR Builder demo profiles

  • Browser for files
  • Browser for files (modal)
  • DXPR CMS File Browser
  • DXPR CMS Image Browser

Requirements for an Entity Browser to work with DXPR Builder

  1. Must use Modal or iFrame view mode
  2. Must return File ID(s)* 

* If your site uses Media Entities, you can use a Media Entity view in your Entity Browser, and have it return the File ID(s) of the images inside the Media Entity. This is what we do in our demo site using Acquia Lightning's FileUpload widget.

Steps to create your own Entity Browser to work with DXPR Builder 

  1. Ensure that Entity Browser module is installed.
  2. Go to Configuration tab.
  3. Select Content authoring.
  4. Click Entity Browsers.
  5. The list of Entity Browsers provides ability of editing them or creating a new once.
  6. Click the Add Entity Browser button to create new browser.
  7. Add label for the new browser.
  8. Optionally, choose how the entity browser should be presented to the end users in Display block. Choose either the, Modal or iFrame view mode.
  9. Optionally, choose Widget Selector plugin in Widget Selector field for switching between Uploading widget and Display widget.
  10. Optionally, change Selection Display plugin settings in Selection Display block.
  11. Go to Widget Settings tab.
  12. Optionally, choose a widget to add in Add widget plugin select list.
  13. Once you’ve selected your preferred settings, you can click on Save and you're done!

Follow the steps below to change Entity Browser for DXPR Builder in your website:

  1. Go to the Configuration tab.

  2. Click Content Authoring.
  3. Select DXPR Builder from the list.
  4. Find Media Browser tab.
  5. Now you can change Entity Browser from default to your favorite one.
  6. Once you’ve selected your preferred settings, you can click on Save and you're done!