dynamicweb / DynamicWeb

Make feature requests for Dynamicweb in Issues section of this repository
https://doc.dynamicweb.dev/documentation/fundamentals/support/feature-requests.html
GNU General Public License v3.0
1 stars 0 forks source link

Dynamicweb provider as destination provider - interpret "Yes" / "No" as true false when inserting into a boolean field #117

Closed ivaigor96 closed 4 months ago

ivaigor96 commented 4 months ago

In BC when we are adding the custom fields, it's giving us an XML with "Yes" / "No" instead of true false image

When importing into a field of type "Checkbox" for example "ProductActive" or a custom field - it does not work, the field value always remains false even if the value in source is "Yes"

We need either BC to give us "true" / "false" here or the DW provider should be able to figure out that this is a boolean

DynamicRas commented 4 months ago

Hi Igor,

What source provider are you using? Please describe the work flow of getting from your custom fields in BC to DW.

BR Rasmus Sanggaard

ivaigor96 commented 4 months ago

@DynamicRas I am using the XML source provider and Dynamicweb provider as destination. We are getting XML using the "Import data with custom request add in". The fiels are part of the EcomProducts table of the GetEcomData request image

DynamicRas commented 4 months ago

Hi,

Got it. We already have some logic that interprets the value when trying to map into a boolean field. We will add yes and no.

BR Rasmus Sanggaard