Xrm.Device.pickFile in D365 v9.0
In this blog we will looking at an example to attach the uploaded files to notes using the Xrm.Device.pickFile function in unified Interface in D365 v9.0
Implementation:
Step 1: In this example we will create a button on the Contacts entity and we have written a JavaScript function to trigger on button click.
In Ribbon Workbench after creating a button we created a command as shown below and added the command on the button.
Step 2: On clicking on the Upload button a dialog box opens and we can select the file we want, this file will then be attached in the notes section of the particular record.
Code:
Hope this Helped!
Comments
Post a Comment