I am working on an application that requires to perform HTMLToPDF conversion. I recollect in previous Pega version (8.1.3) we had to define a HTML record which refers a section which in turn contains the layout design for our final PDF.
Now, I am trying to create a HTML record for the same in my new environment (Pega Cloud 8.5.2) and I do not find options to create it anymore.
Are these HTML/HTML Fragment options removed in Pega 8.5.2? Can someone help me to understand how to handle HTMLToPDF in Pega 8.5.2?
In case if anyone faces the same issue as what I had faced.. here is the solution.
I figured out by myself that HTML isn't shown anymore on Pega 8.5.x onwards. Not sure if this was an intended change in Pega. However, we can still access the HTML rule by following the below steps.
Step #1: Go to Rule-Obj-HTML in App Explorer. Click on the class in App Explorer will load the list of HTML rules available in the right side pane. Click on any of the HTML rule that gets listed in the right side pane. This will open up that HTML rule in Dev Studio.
Step #2: Go ahead creating your rule.. by clicking on Actions >> Create menu and provide the necessary class and ruleset information to create your new HTML Rule.
Please note, in case if your existing application doesn't have any HTML rules till date, Step #1 above might not have any rules listed. Instead try to find if such HTML rules exists in any other application. In my case, eventhough I didn't had a HTML rule, I was able to manage as Pega-BIX component had some HTML rules which were listed for me to work through.
Hope this information helps.
Posted: 1 year ago
Posted: 4 May 2021 14:53 EDT
Marissa Rogers (MarissaRogers)
Senior Knowledge Management Specialist