Print this page

How to access managed package static resources on a visualforce page?

Knowledge Article Number 000171417
Description How to access managed package static resources on the visualforce page ?
Resolution
Sample code to demonstrate access:
 
<apex:includeScript value="{!URLFOR($Resource.tw_test__TestCompleteResources, '/javascript/TestComplete.js')}"/> 
 
tw_test is a namespace for the package.
 
Package should be deployed and static resource cache control should be set to "Public".




promote demote