Power Apps - How to add JavaScript Code and CSS files

%3CLINGO-SUB%20id%3D%22lingo-sub-1372550%22%20slang%3D%22en-US%22%3EPower%20Apps%20-%20How%20to%20add%20JavaScript%20Code%20and%20CSS%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372550%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3BI%20am%20new%20to%20PowerApps.%20I%20am%20Working%20in%20SharePoint%20Online%20List%202019.%3C%2FP%3E%3CP%3EEarlier%20I%20was%20using%20SharePoint%20Designer.Now%20it%20was%20deprecated.%20I%20was%20using%20JavaScript%20and%20CSS%20externally%20and%20made%20Ajax%20calls%20for%20my%20customized%20Query%20like%20(WorkFlow%20history%2C%20Version%20history%2Cetc).Now%20i%20am%20using%20Power%20Apps%20to%20customize%20forms.%20How%20to%20Add%20JavaScript%20codes%2F%20CSS%20to%26nbsp%3B%20Power%20Apps%20customized%20Forms.%3C%2FP%3E%3CP%3EAny%20Examples%20%2F%20steps%20%2F%20Documentation.%3F%3C%2FP%3E%3CP%3EPlease%20guide%20me!!%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1372550%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1375230%22%20slang%3D%22en-US%22%3ERe%3A%20Power%20Apps%20-%20How%20to%20add%20JavaScript%20Code%20and%20CSS%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1375230%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F486152%22%20target%3D%22_blank%22%3E%40Annamsoft%3C%2FA%3E%26nbsp%3BYou%20will%20get%20some%20threads%20how%20to%20accomplish%20this%20using%20power-apps%20but%20I%20will%20suggest%20to%20be%20refrained%20from%20them.%20I%20will%20share%20my%20two%20cents%20here%2C%20power-apps%20are%20not%20a%20replacement%20for%20custom%20coded%20application%20which%20has%20dependency%20on%20the%20JavaScript%2C%20CSS%20and%20other%20html%20components.%20I%20will%20strongly%20suggest%20to%20use%20SPFx%20web%20part%20to%20accomplish%20this%2C%20it%20might%20require%20some%20initial%20effort%20to%20get%20started%20if%20you%20are%20not%20well%20verse%20with%20the%20technology%20stack%20but%20end%20result%20will%20be%20good%20with%20a%20better%20outcome.%20MS%20has%20set%20a%20good%20standards%20and%20i%20think%20as%20developers%20we%20should%20follow.%20Use%20the%20SPFx%20libraries%20they%20make%20your%20life%20so%20easy%20its%20just%20the%20time%20for%20being%20familiar%20with%20them.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi All,

 I am new to PowerApps. I am Working in SharePoint Online List 2019.

Earlier I was using SharePoint Designer.Now it was deprecated. I was using JavaScript and CSS externally and made Ajax calls for my customized Query like (WorkFlow history, Version history,etc).Now i am using Power Apps to customize forms. How to Add JavaScript codes/ CSS to  Power Apps customized Forms.

Any Examples / steps / Documentation.?

Please guide me!! Thanks

1 Reply

@Annamsoft You will get some threads how to accomplish this using power-apps but I will suggest to be refrained from them. I will share my two cents here, power-apps are not a replacement for custom coded application which has dependency on the JavaScript, CSS and other html components. I will strongly suggest to use SPFx web part to accomplish this, it might require some initial effort to get started if you are not well verse with the technology stack but end result will be good with a better outcome. MS has set a good standards and i think as developers we should follow. Use the SPFx libraries they make your life so easy its just the time for being familiar with them.