You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
We have a datasource (a database) an attribute with data in the form "J" or "N", short term for swedish Yes (Ja) or No (Nej). In the Assets object I would like to store that as a boolean or status field. Simplest form I would like to say something like "Aktuell = J" to get a boolean.
Is there a way to do this during import?
We do now solve this by adding an automation checking the original attribute and update another when the objects are created or updated.
The Automation is a good workaround.
You could also change the attribute's type to "Select" and your Import will create entries for J and N automatically (assuming that in your import config you setup "Unknown value to "Add" for the "select attributes")
You can then filter on those objects with an AQL that add : Aktuell = J
Hope this helps.
Have a nice day
Frederic Chartrand - FMX Solutions - Gold Solution Partner
Yes this is good workaround.
We use a script instead, as we want to have the attributes in a form like in other object types. So that when we filter on these object we may use the same way as for other objects.
In this case we may end up, looking at our source to see if it may be changed as it is generated from yet another source :-)
But in general I would like to have a way to transform data during import.