This is a migrated thread and some comments may be shown as answers.

Uploading Documetns from my site documet libraries using Radeditor Document Manager

7 Answers 82 Views
Editor
This is a migrated thread and some comments may be shown as answers.
rajesh nagaboina
Top achievements
Rank 1
rajesh nagaboina asked on 23 Oct 2009, 07:21 PM
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.

7 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 29 Oct 2009, 07:09 AM
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.
0
Henrik
Top achievements
Rank 1
answered on 01 Mar 2011, 11:20 AM
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
0
Stanimir
Telerik team
answered on 03 Mar 2011, 08:13 AM
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!
0
Henrik
Top achievements
Rank 1
answered on 07 Mar 2011, 09:18 AM
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).
0
Stanimir
Telerik team
answered on 07 Mar 2011, 10:04 AM
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!
0
Henrik
Top achievements
Rank 1
answered on 07 Mar 2011, 10:11 AM
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)
0
Stanimir
Telerik team
answered on 08 Mar 2011, 08:43 AM
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!
Tags
Editor
Asked by
rajesh nagaboina
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Henrik
Top achievements
Rank 1
Share this question
or