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

UpLoadDocumentsPaths Bug?

5 Answers 51 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 19 Oct 2007, 03:30 PM
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.

5 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 24 Oct 2007, 07:24 AM
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
0
Marc
Top achievements
Rank 1
answered on 24 Oct 2007, 01:30 PM
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.
0
Lini
Telerik team
answered on 25 Oct 2007, 12:15 PM
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
0
Marc
Top achievements
Rank 1
answered on 25 Oct 2007, 01:03 PM
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.
0
Valeri Hristov
Telerik team
answered on 31 Oct 2007, 11:01 AM
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
Tags
WebParts for SharePoint
Asked by
Marc
Top achievements
Rank 1
Answers by
Lini
Telerik team
Marc
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or