CRX and CQ come with WebDAV support that lets you display and edit the repository content. Setting up WebDAV gives you direct access to the content repository through your desktop. Office and PDF files that are dropped into the repository through the WebDAV connection are automatically full-text indexed and can be searched with the standard search interfaces through the standard Java APIs.

Note

The instructions for using WebDAV for CRX and CQ are identical. The only difference is that CQ generally runs on port 4502 by default. Also see instructions for uploading digital assets

Connecting to WebDAV

Detailed Windows and MacOS instructions are included in this section, but essentially to connect to the default workspace of your repository using the WebDAV protocol, you point your WebDAV client to the following location:

http://localhost:7402/crx/repository/crx.default
file

CRX displays the repository content as follows:  

  • A node of the type nt:folder is displayed as a folder. Nodes below the nt:folder node are displayed as the folder content.
  • A node of the type nt:file is displayed as a file. Nodes below the nt:file node are not displayed, but form the content of the file.

When you use WebDAV to create and edit folders and files, CRX creates and edits the necessary nt:folder and nt:file nodes. If you plan to use WebDAV to import and export content, try to work with nt:file and nt:folder node types as much as possible.

Note

Before setting up WebDAV, please check the Technical Requirements as appropriate - CRX and CQ.

Note

In CRX, you can also find instructions for setting up WebDAV on Windows and MacOS by launching CRX and clicking Work with content from desktop on the CRX Launchpad.

WebDAV URLs

The URL for the WebDAV server has the following structure:

URL part http://<host>:<port> /<crx-webapp-path> /repository /<workspace>
Example http://localhost:7402 /crx /repository /crx.default
Description Host and port, on which CRX runs Path for the CRX repository webapp Path to which WebDAV servlet is mapped Name of the workspace mapped throught this path.
By changing the workspace element in the path, you can map workspaces other than the default one (crx.default); for example, to map a workspace named staging, use the following URL:
http://localhost:7402/crx/repository/staging

Additionally, when the CRX Launchpad module is installed and enabled, CRX provides an additional, simplified WebDAV URL to connect to:

http://localhost:7402/
This URL, when mounted from the operating system level, provides WebDAV access to the default workspace (crx.default). While being simpler for the user, it does not give them the additional flexibility of specifying workspace names.

Note

