简体   繁体   中英

How to retrieve a PDF(document) from the Tridion File System and create a multimedia component out of it

I am required to make changes to an existing PDF component. In doing so we are creating a new PDF in the File System with the same name as the exsting PDF and deleting the original PDF.Now the new PDF that is created after the update is required to be stored as a multimedia component. In Tridion we generally create multimedia components to store documents in the Tridion File System. Is there a way to do the reverse , that is, retrieve a PDF(document) from the Tridion File System and create a multimedia component out of it? If so, what API'S can be used to get it done? We are using SDL Tridion 2011 SP1 version.Please help..

I am not sure what you have tried or where you have looked, but take a look at this question/answer:

Create Multimedia component with Metadata fields.using core service

or

http://amarchuk.blogspot.com/2011/11/creating-multimedia-component-through.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM