22
Views
12
Comments
[Aspose Words] How to Install and configure Aspose License file
aspose-words
Service icon
Forge component by Paulo Garrudo

I have a license file Aspose.Words for .Net

Can you please share the process how to install and configure the license file (Binary Data) so that it is available for all apps and modules in all environments like Dev, Test and Production using Aspose.Words or mail merge functionality.

Please review the screenshot for consideration

Thanks


Hi Muhammed,

What Forge asset are you using?

Hi Muhammed,

Thanks, that helps :).

What you could do is create a wrapper action for MailMergeDoc, that has the same parameters except for "licFile" (so with File, Keywords and Values, with the right data types). In that action you call MailMergeDoc, but you use a licence file included with Resources. In your code then you always use the new action, not the one from the extension.

See attachment for an example.

AsposeWords.oml

Hi Killian,

Can you share any example of complete workflow showing the mailmerge functionality that would be very helpful as I am getting the blank file.

Thanks

Muhammad

Hi Muhammed,

My example should be enough to get you going. If you get a blank file, check the error logging and see whether there's some error indicating the problem. Of course my example does not have a valid licence key, make sure you use a valid one.

Hi Kilian,

I am able to generate a word document output file based on your example however my output is only showing the FIRST page of the Template doc instead of 7 pages.

Am I missing something?


Thanks

Like I said, I don't know this specific component, so I can't help you there. You might consider creating a new topic in the component's subforum.

Thanks for the prompt reply and I will try to implement your suggested solution and keep you posted.


Thanks for your support.

Muhammad



Hi Kilian,

Thanks for the reply. I am using the valid license.

Should I include the Word Template under Resources Folder and what should I enter under keywords and values.

Thanks for all your help and support.


Thanks

Hi Muhammed,

Your original question was about how to use the same licence file for all apps/modules, and I showed you how to do that. Unfortunately, I don't have any further knowledge on the component (I've written my own Aspose Words component in the past), so I can't help you with questions about the parameters. Note that the component includes a sample app, so perhaps you could take a look at it to see how it should be done.

Can you please share the URL for sample app?

Thanks

Hi Muhammed,

The sample app is included in the component. Just check the app and open the sample module.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.