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

Link Manager problem

1 Answer 20 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Helge
Top achievements
Rank 1
Helge asked on 04 Sep 2013, 08:55 AM
Hi,

I'm working with a Client that is using RadEditorSharePoint on a SharePoint 2007 solution where in the editor one can add any kind of link manually (f.ex. a mailto link) or choose to browse for a document/page in the SharePoint solution (see Attached screenshots).

Now, the Client has upgraded the site to SharePoint 2010 and also upgraded to the latest Version of RadEditorSharePoint.
Now, when a user chooses to add a link using the editor, a Site Asset dialog (SharePoint) appears, with no possibility to add a external link of any kind. Can only browse for SharePoint-assets (documents, pages, images etc.).

I have tried changing to LinkManager (instead of SPLinkManager) in the ToolsFile.xml file. The Telerik dialog appears where one can add custom links. However, when the user CLICKs the Document Manager, the start path is the current site, with no possibility to navigate up to f.ex. the site colleciton Level (nor any other site).

In the ConfigFile.xml file, I have the following property:
<property name="DocumentsPath"><item>/Documents</item>
According to Telerik's documentation, this should make the dialog start at the site Collection Level. It doesn't.

Is there a different property for the Link dialog or am I just doing something else wrong?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 06 Sep 2013, 11:09 AM
Hi Helge,

First you have a typo in the property setting. It should be:
<property name="DocumentsPaths">
        <item>/Documents</item
</property>

On the scope of the RadEditor's dialogs provided by Telerik, it is limited to the root of the site collection. In general, adding a path to the DocumentsPaths collection starting with / it will lead to the root of the site collection. If the path does not start with / it will be considered relative to the current site.

Regarding the LinkManaer tool, indeed you fingered it out that configuring the tools file with
<tool name="SPLinkManager" text="Insert Link" />
 will enable the SharePoint's default asset picker dialog and
<tool name="LinkManager" text="Insert Link" />
will add the Telerik's dialog.

What you should know is that we have no control over the OOB SharePoint's asset picker dialog.

Regards,
Stanimir
Telerik
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
Tags
WebParts for SharePoint
Asked by
Helge
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or