AnsweredAssumed Answered

How To Override Share Client Side JS in SDK3.0

Question asked by pedwards99 on Jul 25, 2017
Latest reply on Aug 4, 2017 by binary_101

Hi there,

 

I'm trying to figure out how to override/replace client-side Javascript using SDK 3.

For example on the document-details.ftl page it uses:

<@script type="text/javascript" src="${url.context}/res/modules/documentlibrary/doclib-actions.js" group="document-details"/>

 

If I wanted to replace doclib-actions.js with my own script, where do I place it in the SDK 3.0 project and what would I replace  

src="${url.context}/res/modules/documentlibrary/doclib-actions.js"

with?

 

Thanks

Paul

Outcomes