Skip to content
Franco Mussopower pages
Code snippet

Drag & Drop Case Attachments – Final HTML & Liquid

Copy it with the button on the code. For the why and the walkthrough, see “Create a Drag and Drop experience to upload Case Attachments in Power Pages”.

Drag & Drop Case Attachments - Final HTML & LiquidHTML
{% include 'Portal Web API Wrapper' %}
<!-- Div to act as a container for drag and drop events as well as any existing attachments -->
<div id="drop-zone">
  <p>Drag and drop files here</p>
  <!-- List to hold the preview thumbnails of any attached files -->
  <ul id="file-list"></ul>
</div>

Search

Book a discovery call

30 minutes. Bring your trickiest Power Pages problem — I’ll tell you honestly whether I’m the right fit.