Reputation: 69
maybe someone have experience to call custom action in JavaScript from CRM Online. I tried to follow many articles like this but no luck i just receive error "Internal Serer Error". All this arcticles wtiten for on-promise so i think there is something special for CRM Online. I tried to use my Custom Action from workflow and there is everithing work fine. Thank you for help.
Upvotes: 0
Views: 1765
Reputation: 69
It's hard to make correct SOAP message so i found framework that help me to work with Actions. I tested it and it works fine Call Action in CRM 2015 Easily from JavaScript Library
Upvotes: 0
Reputation: 18895
You shouldn't have any issues with calling your Custom Action from JavaScript for CRM Online, as long as the JavaScript is running from within CRM. If you're getting an Internal Server Error, then more than likely you have something wrong with your URL, or the SOAP message you're generating is invalid. Generating SOAP in JavaScript is generally really ugly.
Upvotes: 1