I want to email the row data on selection of a row from the table on arcgis Dashoard.Do We have the email option?
No, but you could use Arcade and HTML in a list to create a dynamic mailto link. Clicking on the link would open the user's default email program with an email already composed.
Note that you can't have any spaces, so you will want to use Arcade to URL encode your fields and use URL encoded values for any spaces or special characters you add between fields in the body or subject.
var elink = Concatenate(['<a href="mailto:someone@example.com?subject=', UrlEncode($datapoint.DAM_NAME), '&body=', UrlEncode($datapoint.DAM_NAME),'%3A%20', UrlEncode($datapoint.RIVER), '" target="_top">Send mail!</a>'])
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
elink: elink
}
}
@jcarlson @JenniferAcunto How to send all the layer data at once through email ?Do we have the option to send ?
Doesn't look like it. You can enable downloading data from a dashboad widget, but the button just calls a JS script that generates the download file. You could, of course, have an email link in the widget's description, which, combined with the data download option, would make the process quicker, but you aren't likely to get a single-click solution without some custom development.
@jcarlson I am ready to customise the code,But what are the steps to achieve it?