Import file in binary field
Registered by
Nicolas DS
Importing binary field is quiet difficult for now.
Here are the ways to achieve importing of binary fields:
- Use RPC with external program.
- Use Base64 encoded, XML, CSV, YAML
So for embedding binary data into module: only Base64 is available.
Having physical file could be easier:
- physical file "icon.png" in the module directory.
- In CSV, XML, YAML file, use "@icon.png" or something like this as field value.
Notice that the "@" is not in Base64 allowed characters.
So if the import parser finds data (for binary field) that begin with "@" it will search for the file, and getting its content.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Nicolas DS
- Definition:
- Pending Approval
- Series goal:
- Proposed for trunk
- Implementation:
- Deployment
- Milestone target:
- None
- Started by
- Nicolas DS
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)
Work Items
Dependency tree
* Blueprints in grey have been implemented.