Whether you deploy a
repository internally or use a web-hosting service, the structure
and contents of the repository are the same. A repository can contain
multiple file types, such as graphics, data files, and PDF files.
However, all repositories must contain these XML files:
-
the repository.xml file, which
contains the repository definition.
-
a tasks.xml or a snippets.xml file.
You must have at least one of these files in your repository, but
you could have both. You also could have multiple tasks.xml and snippets.xml
files. These files create the task definitions and the snippet definitions
for the categories that you defined in the repository.xml file.
-
the repository.html file. You use
this file to access the repository outside of SAS Studio. Open this
HTML file in a web browser to validate and test your repository.
Note: To comply
with the same-origin policy, all files must be saved in the same domain.
You cannot have resources in multiple domains. For example, you cannot
create a repository where some of the XML files are in a network directory
and some of the files are in Github.