SharePoint文档库图像到PDF的转换.
亲爱的团队,
在浏览了数百篇博客之后,仍在寻找解决方案.
After exploring hundreds of blog, still looking for solution Approach on this functionality.
在我们的业务案例中,我们希望在单击功能区上下文菜单后将SharePoint文档库图像(多个)转换为PDF文件.
In our business case we want to convert SharePoint document Library Images(Multiple) in to PDF file after clicking on the ribbon context menu.
请从技术角度指导我如何在这种情况下进行.
Please guide me in technical point of view how I can proceed on this scenario.
非常感谢您的帮助.
感谢和问候,
Mithun Phapale
Mithun Phapale
(Mithun.phapale@outlook.com)
(Mithun.phapale@outlook.com)
Sharepoint开发人员
Sharepoint Developer
我们可以创建一个Web服务,以使用iTextSharp将图像转换为PDF文件.
We can create a web service to convert images to PDF file using iTextSharp.
然后自定义功能区上下文菜单,并使用JavaScript代码调用Web服务.
Then customize a ribbon context menu and call the web service using JavaScript code.
以下文章供您参考:
SharePoint 2013:如何创建自定义Web服务WCF(REST)
使用itextsharp将多张图像转换为多页PDF
https://gist.github.com/gythialy/8500364
如何在SharePoint 2013中的列表/库上添加自定义功能区操作
http://sharepointpals.com/post /How-to-Add-Custom-Ribbon-Action-on-ListLibraries-in-SharePoint-2013
最好的问候,
丹尼斯