In the landing page custom javascript code to be added to our web site pages there are only a few case fields (see fields properties of the config variable in the attached image)
"Subject"
"Email"
"Name"
"Phone"
I need to let the user on the landing page to provide more informations, like Category or some custom fields (numbers, strings and lookups), that should be automatically set on the related new case.
Is it possible to do that? If yes can somebody provide me some examples, possibly with a lookup field that I think it could be the most complicated situation)?
To add additional fields to your landing page you need to go to configurations, open Case object and check how those fields are named in the object. For example if I need to add case category to my landing page I am using following code for adding case categories values to my landing page:
Just another question about lookup fields: in you example the value the landing page must send to Creatio for a lookup is its description and not its Id. Is it correct? Creatio does the match using the lookup description and not the lookup ID?
We are sending selected value to Creatio app, but mapping is performed via field Id, not description, so the answer is - Creatio does the match using the lookup Id.