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.
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.