Products

Solutions

Resources

Partners

Community

Blog

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Manifest: ResourceFile Component

Return to previous page

  • 4/7/2015
  • 4108 Views

Comments

4108 Views

Manifest: ResourceFile Component

Last updated 5 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 
The ResourceFile Component is used to install a set of files without having to explicitely declare the name and path of all the files. It can greatly simplify the manifest for modules that contain a lot of files.
The files are packaged as a .zip file with relative paths to where they will be copied when expanded by the DotNetNuke package installer.

The ResourceFile Component inherits from the File Component and uses a similar syntax.

Elements and attributes

<component type="ResourceFile">

<resourceFiles>
<basePath> </basePath>
<resourceFile>
<name> </name>
</resourceFile>
</resourceFiles>
</component>

  • basePath: relative path (from the root of the site) where the .zip file will be expanded and files copied
  • resourceFile: for each .zip file to be expanded include a node
  • name: the name of the .zip file


Sample

<component type="ResourceFile">

<resourceFiles>
<basePath>DesktopModules\MyModule</basePath>
<resourceFile>
<name>resources.zip</name>
</resourceFile>
</resourceFiles>
</component>

References


Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out