Morning
So Companies has an API to retrieve registered details, Is this possible using SuiteCRM and if so, can I get some guidance please,
Thanks
Jon
Morning
So Companies has an API to retrieve registered details, Is this possible using SuiteCRM and if so, can I get some guidance please,
Thanks
Jon
So I have the code in Python, can we convert this to a php module and be able to call from a layout to populate ?
You can certainly make a curl request in PHP and get external data.
When do you want this taking place?
Is it when a detail view opens? Or list view, or edit view?
Or is it when the user clicks something?
These issues determine what kind of logic hook or customization you will need to use to run the curl command.
Just when user clicks a button and will populate the fields from the request ?
Ok, Could do with an example where we click a button on a moudle layout and it queries an API and populates the layout. any php coders out there who can help ? Once I have an example I can work from that ?
In that linked example, in the back-end run
function, you see it filling in a few fields with values. All you need to change is to get those values from the external API and use them on the fields. This has the advantage of already being asynchronous (regarding the front-end), so a slight delay will be handled well.
Hint: with these complex examples, I advise first implementing it exactly like it is in the docs, and only after you have that up and running, then start introducing your changes slowly, one by one.