Hi Everyone,
I have an attachment and I want to upload any attachments.
Problem is why I'm having the same data image value:
for .doc and .jpg same. Is not suppose to be the same right?
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIg0KCSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczphPSJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlU1ZHVmlld2VyRXh0ZW5zaW9ucy8zLjAvIg0KCSB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI3MHB4IiBoZWlnaHQ9IjI3MHB4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNzAgMjcwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCgk8ZyBjbGFzcz0ic3QwIj4NCgkJPHJlY3QgeT0iMC43IiBmaWxsPSIjRTlFOUU5IiB3aWR0aD0iMjY5IiBoZWlnaHQ9IjI2OS4zIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDQkNCQ0EiIHBvaW50cz0iMjc3LjksMTg3LjEgMjQ1LDE0My40IDE4OC42LDIwMi44IDc1LDgwLjUgLTQuMSwxNjUuMyAtNC4xLDI3MiAyNzcuOSwyNzIiLz4NCgkJPGVsbGlwc2UgZmlsbD0iI0NCQ0JDQSIgY3g9IjIwMi40IiBjeT0iODQuMSIgcng9IjI0LjQiIHJ5PSIyNC4zIi8+DQoJPC9nPg0KPC9zdmc+"
my attachment OnAddFile property
Set(
gvAttachmentFileBase64_001,
Blank()
);
Set(
gvAttachmentFileBase64_002,
Blank()
);
Set(
gvAttachmentFileJSONBinary_001,
JSON(
img_00001.Image,
JSONFormat.IncludeBinaryData
)
);
Set(
gvAttachmentFileBase64_001,
Mid(
gvAttachmentFileJSONBinary_001,
Find(
",",
gvAttachmentFileJSONBinary_001
) + 1,
Len(gvAttachmentFileJSONBinary_001) - Find(
",",
gvAttachmentFileJSONBinary_001
) - 1
)
);
Set(
gvAttachmentFileJSONBinary_002,
JSON(
img_00001.Image,
JSONFormat.IncludeBinaryData
)
);
Set(
gvAttachmentFileBase64_002,
Mid(
gvAttachmentFileJSONBinary_002,
Find(
",",
gvAttachmentFileJSONBinary_002
) + 1,
Len(gvAttachmentFileJSONBinary_002) - Find(
",",
gvAttachmentFileJSONBinary_002
) - 1
)
);

Report
All responses (
Answers (