+ Start a Discussion
kumgaurav1.3959431011250151E12kumgaurav1.3959431011250151E12 

issue while including JS resource for different users

I have a JS include script on my page

<apex:includeScript value="{!URLFOR($Resource.ValidationsJS)}" />
If I run the page as normal user it works fine, same page I am running as community user it didnot working. I checked the URL and found this issue
Normal user resource url - https://ebm--testatom.cs20.my.salesforce.com/resource/1422292766000/ValidationsJS
Community user url - https://testatom-attpartnerexchange.cs20.force.com/resource/1422292766000/ValidationsJS
Best Answer chosen by James Loghry
KevinPKevinP
Is it a public resource? --  Kevin Poorman Sent with Airmail

All Answers

KevinPKevinP
Is it not finding the resource bundle? what kind of failures are you experiencing?

Looking at the url's it looks like they'd both work.
kumgaurav1.3959431011250151E12kumgaurav1.3959431011250151E12
I am trying in chrome browser and its saying network error. Resource 404 not found.
KevinPKevinP
Is it a public resource? --  Kevin Poorman Sent with Airmail
This was selected as the best answer
kumgaurav1.3959431011250151E12kumgaurav1.3959431011250151E12
Thank you. It’s my bad. Resource was private earlier , making it public worked. Thank you again.