How to set Contact Type to Self-Service when Ticket Submitted in Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2019 09:06 AM
I would like to use the contact type field to track when tickets are submitted in the portal. Is there any easy way to set the contact type to a particular value such as 'self service' when it comes through in the portal?
I have read existing posts which discuss doing it in the record producer script, but what if I am not using a record producer but instead just using the 'form' page/widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2019 04:34 AM
From my limited understanding I think that's correct. You could choose to hide this via an onLoad or UI Policy though and the g_form.setValue should still work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2019 04:57 AM
Hi Chris,
You can set this directly on your record producer.
current.contact_type = 'self-service';
Regards,
Diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2020 09:50 PM
Hello
I am also stuck in the same level, we need to report on the catalog items submitted from the portal and normal UI.
Please help me on this, if you happen to find a solution for this.
Many thanks in advance.
Thank you