You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Correct syntax for creating an incident with sub custom object

Received Response
17
Views
3
Comments
edited Mar 7, 2019 10:04PM in Customer Portal 3 comments

Summary

What is the correct syntax for creating an incident that contains a primary sub-object?

Content

  1. I created a custom object (lp_predio),
  2. Associated it with a custom field in the Incident table (id_predio), making the Incident the parent table,
  3. Created a custom widget to display its values in the /app/ask form and submitted everything to a custom controller.

All values are sent, but the custom object value, is not saved in his respective field in the Incident, only the values from primary and custom fields. I am always getting the Type mismatch: Must be a lp_predio; Incident.CustomFields.dtpinterno.id_predio

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!