‎2019 Jan 30 10:18 AM - edited ‎2024 Feb 03 5:30 PM
Hi All,
For below csv file , if the attribute value is null/blank then in generated impex it is coming as but as per our requirement null/blank should be updated at hybris end.
CSV
7,40,0,1,,TRUE
7,50,0,1,1340,FALSE
IMPEX
7;40;0;1;<ignore>;TRUE - Actual
7;40;0;1;;TRUE - Expected
7;50;0;1;1340;FALSE
Note : Here data flows between Datahub (CSV) to Hybris (IMPEX)
Request clarification before answering.
Bidyadhar,
If you're asking in the context of DataHub then you may want to read "Emptying Attribute Values After They are Set" section in https://help.hybris.com/1811/hcd/9677910439ac4268ba3d515e911279b5.html
It's true, by default empty values in the data loaded to DataHub are treated as "not provided". To empty out current values, the payload has to specifically say so. See the document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OOTB the box blank/null values are treated as ignore only and if you have specific requirement for this then you can write your own CSVReader class where you can add your transformation logic for creating Impex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.