The simplified CRX Launchpad URL (for example, http://localhost:7402/) is mapped to the WebDAV server module from the CRX Launchpad application. While this module is served by the same underlying WebDAV server implementation as the one in CRX repository, it might be configured slightly differently (for example, with regard to how JCR nodes are mapped to files and folders while copying content from and to the repository). These differences should not impact the majority of use cases.

Setting up WebDAV for Windows

Note

If you are setting up WebDAV for Windows Vista, WebDAV requires Service Pack 2 and some modifications to the registry. See CRX WebDAV client technical requirements or CQ WebDAV client technical requirements for detailed instructions.

Note

Windows 2003 running SP2 requires manual configuration in order for WebDAV to function. See CRX WebDAV client technical requirements or CQ WebDAV client technical requirements for more information.

To set up WebDAV in a Windows environment:

1. In My Computer, click My Network Places.

file

2. Click Add a Network Place to start the wizard.

3. Select Choose another network location and click Next.

file

4. Type http://localhost:7402/crx/repository/crx.default and click Next.

Note

If CRX is located on another port, use that port number instead of 7402. Also, if you are not running the content repository on your local machine, replace localhost with the respective DNS or IP address.

file

5. Enter username admin and password admin. Initially, Day recommends that you use the pre-configured admin account for testing.

file

6. Enter a name for the connection and click Next.

file

7. Windows indicates that you have successfully added the network place. Open the network place to access your CRX repository.

file

Setting up WebDAV for MacOS

To set up WebDAV with MacOS:

1. Navigate to any Finder window and click Go and Connect to Server, or press Apple+k.

2. In the Connect to Server window, type http://localhost:7402/crx/repository/crx.default. CRX prompts you for authentication.


file

Note

If CRX is located on another port, use that port number instead of 7402. Also, if you are not running the content repository on your local machine, replace localhost with the respective DNS or IP address. 

3. Enter username admin and password admin. Initially, Day recommends that you use the pre-configured admin account for testing.

MacOSX has now mounted CRX as a volume and you can use it like any other drive.

Setting up WebDAV for Linux

To set up WebDAV with Linux (Gnome):

1. In Nautilus (file explorer), select Places and select Connect to Server.

2. In the Connect to Server window, select WebDAV (HTTP) in Service Type.

3. In Server, type http://localhost:7402/crx/repository/crx.default.

Note: If CRX is located on another port, use that port number instead of 7402. Also, if you are not running the content repository on your local machine, replace localhost with the respective DNS or IP address.

4. In Folder, type /dav.

5. Enter your username admin. Initially, Day recommends that you use the pre-configured admin account for testing.

6. Leave the port blank and enter any name for your connection.

7. Click Connect. CRX prompts you for your password.

8. Enter the password and click Connect. Linux GNOME has now mounted CRX as a volume and you can use it like any other drive.

 

To set up WebDAV with Linux (KDE):

1. Open the Network Folder wizard.

2. Select WebFolder (webdav) and click Next.

3. In Name, type a connection name.

4. In User, type admin. Initially, Day recommends that you use the pre-configured admin account.

5. In Server, type http://localhost:7402/crx/repository/crx.default.

Note: If CRX is located on another port, use that port number instead of 7402. Also, if you are not running the content repository on your local machine, replace localhost with the respective DNS or IP address.

6. In Folder, type dav.

7. Click Save and Connect. CRX prompts you for your password.

8. Enter the password and click Connect. Linux KDE has now mounted CRX as a volume and you can use it like any other drive.


Your comments are welcome!
Did you notice a way we could improve the documentation on this page? Is something unclear or insufficiently explained? Please leave your comments below and we will make the appropriate changes. Comments that have been addressed, by improving the documentation accordingly, will then be removed.

COMMENTS

  • By J.Mak - 11:54 PM on Apr 05, 2012   Reply
    I have CQ5 server.bat running in localhost:4502, in Windows 7.

    In Add Network Location, I typed: http://localhost:7402/crx/repository/crx.default as described in Step 4 of "To set up WebDAV in a Windows environment:.

    I got an error: "The folder you entered does not appear to be valid. Please choose another". I tried 4502 and it didn't work either.

    What suggestions do you have?
    • By alvawb - 11:15 AM on May 07, 2012   Reply
      Try adding this step:
      By default Basic Authentication for WebDAV is disabled on Windows 7 and should be enabled. In order to
      enable it, the following entry in the registry has to be updated to 2 or greater:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel

      Possible values:
      2 or greater - Basic authentication enabled for SSL shares and for
      non-SSL shares

      You'll need to reboot. Hope that helps.
      • By William Clement - 1:13 AM on Feb 09, 2013   Reply
        Modifying the registry will also be necessary in Windows Server 2008, but the registry element will only be present once "Desktop Experience" is enabled.

        To enable Desktop Experience, open Server Manager > Features > Add Features > Desktop Experience.

        After a reboot, the registry entry should present: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel

        Modifying the value to 2 should allow you to map a drive, or network location to http://localhost:<port>/crx/repository/crx.default
        • By alvawb - 6:57 PM on Feb 15, 2013   Reply
          Thanks for your feedback. I'll open an issue to have this information included in documentation.
    • By Mani - 4:45 AM on Apr 27, 2012   Reply
      I'm getting the same error as above while trying to setup WebDAV in Windows 7.

      Any idea?
      • By alvawb - 7:57 AM on May 23, 2012   Reply
        Please see the reply above.
      • By Matheus - 8:13 PM on May 22, 2012   Reply
        The same error.
        Using CQ 5.5 (believing that this is the reason).

        • By alvawb - 7:58 AM on May 23, 2012   Reply
          Please see the reply above.
        • By Peter - 3:51 PM on May 30, 2012   Reply
          From http://blogs.adobe.com/dekesmith/

          Using WebDAV

          By default, CRX/CQ allow WebDAV connections. With any WebDAV client, point to the CRX/CQ WebDAV endpoint at http://<host>:<port>/crx/repository/crx.default. I have a laptop with Windows 7 64 bit. WebDAV does not work with that operating system so I had to download a WebDAV client. My personal preference for a WebDAV client is CyberDuck (http://cyberduck.ch).
          • By aheimoz - 6:28 AM on May 31, 2012   Reply
            Thanks for your feedback.
          • By Jason Lavergne - 6:13 PM on Jun 28, 2012   Reply
            Setting up WebDAV for Windows 7

            1.Download and install Cyberduck
            2.Run Cyberduck and click Open Connection
            3.In the drop-down list select "WebDAV (Web-Based Distributed Authoring and Versioning)
            4.Copy http://localhost:4502/crx/reposadsitory/crx.default to "Server"
            5.Uncheck checkbox "Anonymous Login"
            6.Enter admin for your "Username"
            7.Enter admin for your "Password"
            8.Click "Connect"
            • By Alexandre COLLIGNON - 8:58 AM on Jun 29, 2012   Reply
              Hi Jason,
              Thank you for your feedback about this third party webdav client.
              Alex.
              • By Sara - 10:10 AM on Oct 06, 2012   Reply
                I have downloaded Cyber duck and able to connect to CRX and see the structure and files there. But it does not let me download any files from CRX. I wanted to download a couple of jars file and every time I did that, it threw error 'Not found'. For example http://localhost:4502/crx/repository/crx.default/libs/sling/install/org.apache.sling.scripting.jsp-2.0.14.jar worked well and could download jar when passed as address URL in browser but trying to download the same from Cyberduck returned 'not found' and download failed. Cyberduck shows all the CRX content correctly.
                • By aheimoz - 6:18 AM on Oct 08, 2012   Reply
                  Thanks too for your feedback about this third party webdav client.

                  Our CQ5 forum is also a prime location for exchanging ideas and experiences related to CQ:
                  http://forums.adobe.com/community/digital_marketing_suite/cq5
                  Hope that helps.

              ADD A COMMENT

               

              In order to post a comment, you need to sign-in.

              Note: Customers with DayCare user accounts need to create a new account for use on day.com.

              ***