Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

two options mapping kingsway ssis

(0) ShareShare
ReportReport
Posted on by 570

HI,

I am doing data migration from Excel sheet to CRM 365 using Kingsway.

I am getting 'Yes', 'No' for two options field, when i am mapping it to crm boolean field i am getting error.

Can someone let me know how to map 'Yes' 'No' to CRM boolean field.

Thanks

*This post is locked for comments

  • Suggested answer
    balakrishna uppala Profile Picture
    570 on at
    RE: two options mapping kingsway ssis

    Thanks Adrian,

    It solved the issue.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: two options mapping kingsway ssis

    Hi bala krishna,

    That is what I am suggesting. You will need to write an expression for each conversion in your Derived Column Transformation Editor.

    (DT_BOOL)(ColumnName == "Yes" ? 1 : 0)
  • balakrishna uppala Profile Picture
    570 on at
    RE: two options mapping kingsway ssis

    Hi Adrian,

    I tried to type cast using Data Conversion component in SSIS but i get error from import as  'Data conversion value is 4, cannot truncate...etc'.

    Are you suggesting something like this in derived column,

    [field]=="Yes"?(DT_Bool)1:(DT_Bool)0

    If i have 15 boolean fields, do i need to write for all of these?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: two options mapping kingsway ssis

    Hi bala krishna,

    You need to convert your "Yes" and "No" String values to Boolean values by using a Derived Column Transformation in SSIS.

  • balakrishna uppala Profile Picture
    570 on at
    RE: two options mapping kingsway ssis

    Error info:

    System.Exception: Error: Failed to set field 'new_police' value to 'No' for entity 'new_abc' (field type: Boolean, value type: String). System.FormatException: String was not recognized as a valid Boolean. (SSIS Integration Toolkit for Microsoft Dynamics 365, v10.2.0.6972 - DtsDebugHost, v14.0.3002.107) (SSIS Integration Toolkit for Microsoft Dynamics 365, v10.2.0.6972 - DtsDebugHost, v14.0.3002.107)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans