- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2017 06:43 AM
Hello everybody,
I'm currently facing an issue with a formatter. I try to add it to a custom table extending Task.
The table is populated with a record producer.
I followed this KB unsuccessfully
My formatter informations :
- Name: Variable Editor SP
- Formatter: com_glideapp_questionset_default_question_editor (I also tried to call it formatter_a.xml just like activity.xml)
- Table: table_a
- Type: Formatter
- Active: true
On the view sp, I find the formatter and add it to the view. In the back office, I clearly see the variables but not in the service portal.
I modified the server script of the Form widget like below in bold:
if (fm.formatter == "activity.xml") {
fm.hardcoded = true;
fm.widgetInstance = $sp.getWidget('widget-ticket-conversation',
{table: data.table,
sys_id: data.sys_id,
includeExtended: true,
title: "${Activity}",
placeholder: "${Add a comment}",
btnLabel: "${Post}"});
} else if (fm.formatter == "formatter_a.xml") {
fm.hardcoded = true;
fm.widgetInstance = $sp.getWidget('sp-variable-editor-custom',{});
}else
fm.widgetInstance = $sp.getWidget(fm.widget, data);
When I gs.log the fm.formatter variable, I only get the activity.xml formatter 😕
Did you find a similar issue on a custom table extending task ?
Thanks in advance,
Guillaume
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2017 02:23 PM
Hi Guillaume,
Currently formatters are not supported in Service Portal. Please see the documentation below:
Unsupported features in Service Portal
Best,
-Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2017 02:23 PM
Hi Guillaume,
Currently formatters are not supported in Service Portal. Please see the documentation below:
Unsupported features in Service Portal
Best,
-Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 03:41 PM
Hey Greg, it appears that this function is available when using the portal page called "Form" but it seems to only work on items ordered from a catalog. do you know of a way to get that widget to work for record producers as well? could it be modified to work with other tables?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 04:52 PM
Hi Louie,
If you are referring to Formatters in Service Portal to render the variable editor in the Form widget, this is not supported. The functionality may work to some extent, but it is not documented, supported or guaranteed.
Best,
-Greg