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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 184 Super User 2026 Season 1
11manish 125
CU11031447-0 100