You can configure a SemQL enricher to assign a default value. For example, to set an attribute called ValueStatus to a default value of 'HIGH':
C
Christa Helgeson
said
6 months ago
Can you expand this to show how the enricher should be set up so users can change the default value and that value is captured/saved? My default value enricher keeps overriding any changes and not sure how to fix.
B
Bharat Joshi
said
6 months ago
Hi christa
After applying the enricher when is the value getting overrided?
Have you set the enricher in the stepper?
can you elaborate the issue with example
Thanks
C
Christa Helgeson
said
6 months ago
Hi Bharat,
I figured it out - easy solution to add a filter to the enricher to only default the field (run enricher) when the value is NULL.
I need the default value to show on the page before the users populates so they know they can skip it so the enricher is a Step Trigger (Step - Enter (Each)). My issue wasthat I have multiple tabs for users to fill out and they can move between the tabs. If users override the value, move to a new tab and if then move back to the tab with the value it goes back to the default because of the timing of the enricher. The new filter fixes this issue and it works well.
Cédric BLANC
How do I default any specific field to a specific value?
You can configure a SemQL enricher to assign a default value. For example, to set an attribute called ValueStatus to a default value of 'HIGH':
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCédric BLANC
You can configure a SemQL enricher to assign a default value. For example, to set an attribute called ValueStatus to a default value of 'HIGH':
Christa Helgeson
Can you expand this to show how the enricher should be set up so users can change the default value and that value is captured/saved? My default value enricher keeps overriding any changes and not sure how to fix.
Bharat Joshi
Hi christa
After applying the enricher when is the value getting overrided?
Have you set the enricher in the stepper?
can you elaborate the issue with example
Thanks
Christa Helgeson
Hi Bharat,
I figured it out - easy solution to add a filter to the enricher to only default the field (run enricher) when the value is NULL.
I need the default value to show on the page before the users populates so they know they can skip it so the enricher is a Step Trigger (Step - Enter (Each)). My issue was that I have multiple tabs for users to fill out and they can move between the tabs. If users override the value, move to a new tab and if then move back to the tab with the value it goes back to the default because of the timing of the enricher. The new filter fixes this issue and it works well.
Bharat Joshi
Hello Christa
Perfect, happy to hear that
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 269 topics