Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Gerardo Pacios
3
Views
4
Comments
Open, Edit, Save SVG file
Discussion
How-to
Is there any way i can open a svg file and edit/add text in it?
Justin James
MVP
It's just XML, so use the FileUpload widget to have the user upload it, then use BinaryToText in the BinaryData extension to turn the file to text, then use the XmlRecords extension to process the XML, manipulate it, etc. (or standard string operations if it is simple stuff).
J.Ja
1 reply
14 Oct 2014
Show thread
Hide thread
Gerardo Pacios
Justin James
wrote:
It's just XML, so use the FileUpload widget to have the user upload it, then use BinaryToText in the BinaryData extension to turn the file to text, then use the XmlRecords extension to process the XML, manipulate it, etc. (or standard string operations if it is simple stuff).
J.Ja
Thank you for the responce Sir Justin. I will try those steps later.
anyway, here are the scenarios, I want to access a svg file located in a certain directory not using file upload dialog. the modify its content and add data that i get in the database. then save the modified svg in a new directory, and open(view) the svg image.
Justin James
MVP
Gerardo -
If you need to access a file on the server or on the network the server is on, there are functions in the NetworkFileSystem extension for things like opening and saving files. Once you open it and read it as text using that, you can modify it using the XML extension as detailed above, then re-save it as needed.
J.Ja
ubaid OS
Gerardo Pacios
wrote:
Is there any way i can open a svg file and edit/add text in it?
You can try Free SVG Editor,
GLIPS Graffiti,
SVG-edit and many other free software from the URL below:
https://listoffreeware.com/list-of-best-free-svg-viewer-software-for-windows/
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...