Question about UI macro in UI Formatter record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2024 04:55 PM
Hi All,
I need your help. We have a record producer with few variables and UI policies. we added an radio button for a question. Example: Is this - malware? virus? Worm etc. The UI policy triggers the right fields to fill in and the form was submitted.
Everything worked as expected, but the fields which rendered on the form and on the (variable section of the case) is different.
All the fields on the form is appearing. So the catalog policy fields are not coming through alright.
Example: when the user clicks the button for malware- only two fields have been filed, but after submitting, on the Case form(variable section) all the fields pertaining to virus and worm are appearing)
I am using Macro
com_glideapp_questionset_default_question_editor in the UI formatter
and I cannot figure out why this is happening?
Any help would be appreciated.
Thank you
Shubha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2024 05:29 PM
I think your UI Macro is doing alright. Have you checked your UI Policies? Do they have 'Apply on Target record' set to true?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 08:33 AM
Hi Anirudh,
Thank you so much for your response. I checked again to see "Apply on target record" is set to true and I have four UI policies and it is set to true for sure. I again tested, I am having this problem, any suggestions would be really helpful.
Thank you
Shubha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 09:11 AM
Hmm... I think I've seen a similar issue before. I'm not a 100% sure it will fix yours.
Here's what you do.
Ensure there is no mixing in the record producer field orders with its variable set (VS) field orders.
What I mean is if you have 4 record producer fields at orders 100, 200, 300 and 400... and a variable set at order 250, with 2 fields inside it, ensure those 2 VS fields fit between 250 and 300...
In the above example, if you list all the fields down, their order should read as below:
100
200
250
- 275 (VS field)
- 280 (VS field)
300
400
Don't ask me why, but doing this fixed a weird bug with variable editors for us before...
Try and let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 04:41 PM
Thank you so much Anirudh. This i have faced many times, and thank you for reminding me again to check. Somehow I could not fix the issue. Hence I may try to make all the questions and answers in the Description or Notes fields. I may have to remove the formatter. It is tedious but I do not have any other option I guess. Thanks again