08-08-2017 12:21 AM
Hi:
We are trying to call an external webserivce from Alfresco webscript. The context here is that when a document is added to a folder in Alfresco, we want an external application to receive the event and perform necessary action at its end.
08-08-2017 06:43 AM
Hi,
For example, in the following file "{alfresco}\tomcat\webapps\share\components\geographic\google-map.js" there is a call to Google Maps services.
I don't know if this is exactly what you need, but it could be useful.
// Async load the Google Maps API. Need to do this, as it breaks the YUI Loader otherwise
var script = document.createElement("script");
script.type = "text/javascript";
script.src = window.location.protocol + "//maps.google.com/maps/api/js?sensor=false&callback=Alfresco.component.GoogleMap.Callback";
document.body.appendChild(script);
Regards,
clv
Explore our Alfresco products with the links below. Use labels to filter content by product module.