Notifications
Announcements
No record found.
Hi All Virtual ,
I am facing some problem with my code can someone help me.
referring this blog:https://www.xrmlabs.com/About-Us/XRMs-Blog/Post/7215/How-to-convert-Entity-Image-Byte-Data-to-Base-64-Workflow-MSCRM
Thanks
Hello,
You need to update your line of code with below code -
Entity PreImage = workflowContext.PreEntityImages.First().Value;
Also, update below code
ent = base64;
with
ent[Base64dataField.Get<string>(context)] = base64;
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Make sure you decorate your input parameters with correct attributes as per below code -
[RequiredArgument]
[Input("ImageFieldSchemaName")]
public InArgument<string> ImageFieldSchemaName { get; set; }
[Input("Base64dataField")]
public InArgument<string> Base64dataField { get; set; }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 72 Super User 2025 Season 2
Daniyal Khaleel 32 Most Valuable Professional
Gerardo RenterÃa Ga... 29 Most Valuable Professional