Uploading Documetns from my site documet libraries using Radeditor Document Manager

8 posts, 0 answers
  1. rajesh nagaboina
    rajesh nagaboina avatar
    4 posts
    Member since:
    Oct 2009

    Posted 23 Oct 2009 Link to this post

    Hi I am using Radeditor Moss 5.5 version.
    I need to upload all the documents from all my document libraries which exixts in my subsite.
    I need to give all the document library names in configfile or any other option is there for this to attain.
  2. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 29 Oct 2009 Link to this post

    Hi rajesh,

    You can find information about the document manager in the following help article Document Manager.

    Here is some additional information on how the DocumentsPaths collection works.

    By default, all the libraries from the current site are included in the DocumentsPaths collection.

    When you set path starting without slash (e.g. "DocumentLibrary"), you will refer a local library - library from the current Web. If you set path staring with slash (e.g. /ImagesLibrary), you will refer a library from the SiteCollection (root).

    For example:
    SiteCollection/DocumentsLibrary
    SiteCollection/SubSite1/DocumentsLibrary

    Lets  open the SubSite1 ConfigFile.xml and set the following images path:
    <property name="DocumentsPaths">
      <item>DocumentsLibrary</item>
    </property>
    The DocumentManager will load the SiteCollection/SubSite1/DocumentsLibrary. 

    If you set the path with slash the ImageManager will open the SiteCollection/DocumentsLibrary e.g. 
    <property name="ImagesPaths">
      <item>/DocumentsLibrary</item>
    </property>

    So in your case you need to set all the libraries from your sub site in the ConfigFile.xml or ListConfigFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.

    I hope this helps.

    Regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 01 Mar 2011 Link to this post

    I wrote the following XML in the ConfigFile.xml

    <property name="DocumentsPaths">
         <item>/DocumentsLibrary</item>
        </property>

    When I open the document manager it says "NOT FOUND". So there is no library with this name. Is there a way to set a thing like "*" to get all Libraries?

    I use the MOSS 2007 5.8.6
  4. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 03 Mar 2011 Link to this post

    Hello Henrik,

    By default if you remove the DocumentsPaths setting from the ConfigFile, you will see all the libraries in the current site.
    Regarding the "NOT FOUND" nodes of the treeview, since 5.7.2 version of RadEditor for MOSS you can set the SPOptions-DisplayNotFoundLibraries property to choose if there will me notification if there is no existing library.

    All the best,
    Stanimir
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 07 Mar 2011 Link to this post

    Can you tell me how to use this property?
    But I think this doesn't solve my problem. I want to show all libraries of the root site. This doesn't work:
    "NOT FOUND" is shown then.
    <property name="DocumentsPaths">
     <item>/</item>
    </property>

    Although if I don't set the DocumentsPaths property in the ConfigFile I can't navigate to the root site using the document managers address box. I am not able to delete the "/rs/Archiv" entry (see image attached).
  6. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 07 Mar 2011 Link to this post

    Hi Henrik,

    If you want to see all the libraries in the root of the site collection, you need to list them as items in the DocumentsPaths property setting. For example:
    <property name="DocumentsPaths">
     <item>/Liblrary 1</item>
     <item>/Liblrary 2</item>
     <item>/Liblrary 3</item>
     <item>/Liblrary 4</item>
     ... here you list all the libraries
    </property>

    Unfortunately there is no short way of setting all the libraries from the site collection root.

    All the best,
    Stanimir
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  7. Henrik
    Henrik avatar
    47 posts
    Member since:
    Dec 2010

    Posted 07 Mar 2011 Link to this post

    So if I create a new Library in my root I have to edit the ConfigFile.xml if I want to see the library in the subweb? Is that correct?

    Am I also not able to edit the address box? (see image in previous post)
  8. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 08 Mar 2011 Link to this post

    Hello Henrik,

    So if I create a new Library in my root I have to edit the ConfigFile.xml if I want to see the library in the subweb? Is that correct? - Yes, this is correct. I understand that this is inconvenient, and there is a log in our features requests regarding this matter, however at this point there is no solution for this problem. I will notice this to our developers again, so they might rise its priority.

    Although if I don't set the DocumentsPaths property in the ConfigFile I can't navigate to the root site using the document managers address box. I am not able to delete the "/rs/Archiv" entry (see image attached). - Yes, you cannot navigate to the root of the site collection by default. This is how the content provider is designed.

    What you can do is create your own content provider. Review the following blog:
     http://blogs.telerik.com/stoyanstratev/posts/09-06-17/using_the_radfileexplorer_for_asp_net_ajax_in_a_moss_web_application.aspx

    And the following demo:
    http://demos.telerik.com/aspnet-ajax/editor/examples/dbfilebrowsercontentprovider/defaultcs.aspx





    Regards,
    Stanimir
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top