SP Addin or SP framework?

%3CLINGO-SUB%20id%3D%22lingo-sub-1591279%22%20slang%3D%22en-US%22%3ESP%20Addin%20or%20SP%20framework%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591279%22%20slang%3D%22en-US%22%3EI'm%20trying%20to%20understand%20the%20difference%20between%20the%20SP%20add-ins%20and%20SP%20Framework.%20I%20need%20to%20refactor%20a%20Django%20app%20on%20SP%20online.%20The%20web%20app%20does%20the%20following%3A%3CBR%20%2F%3E%3CBR%20%2F%3ETakes%20input%20from%20the%20user%20into%20a%20form%20(mostly%20y%2Fn)%20questions%3CBR%20%2F%3Ebased%20on%20the%20responses%20generates%20a%20pdf%20document%20which%20is%20returned%20to%20the%20user%20plus%20a%20.docx%20document%20which%20is%20stored%20on%20SP%20(the%20end%20user%20has%20no%20access%20to%20the%20.docx)%3CBR%20%2F%3EPotentially%20sends%20an%20email%20to%20notify%20other%20stakeholders%3CBR%20%2F%3ENow%2C%20if%20I%20have%20to%20implement%20it%20on%20SP%2C%20I%20understand%20that%20the%20full%20logic%20will%20be%20in%20the%20client%2C%20while%20at%20the%20moment%20for%20example%20part%20of%20the%20logic%20runs%20in%20Python.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20form%20itself%20should%20not%20be%20an%20issue.%20I%20was%20wondering%20how%20to%20generate%20the%20pdf%20and%20the%20docx.%20Is%20that%20possible%20using%20SP%20workflows%3F%20Or%20should%20I%20use%20Power%20Automate%3F%20I%20mean%2C%20how%20to%20properly%20populate%20a%20HTML%2Fword%20template%20and%20then%20convert%20it%20to%20Pdf%20if%20we%20have%20no%20access%20to%20server%20side%20code%3F%20Thanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591308%22%20slang%3D%22en-US%22%3ERe%3A%20SP%20Addin%20or%20SP%20framework%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591308%22%20slang%3D%22en-US%22%3ECertainly%20not%20an%20expert%20around%20this%2C%20but%20found%20a%20link%20and%20thought%20of%20sharing%2C%20using%20flow%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fblog.encodian.com%2F2019%2F08%2Fbuilding-word-documents-from-microsoft-forms-responses%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.encodian.com%2F2019%2F08%2Fbuilding-word-documents-from-microsoft-forms-responses%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591497%22%20slang%3D%22en-US%22%3ERe%3A%20SP%20Addin%20or%20SP%20framework%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591497%22%20slang%3D%22en-US%22%3EMy%20two%20cents%20here%3A%3CBR%20%2F%3E(1)%20Go%20for%20SPFx%20for%20the%20FrontEnd%3CBR%20%2F%3E(2)%20Go%20for%20Power%20Automate%20Flows%20or%20Azure%20Functions%20%2F%20Azure%20APIs%20for%20the%20Business%20Logic%20you%20may%20need%20in%20your%20Apps%3C%2FLINGO-BODY%3E
Highlighted
New Contributor
I'm trying to understand the difference between the SP add-ins and SP Framework. I need to refactor a Django app on SP online. The web app does the following:

Takes input from the user into a form (mostly y/n) questions
based on the responses generates a pdf document which is returned to the user plus a .docx document which is stored on SP (the end user has no access to the .docx)
Potentially sends an email to notify other stakeholders
Now, if I have to implement it on SP, I understand that the full logic will be in the client, while at the moment for example part of the logic runs in Python.

The form itself should not be an issue. I was wondering how to generate the pdf and the docx. Is that possible using SP workflows? Or should I use Power Automate? I mean, how to properly populate a HTML/word template and then convert it to Pdf if we have no access to server side code? Thanks
2 Replies
Highlighted
Certainly not an expert around this, but found a link and thought of sharing, using flow:
https://blog.encodian.com/2019/08/building-word-documents-from-microsoft-forms-responses/

Thanks
Highlighted
My two cents here:
(1) Go for SPFx for the FrontEnd
(2) Go for Power Automate Flows or Azure Functions / Azure APIs for the Business Logic you may need in your Apps