[英]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. 我需要对现有的PDF组件进行更改。 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.
为此,我们正在文件系统中创建一个与现有PDF相同名称的新PDF,然后删除原始PDF。现在,更新后创建的新PDF需要作为多媒体组件存储。 In Tridion we generally create multimedia components to store documents in the Tridion File System.
在Tridion中,我们通常创建多媒体组件以将文档存储在Tridion文件系统中。 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?
有没有办法做相反的事情,即从Tridion文件系统中检索PDF(文档)并从中创建多媒体组件? If so, what API'S can be used to get it done?
如果是这样,可以使用什么API来完成它? We are using SDL Tridion 2011 SP1 version.Please help..
我们正在使用SDL Tridion 2011 SP1版本。请帮助。
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 http://amarchuk.blogspot.com/2011/11/creating-multimedia-component-through.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.