Skip to content

Conversation

manrick
Copy link
Contributor

@manrick manrick commented Oct 26, 2024

There is an easier way to generate PDF from a Knowledge Article using OOTB API, called PDFGenerationAPI

I think it's always better to use OOTB solutions, if it's available and meets the requirements.

@am-shakeel am-shakeel self-assigned this Oct 27, 2024
@am-shakeel
Copy link

Hi @manrick , Thanks for the PR!
While using OOB features is a great approach, Hacktoberfest encourages original contributions

@am-shakeel am-shakeel requested a review from wiz0floyd October 27, 2024 11:01
@manrick
Copy link
Contributor Author

manrick commented Oct 27, 2024

Hi @am-shakeel, what you wrote is true and I agree with you, but in this case I have a bit different view. There is a solution on the Github, which is not bad, but there is a better one. ServiceNow always recommends to stay as close as the OOTB solution as it is possible. I have uploaded this code snippet, because I wanted to highlight that there is another solution for exporting KB article into PDF, which might be better or easier.
If you don't agree with me, please reject this pull request and I will submit another one.

@am-shakeel am-shakeel closed this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants