Select to view content in your preferred language

Sending an email when the submit button in clicked in the Quick Report App?

711
3
Jump to solution
09-05-2018 05:01 AM
GiatriLalla
Occasional Contributor

Hi, I am new to QML and want to find out

1. Where in the FeatureServiceManager.qml should the NetworkRequest object be placed.

2. How do I call the emailHandler in the applyEdits function.

Thank you in advance.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ErwinSoekianto
Esri Alum

Giatri, 

Answers to your original questions, 

1. Where in the FeatureServiceManager.qml should the NetworkRequest object be placed.

Anywhere as long as it is inside the main Item component

Item{

.....

.....

}

 

preferably toward the bottom so that they are in the same area with other NetworkRequest components in this qml file

2. How do I call the emailHandler in the applyEdits function.

By calling the send() function, you can refer to the applyEditNetworkRequest in the same file to see how it is being used to call the NetworkRequest component. 

Hope this helps,

Erwin. 

View solution in original post

3 Replies
ErwinSoekianto
Esri Alum

Giatri,

This has already been answered in this thread, https://community.esri.com/thread/192368-send-email-from-quick-report-app-when-user-clicks-submit-bu... 

Thank you,

Erwin

GiatriLalla
Occasional Contributor

Hi, thank you. However, there answers posted on the previous thread was not to clear for a beginner.

0 Kudos
ErwinSoekianto
Esri Alum

Giatri, 

Answers to your original questions, 

1. Where in the FeatureServiceManager.qml should the NetworkRequest object be placed.

Anywhere as long as it is inside the main Item component

Item{

.....

.....

}

 

preferably toward the bottom so that they are in the same area with other NetworkRequest components in this qml file

2. How do I call the emailHandler in the applyEdits function.

By calling the send() function, you can refer to the applyEditNetworkRequest in the same file to see how it is being used to call the NetworkRequest component. 

Hope this helps,

Erwin.