function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Static Resource is changed every time it edited



Why do the ID for Static Resource is changed everytime it is updated?


Also if I add Static Resource e.g. Javascript file, use it in a Custom Home Page Component and add Custom Home Page Component to Package then:

1. Will Static Resource be added automatic to the Package or we need to add it manually?

2. When a package with Static Resource is deployed, will the ID for Static Resource change?








 Static resource you can include in the unmanaged package to avoid the locked it, so you can edit the static resource every time when you deploy the managed package, managed package lock the components so you cannot edit the static resource.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.