UpLoadDocumentsPaths Bug?

6 posts, 0 answers
  1. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 19 Oct 2007 Link to this post

    I have the following in my ListConfigFile.XML:
    <property name="DocumentsPaths"> 
        <item>/Download Document/</item>
      </property>
      <property name="UploadDocumentsPaths"> 
        <item>/Download Document/New/</item>
      </property>
    When I open the Document Manager, I see the right location on the Browse Files tab.  However, when I go to the Upload Document tab, I see /Download Document/ rather than /Download Document/New/.  Is this the expected behavior?

    Thanks,
    M.
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 24 Oct 2007 Link to this post

    Hi,

    This is expected behavior. The UploadDocumentsPaths property is not used in the MOSS version of the editor. We use the SharePoint permissions to determine whether the specific user can upload/delete files in the library. Therefore, you only need to set the DocumentsPaths property.

    Sincerely yours,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 24 Oct 2007 Link to this post

    So am I to understand it that there is no way to specify an upload location for documents with the Document Manager in the MOSS version of the editor?  Consider the case where I want users to be able to choose a document link from a centralized library, but I don't want them to be able to add documents there, but rather in a different "holding" area for consideration.

    Also, I've been trying to use both:
    RadEditorManual_7_2_0.chm and
    RadEditorMOSS_4_3.chm
    to try to figure out how to use the full MOSS version.  Is there documentation that is specific to the full MOSS version?  Many of the times when I am getting confused, it's because I'm needing to use RadEditorManual_7_2_0.chm to get at the specifics.

    Thanks,
    M.
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 25 Oct 2007 Link to this post

    Hello Marc,

    As I said, we use the current user's permissions to decide whether they can upload/delete images in a SharePoint library. It is not possible to use the internal editor API (UploadImagesPaths and DeleteImagesPaths), since even if the uploadImagesPaths property is set, we still have to obey the SharePoint permissions. Up to version 4.40, we used the current site to check user permissions. From version 4.40, the editor can read user permissions defined at the list level as well as the site level.


    All MOSS related documentation is located in the RadEditorMOSS_4_3.chm file. Also, you can always see the latest help for MOSS online at http://www.telerik.com/help/radeditormoss/. I suggest that you first check the MOSS help and if you do not find your solution there, move to the normal editor help - http://www.telerik.com/help/aspnet/editor

    Kind regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 25 Oct 2007 Link to this post

    Permissions aside, what if I want to let users add links from the Document library at the root called "Documents".  However, if they want to upload a document, I want to limit them to the folder in thatlibrary called "New Documents".  I'd like to be able to point the Upload function at that folder so that they upload there by default.

    As for the help/documentation (sorry about creating the double thread), there doesn't see to be (for instance) any informaton about the available buttons and parameters in the RadEditorMOSS_4_3.chm file -- it only provides a link to the online help for the ASP.NET version.
  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 31 Oct 2007 Link to this post

    Hi Marc,

    I understand what are you willing to do. However, I am afraid that it is not possible with RadEditor, since its dialogs cannot navigate to a different folder upon clicking on the Upload File tab.

    Regarding the help file for RadEditor for MOSS: indeed it provides a link to the regular ASP.NET control, because they have virtually the same functionality. RadEditor for MOSS is a wrapper, which only provides the needed interfaces for accessing the MOSS libraries and other special features to the inner RadEditor for ASP.NET control. AFAIK there are no limitations for the full version of RadEditor for MOSS, e.g. you can use all buttons and dropdowns the regular RadEditor has.

    All the best,
    Valeri Hristov (Senior Developer, MCSD)
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top