Skip to main content
Nintex Community Menu Bar
Question

File path for CSS Static Resource?

  • July 9, 2024
  • 7 replies
  • 40 views

Forum|alt.badge.img+1

I’m a little confused as to the formatting for the ‘File Path’ field for a static resource. I have a file called HoverCSS that is loaded into the Static Resources in Salesforce-- what should go into the File Path field in order to be able to reference that file?

This topic has been closed for replies.

7 replies

Forum|alt.badge.img+11

Have you tried leaving the File Path field empty?


Forum|alt.badge.img+1
  • Author
  • July 9, 2024

Ah, I guess I was misinterpreting what that field is for. So the only field I need to worry about is the Resource Name? Even with just that filled in, I’m still having some trouble using the custom css file.


Forum|alt.badge.img+8

The path is only necessary if your Static Resource is a zip file.  If you just uploaded the CSS file as a static resource, then you should leave that field blank.


Forum|alt.badge.img+13

What sort of trouble are you experiencing? Is the CSS file being loaded successfully, or not at all?


Forum|alt.badge.img+11

Do you know how to check if the file is loaded?  Open Chrome Developer Tools and check the Resources folder in the Sources Tab.


Forum|alt.badge.img+11

Did you select the Public option for Cache Control?  

Take a look at this tutorial http://help.skuidify.com/s/tutorials/m/getting-started/l/151288-copy-paste-a-set-of-sample-pages-you… and the section How to Create the OpportunityJS Static Resource.


Forum|alt.badge.img+11

Check out this video starting a little after minute 6:00.  John explains how to configure static resources.

https://www.youtube.com/watch?v=7bt5-QpEUn8