Checklist formatter (scoped) not working in a Scoped Application

Magda13
Tera Contributor

Hi Community,

 

I want to add a checklist formatter to the form view of a custom table in my scoped application. The table does not extend "Task", so I have created a new UI formatter for my custom table (it's created in the application scope). Otherwise it looks the same as the OTB checklist formatter - it uses "inline_checklist_macro".

 

Magda13_2-1698064131709.png

 

The checklist formatter is visible on the form, but it does not work - nothing happens when I click on "Create new" or the other options, also the content is corrupted, showing {{template.name}} instead of an actual template:

 

Magda13_0-1698064024423.png

Magda13_1-1698064051610.png

 

Any idea what I have done wrong?

Thank you in advance!

 

10 REPLIES 10

Sure. Looks the same as what you had. 

checklist formatter 1.pngchecklist formatter 2.png

Hi Cameron, 

 

I'm experiencing the same issue as you have described above. As @Magda13 suggested, I attempted to re-add the formatter to the form view, but had no luck.

 

Wondering if you've managed to solve this?

 

Thanks, 

James

I'm going through the same problem. Even after creating a new UI Macro and cloning the inline_checklist_macro, the same thing happens.

Unfortunately, I exhausted all my efforts trying to figure this out and could not get anything to work. What I was working on at the time, I had to find something else to fill the gap until I found an answer which I never did. I've learned that when I don't extend from Task and try to use functionality tied to the Global scope, I tend to run into oddities like this with various things, even if I create something that is the exact same thing it just doesn't function or has odd behavior in the custom application. I think in this scenario I even tried to create everything with its own stand alone records and code and not reuse/copy anything thinking that might help and still got the same result. I even saw different behavior if I am not mistaken. I tried creating in the scope of the app and in Global and couldn't get anywhere. The closest I got was where I left off in my screenshot. Everything else I tried didn't even get me that far. 

Thanks for the update, Cameron. I'll lodge a support case with ServiceNow in the hope of coming to some kind of solution.