Announcements
Hello All,
I have been asked to investigate the availability to create get and post buttons inside Microsoft Dynamics Ax.. Is that possible?
Thanks,
Thanks for the info. That would not be a web service call, that would simply be navigating to an URL.
You can run this x code to navigate to a web address:
new Browser().navigate("some URL");
And if you want to navigate to Youtube and search something, then simply open an URL that does that:
new Browser().navigate("https://www.youtube.com/results?search_query=foo");
Hi Nikolaos,
no I'm not asking for a trigger button, what I'm asking for is how to perform web service through x++, let's say for Button1 when I press it opens YouTube home page on the browser or it takes some text in a stringEdit field and opens YouTube searching with this text
Hi Kareem,
do you mean that you should have a button that triggers a GET and/or POST call to a web service?
The actual requirement would then be to build this integration. And the final small step is to trigger the integration from a button.
You should start by gathering as much information about the integration as possible. Normally you would ask for some documentation about the service that you need to call. Then search the web for documentation on how to call external services from x++. Then implement it, and finally make a MenuItemButton that runs your code.
It's still not so clear yet, but as far as I get it, as I have been told it should simply send to a URL for example a number and the get button gets its square value
Hi Kareem,
could you elaborate what you mean by this? What's the business requirement? What would the users do with these buttons?
André Arnaud de Cal...
294,099
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator