Create an xpage (order form) in a nice format from the web (in a pdf) and mail it to customer

时间:2016-08-31 17:24:38

标签: xpages developer-tools

I need to send a customer's order to them in a pdf file but formatted like you would format a form in the Notes client. So a salesman create the order through a browser and clicks a button to send the order to the customer. It needs to create the order in a nice format like the Notes client would, attach it to a mail message and open the message for the salesman to add text. Has anyone done this? How do you do it?

I also need to do the same thing but instead of creating a pdf, take a product graphic attachment from the Notes document, attach it to a mail message and open the message for the user to add text for the customer.

1 个答案:

答案 0 :(得分:1)

查看OpenNTF中的POI4XPages项目。它允许您在Word中创建模板,从XPages填充Word文档中的“字段”,然后当用户单击该按钮时,它可以填写这些字段并作为pdf文件或Word文件下载。然后,用户可以修改/添加消息并附加到他们的电子邮件中。

或者,您可以让他们在您的XPage应用程序中输入消息并使用消息填充Word文档并创建要下载的pdf文件。

霍华德

相关问题