
Announcements
Hi All,
I am trying to create react component and I want to integrate/use that in portal. Also, I have few doubts-
1. Where should I write code? (ON web pages or on external application and convert into and then import solution just like code component )
2. Where Should I include react libraries?
HOw can I achieve that?
Any help will be appreciated
Hi @Anonymous ,
If you are talking about creating custom component using PCF (Power Apps Component Framework) there is no supported way for now (Preview for this feature was announced and it will happen somewhere in December), but you can check out this blog post from Aung Khaing about how you can reuse component on portal.
If you are talking about regular react component you will need to add react and react dom via CDN and then use your code (written as part of the Web template, separate Web file, or stored somewhere else and added via script tag). You can see example of this on the lecture from Victor Dantas about advanced liquid technics from PowerApps Portal Saturday 2020 (he shows example of it near the end of the talk).