We may encounter with situations that require files to be attached to node programmatically rather than user uploads it. It will be the usual case if the file is generated by the system itself.
In this article we try to show how we can attach a PDF file to file field of a node. Assuming default file type field is used. Here are the steps of logic we going to follow
KB Article
- Log in to post comments