web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Kingsway SSIS Package, Move Notes attachment to SharePoint

(0) ShareShare
ReportReport
Posted on by 32

Hello,

I am trying to move the CRM notes attachment to SharePoint Document Library using Kingsway SSIS Package.

when I pass the document body as 

DecodeBase64( [ag.documentbody] )

I got "An error occurred while testing the expression: Invalid Expression: Invalid length for a Base-64 char array or string."

please check below Screen for reference.

Decode-Error.PNG


So when I check the files on SharePoint that time its says "We're sorry, we couldn't open your workbook. It's possibly corrupt or using a file format that's not supported."
Please let me know if you guys have any solution.

Thanks in Advance,
Pankil

*This post is locked for comments

I have the same question (0)
  • Pankil Bhatt Profile Picture
    32 on at

    ?

    ?

  • Suggested answer
    Kunaltripathy Profile Picture
    395 on at

    HI Pankil, The Test feature on Expression editor will not work as you don't have any input currently and documentbody is null. The Validate button next to text can validate if expression is right. run the package for a small set of data to do actual validation.

  • Thomas David Dayman Profile Picture
    11,323 on at

    From my experience, all you need to is convert the documentbody to a Text Stream Type and assign it to the Attachment_1_BinaryContent field

  • Pankil Bhatt Profile Picture
    32 on at

    Hi Kunal,

    I have check the Document body content and also check the file size. it is properly which comes from source.

    you can see the screenshot.

    0647.3.PNG

    8176.2.PNG

    also I have check every steps.

    1121.4.PNG

    but when I check the SharePoint destination I got only 1.46kb

    0647.3.PNG

    I don't think so my document body is null. 

    I have try this thing to : https://community.dynamics.com/365/b/dynamics365enterprisecloudfronts/archive/2017/09/04/crm-issue-with-retrieving-large-document-body-using-fetch-xml

    not succeeded.

    very frustrated about this issue, can you please help.

    Thanks,

    Pankil

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans