Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Component ClientResources Path

$
0
0

Hello,

I have been banging my head against the wall for a while now trying to figure out what I am doing wrong here. I am trying to package my dashboard component, but when I try to reference the dojo script, it throws a 404 because it is looking in the ~/Episerver/Shell/{version}/ folder instead of my packaged component folder. Looking at the component package it all seems to be structured correctly in ~/modules/_protected/{package_name}. I am assuming its something I am doing wrong with my module.config but I can't seem to narrow it down.

<?xml version="1.0" encoding="utf-8"?><module productName="componentName" clientResourceRelativePath="1.0.9" loadFromBin="false" tags="EPiServerModulePackage"><assemblies><add assembly="company.componentName" /></assemblies><dojo><paths><add name="componentName" path="ClientResources/Scripts" /></paths></dojo><clientModule><moduleDependencies><add dependency="Shell" /><add dependency="CMS" /></moduleDependencies></clientModule></module>

Can anyone point me in the right direction?

Thanks


Viewing all articles
Browse latest Browse all 9076

Trending Articles