Itemupdating fires twice
The solution is a provider-hosted add-in (remote event receivers are not supported with Share Point-hosted apps).
This sample shows adding the remote event receiver to the host web by clicking button in the provider hosted add-in, but this could be done also automatically either when the site or site collection is provisioned; or when the add-in is installed by using add-in Installed and Handle add-in Uninstalling properties of the Visual Studio solution.
About 35 Ako ang Saklay volunteers distributed the relief goods containing food and water to families staying in evacuation centers in Lanao del Norte province.
“As the humanitarian crisis in Marawi continues, people in evacuation centers, as well as home-based evacuees, will continue to depend on the generosity of others to help them cope with the situation.
In response, BDO Foundation will continue to help them,” Deriquito said.
The code then checks to see if that list has a remote event receiver attached to it for the Item Added event and, if it does not, it attaches one.
The address for the remote event receiver currently uses the same address that hosts the add-in Installed remote event receiver by using the host address.
“Our relief operations and corporate citizenship programs in Mindanao are part of our disaster response advocacy in the region,” BDO Foundation President Mario Deriquito said.
Prior to the Marawi relief operations, the foundation completed the rehabilitation of two rural health units in North Cotabato and Surigao del Sur provinces.As many as 3,000 families displaced by the crisis in Lanao del Sur province’s Marawi City and about 300 soldiers wounded in ongoing military operations there recently received relief goods from the BDO Foundation, the corporate social responsibility arm of Banco de Oro Unibank, as part of its disaster-response advocacy and commitment to serve communities affected by armed conflict.For the actual distribution, the BDO Foundation tapped Ako ang Saklay Inc., a non-profit, non-governmental organization that cares for the sick and offers aid to differently abled individuals. Arnold Abelardo, the Roman Catholic organization conducts relief work for people affected by disasters and organizes outreach and medical missions in underprivileged communities.Open the Remote Event Receiver Jobs list and add a new item.Clicking Save will cause the remote event receiver endpoint to be called.Visual Studio will then add a new WCF service to your web application project named App Event