Reference to OG in an email

ObjectGears system can be integrated on several level - database, .NET modules, web services, http request...

Reference to OG in an email

Příspěvekod andesys » ned 06. pro 2015 11:32:24

(Translated from another language)
I would like to add a link to OG to an email in such a way, that it opens a form with new record and inserts values from url. Is that possible?
Uživatelský avatar
andesys
 
Příspěvky: 103
Registrován: úte 25. srp 2015 10:55:14

Re: Reference to OG in an email

Příspěvekod andesys » ned 06. pro 2015 11:33:05

Create url (e.g. "___server__/DataDetail.aspx?Id=xy-0" where you will replace xy by ID of the requested class). Further, add variables with values, that you want to pass to the form, at the end of url.
You can name them as you want, but it would be best to use names corresponding to the target columns which will be more transparent. After that create a rule in the class "Before displaying a new record ", which will put the values in the form.
These steps are described in the documentation: http://doc.objectgears.cz/Help.aspx?H=a_data_formfill
and in the example: http://doc.objectgears.cz/Help.aspx?H=a_og_examples_data_transfer_via_url

If you create URL from script, than we do not recommend defining the server name in a fixed way, but using function OG.GetWebURL() instead.
See the documentation: http://doc50.objectgears.cz.maroon.globenet.cz/Help.aspx?H=e_script_og
Uživatelský avatar
andesys
 
Příspěvky: 103
Registrován: úte 25. srp 2015 10:55:14


Zpět na Integration with other systems

Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 1 návštěvník