You need to sign in to do that
Don't have an account?

Static resource in a s-Control
Hi,
Can I use the static resource in a s-control ?
Like,
If no, is there a simpler way to use a .js file from the s-control. I have lot of functions defined in a .js file and I want to re-use them in multiple s-controls. Could someone pls let me know how I can do this.
Thanks
Can I use the static resource in a s-control ?
Like,
Code:
<script type="text/javascript" src="{!Resource.Companies}"> </script>
Thanks
You can create s-controls of type Snippet and include them in your other s-control using the following format..