-However, web resource dependencies are not limited to just RESX web resources. You can associate a JavaScript web resource to any other type of web resource to create dependencies that will cause the associated web resource to be loaded together with the JavaScript web resource. This will save time because you will not need to explicitly load multiple dependent web resources when you register a script for a [form event](/powerapps/developer/model-driven-apps/clientapi/reference/events#form-events), [ribbon command](/powerapps/developer/model-driven-apps/define-ribbon-commands), or ribbon [enable rules], just register the primary script and let the dependency configuration load the rest. You can even create a chain of dependencies because any JavaScript web resources that are loaded because of the primary JavaScript web resource will include any web resources that are associated to them.
0 commit comments