Skip to main content
Nintex Community Menu Bar
Question

Filepath property not accessible for static resources (9.5.10)

  • July 10, 2024
  • 5 replies
  • 24 views

Forum|alt.badge.img+18

Just updated to 9.5.10 and we now cannot access the filepath property for javascript static resources.

I can hack the XML and add the filepath property, and the resource works as expected.

If I remove the content_type property in the XML, the filepath property appears in the builder and also works as expected.

The content type of my resource is “application/x-zip-compressed”

5 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • July 10, 2024

Hi Matt. Are you seeing this change on an existing page of yours, or a new page? Or perhaps both? And, which version were you using before the update? 


Forum|alt.badge.img+18
  • Author
  • July 10, 2024

We were on the most recent version of Banzai (8.15.something?)

This is on both existing and new pages.


Forum|alt.badge.img+10
  • Nintex Employee
  • July 10, 2024

One thing I’m noticing when building new pages is that the filepath field in the page builder only shows if the resource you select is a ZIP file. 

Another bit of information is that when I examine the XML for the new page and new static resource in my testing, I see content_type=“application/zip.” It could be that between Banzai and Brooklyn this naming convention changed. Can you try transplanting this value to see if the behavior changes?


Forum|alt.badge.img+18
  • Author
  • July 10, 2024

Mark,

That worked. I was running some grunt script that was giving my zipped static resources the content type “application/x-zip-compressed.”
I changed that to “application/zip” and redeployed our resources, and the filepath property is now working correctly.

Thanks!


Forum|alt.badge.img+5

wow…this saved me a huge headache. Was stuck on this for hours. Thanks guys.