Home
Softono
d365-pcf-imagecontrol

d365-pcf-imagecontrol

Open source MIT TypeScript
12
Stars
4
Forks
0
Issues
2
Watchers
9 months
Last Commit

About d365-pcf-imagecontrol

d365-pcf-imagecontrol is a Power Apps PCF custom control designed for Dynamics 365 environments. It transforms Multiple Lines of Text fields into interactive image displays, allowing users to insert and view visual content directly within text areas. The control functions as a drop zone, enabling users to drag and drop images onto the field. Upon insertion, the image is converted into a Base64 encoded PNG string. Crucially, the control automatically strips the standard data URI prefix (data:image/png;base64,), storing only the raw encoded data. This specific formatting is essential for seamless integration with other Microsoft ecosystems, particularly enabling the embedding of these images directly into Word document templates via email receive-only lookup fields or data export processes. By bridging the gap between text fields and printable documents, this tool simplifies workflows that require visual documentation. The solution is open source under the MIT license, with available resources for installation,

Platforms

Web Self-hosted

Languages

TypeScript

Links

D365 PCF - Image Control

Build [Github All Releases]()

Image control for Multiple Lines of Text fields

This control can be added as a custom control for a Multiple Lines of Text field to display the contents as an image

Drag and Drop Here Sample Image

The control will store the Base64 encoded content of the PNG image without the data:image/png;base64, at the start

This will allow us to output the image in a word document, as shown in the example below

Word Template Example


Download

The solution can be downloaded from the Releases page


Docs

Development Docs


License

MIT