K2 blackpearl service broker for word document generator template base.
In this service you will find 2 methods:
- Generate document: allow to user create document based on template and can set up to 15 value on the template.
- Generate document advance: allow to user create document based on template and can set up to 200 value on the template.
** note that 1 field can be use many time in the template and this considered 1 field.
Setup:
- Prepare and map your document template fields using (link base.docx)
- Save your document template to k2 server path "ex. C:DocxNDA.docx" this configure when install Service broker.
- Configure IIS virtual directory to output path so you can download and preview the document using url "ex. C:Docxoutput".
- Execute the method and pass parameter, in advance you need to pass value parameters using delimiter in sequense (ex. Value 1; value 2; value3;etc)
- install service broker.
- Stop the K2 blackpearl Service.
- Copy the dll to C:Program Files (x86)K2 blackpearlServiceBroker.
- Start the K2 blackpearl Service.
- install Smart Object.kspx to save the output document in SMO.
- Build your app.