Skip to main content
Solved

Drag and Drop functionality for custom Data Entry Page

  • Dec 23, 2022 12:59 PM UTC
  • 1 reply
  • 158 views
  • Translate All

How can I turn on File Attachments Drag and Drop functionality on custom Data Entry Documents(Header)?

Best answer by JKurtz29

In your page’s DataSource control, add the EnableAttributes tag.   For an added bonus, add the UDFTypeField to enable UDF fields for your screen.

 

<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
UDFTypeField="DieRequestID" EnableAttributes="true"
PrimaryView="DieRequest" TypeName="AI.OC.Engraving.DieRequestEntry">
<CallbackCommands>
<px:PXDSCallbackCommand CommitChanges="True" Name="Save" />
</CallbackCommands>
</px:PXDataSource>

 

View original

1 reply

JKurtz29
Semi-Pro I
Forum|alt.badge.img+1
  • Semi-Pro I
  • Answer
  • Nov 13, 2023 9:03 PM UTC

In your page’s DataSource control, add the EnableAttributes tag.   For an added bonus, add the UDFTypeField to enable UDF fields for your screen.

 

<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%"
UDFTypeField="DieRequestID" EnableAttributes="true"
PrimaryView="DieRequest" TypeName="AI.OC.Engraving.DieRequestEntry">
<CallbackCommands>
<px:PXDSCallbackCommand CommitChanges="True" Name="Save" />
</CallbackCommands>
</px:PXDataSource>

 

Translate