Alfresco
  1. Alfresco
  2. ALF-8192

Better integration of CIFS with Alfresco Share

    Details

      Description

      Currently (as Alfresco 3.4d) the integration between CIFS and Share is somewhat quirky...

      One point is that exporting a single share at 'Company Home' doesnt make sense, as the user sees (and has access) to areas he should not have! My current best practice is to define one org.alfresco.filesys.repo.ContentContext for each site created in Share, exporting only the documentLibrary/ folder of that side:

      <!-- OFFICE share -->
      <bean id="fs.OFFICE" class="org.alfresco.filesys.repo.ContentContext">
      <property name="sysAdminParams">
      <ref bean="sysAdminParams" />
      </property>
      <property name="deviceName">
      <value>OFFICE</value>
      </property>
      <property name="storeName">
      <value>$

      {spaces.store}

      </value>
      </property>
      <property name="rootPath">
      <value>/$

      {spaces.company_home.childname}

      /$

      {spaces.sites.childname}

      /cm:office/cm:documentLibrary</value>
      </property>
      .....
      </bean>

      This works quite well, but introduces an ugly dependency between (static) fileserver configuration and (dynamic) creation of sites in Share
      It would be nice to have some dynamic mapping here, for example automagically creating a share (or a virtual path within some share) for each
      created site in Alfresco Share.

      Second point is that the dynamically created "__Alfresco.url" file is less useful when Share client is in use, as the link always points to Alfresco Explorer, which may
      confuse users which are expecting their Share client - this is currently hardwired in PseudoFileImpl.java:

      if ( isCIFS && ctx.hasURLFile())
      {
      // Make sure the state has the associated node details

      if ( fstate.hasFilesystemObject())
      {
      // Build the URL file data

      NodeRef nodeRef = (NodeRef) fstate.getFilesystemObject();
      StringBuilder urlStr = new StringBuilder();

      urlStr.append("[InternetShortcut]\r\n");
      urlStr.append("URL=");
      urlStr.append(ctx.getURLPrefix());
      urlStr.append("navigate/browse/workspace/SpacesStore/");
      urlStr.append( nodeRef.getId());
      urlStr.append("\r\n");

      It would be nice to have this configurable to point to some Share location... (maybe by adding some template parameter in config and passing that to MessageFormat)

        Activity

        Hide
        Mark Rogers added a comment -

        Both points have been addressed in 4.0

        Show
        Mark Rogers added a comment - Both points have been addressed in 4.0
        Hide
        Ravi Manthena added a comment -

        Use Head-QA build 187 to test this issue.

        Show
        Ravi Manthena added a comment - Use Head-QA build 187 to test this issue.
        Hide
        Alfresco QA Team added a comment -

        Successfully validated on Alfresco Enterprise v4.2.0(r55087-b1473) schema 6033; RHEL6.4 X64; client: Windows7 x64, FF23
        SvetlanaVi

        Show
        Alfresco QA Team added a comment - Successfully validated on Alfresco Enterprise v4.2.0( r55087 -b1473) schema 6033; RHEL6.4 X64; client: Windows7 x64, FF23 SvetlanaVi

          People

          • Assignee:
            Closed Issues
            Reporter:
            Andreas Wollschlaeger
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: