How to open solution to a specific record

I would like to have an easy way to link our CRM system to a Servoy built quoting system. I would like to be on a contact record in my CRM system and click a button or link to get the related servoy records via a database table relationship.

Initial I was thinking of passing the CRM primary key as a url parameter that servoy could use to perform a find on. I have seen references to building a url to a custom method and have the method do the work but I see no reference to how to pass a parameter from the crm system or url to the method.

Or if there is a way to link using the smart client I would be interested as well.

This is my first dabbling into Servoy so I am very new.

Thanks in Advance,
Scott

Try to use the following (if you have 3.5.2)

http://localhost:8080/servoy-client/servoy_client/yoursolution.jnlp?method=onLoad&argument=99

where argument 99 is the primary key of your CRM record that you want to show.

In your onLoad method, check the startup parameters and load the required record in your foundset.

Above is for a smart client, but I presume it works also for webclient (I’ll need it soon also for a webclient)

That looks good.

Big Thanks,
Scott