- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 08:01 AM
Hi.
You added a custom field to Task table but it doesn't appear on the Case form? That sounds strange because Case table inherits Task.
Could you explain the steps in detail? Or did you try it with Form Layout?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 08:09 AM
Hi @Community Alums ! Yes, I've created the custom field on the Task [sn_customerservice_task] table (the one I'm working on) and I want the same field appear on the case form, so I've the same value shows on the task form and on the case form.
After I've created the field, I've added it on the task form with form layout, but in the form layout of the case form it isn't in the list.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 08:49 AM
Hi, @Alessia Russo.
You added a field not to Task [task] table but to sn_customerservice_task table, didn't you?
To do that, you must have a Reference field of sn_customerservice_task to case table (it means case and task must make one-to-one relationships).
And then, open the case form and select Configure > Form Layout.
Select the reference field from the left slush bucket and then click on Expand Selected Reference Field button in middle.
Now you can see the custom field on the sn_customerservice_task table and move it to the right slush bucket using the middle button.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 09:03 AM
Please don't forget to add Case Task field (reference field of task) together.
The value of custom field will change when you select CSTASK in the reference field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 03:25 PM
Alesia,
Why? Why would you want two identical fields on a many to one relationship? The field on the Parent Case would only reflect what was set on the last task update. You're better off creating your custom field on the Case table then referencing the custom field by dotwalking.
put the custom field on the Case (parent) table
sn_customerservice_case.custom_field
then on the case task you can access your custom field through the parent reference field.
sn_customerservice_task.parent.custom_field