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

RadEditor ImageManager - View Different Site Collection

16 Answers 151 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Chris Badger
Top achievements
Rank 1
Chris Badger asked on 21 Apr 2011, 12:20 AM
Hello,

I'm wondering if there have been any changes to the SharePoint RadEditor that enables the ImageManager to view libraries across different site collections?  It appears that setting an ImagesPaths to anything outside of the current site collection doesn't work.

This would be extremely useful because we're using the RadEditor to edit content from an administration site collection (requires authentication) that ultimately needs to be displayed on a public site collection (no authentication).  To make this work, the images obviously must reside on the public site collection.

The MOSSImageManager allows you to manually type the path to an alternate site collection in the path input box.  However, this image manager is far inferior to the Telerik one.  Is there any reason why the Telerik one couldn't easily provide an option for this?  SharePoint permissions would still govern accessibility of course, so the individual would need to have permissions to access those other site collections.

Thank you,

Chris

16 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 25 Apr 2011, 10:50 AM
Hi Chris,

Currently RadEditor's ImageManager can access images only from the current site collection. This is the reason why provide the user to use the default asset picker. In order to do this you need to modify the respective ToolsFile.xml or ListToolsFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Just change
<tool name="ImageManager" shortcut="CTRL+G" />
to
<tool name="MOSSImageManager" shortcut="CTRL+G" />
.


Greetings,
Stanimir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Chris Badger
Top achievements
Rank 1
answered on 25 Apr 2011, 05:12 PM
Hi Stanimir,

Thank you for your reply.  I understand that the standard asset picker is available through the RadEditor, but as I mentioned it is far inferior to the one you guys designed.  It is very slow, and does not allow you to manipulate the image in any way prior to insertion. 

I'm curious, is there some technical reason why you don't want the user picking assets across site collections using your ImageManager?  It seems like an easy thing to allow, since the calls into the SharePoint object model would be virtually idential from my experience.

Thank you,

Chris
0
Stanimir
Telerik team
answered on 28 Apr 2011, 03:01 PM
Hello Chris,

Currently this is the way that the content provider is designed. There are security reasons for this decision. What you can do is request the source code of RadEditor for MOSS. I will provide it and explain in which file the content provider is defined. You can use it to create a custom solution, which will have the enhanced by you functionality.

I will log your feature request so we will think on enhancing the scope of the content provider. However I can not  provide with an exact estimation of when such functionality will be implemented.


Best wishes,
Stanimir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Chris Badger
Top achievements
Rank 1
answered on 28 Apr 2011, 06:24 PM
Hi Stanimir,

Thank you for your response.  Regarding your comments on security, wouldn't SharePoint's standard security constraints still be in place when accessing libraries across site collections using your ImageManager?  I assume that any API calls made into SharePoint by your control are done using the identity of the current user, therefore if the current user does not have permission to access other site collections they will be denied if any attempt is made.

However, if the current user has been granted permission to access multiple site collections, then why prohibit them from doing so within your ImageManager?  The standard SharePoint Asset picker allows you to reference libraries across site collections if you have been granted those permissions, so you wouldn't be allowing anything that SharePoint doesn't already allow.

With respect to modifying the Telerik code ourselves, that is definitely an option.  However, we really like to stay away from doing that because it creates problems when trying to upgrade to a newer version of your controls.

Thank you,

Chris
0
Stanimir
Telerik team
answered on 02 May 2011, 11:09 AM
Hi Chris,

Thank you for the raised questions. I logged the desired functionality in our feature requests database. I also created the following public PITs item: Public URL.

Unfortunate I can not give you an exact estimation of when the functionality will be implemented in the control.
If you want the source code of the control, please open an official support thread and I will provide you with it.


All the best,
Stanimir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sumit Kumar
Top achievements
Rank 1
answered on 06 May 2011, 12:03 PM
Hi,

We are having the similar issue on our site. We have two separate site collections http://sitename & http://sitename/en. When we try to use ImageManager on the http://sitename/en it still always open libraries from http://sitename and we cannot navigate to http://sitename/en site collection.

Thank You,
Sumit
0
Rumen
Telerik team
answered on 11 May 2011, 12:32 PM
Hi Sumit,

This is how currently the file browser content provided of the RadEditor's Image manager works. Since the problem is not yet fixed, my suggestion is to temporary use the out-of-the box image editor of SharePoint, e.g.

<tool name="MOSSImageManager" shortcut="CTRL+G" />


Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sumit Kumar
Top achievements
Rank 1
answered on 12 May 2011, 08:20 AM
Hi Rumen,

Thanks for your reply. We have another issue with editor where we are not able to see few icons on the toolbar while editing.

Please see snapshot here.

Regards,
Sumit
0
Stanimir
Telerik team
answered on 13 May 2011, 07:43 AM
Hi Sumit,

Please send me the web.config file of your MOSS site and your ToolsFile.xml and ListToolsFile.xml files. I will review them and advise you further.


Best wishes,
Stanimir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sumit Kumar
Top achievements
Rank 1
answered on 07 Jun 2011, 11:04 AM
Hi Stanimir,

We cannot post our web.config here. Could you please tell me your email id and I'll send you a mail with details.

Thanks,
Sumit
0
Rumen
Telerik team
answered on 09 Jun 2011, 02:02 PM
Hello Sumit Kumar,

You can use the FormatCodeBlock toolbar dialog to paste the contents of the web.config, ToolsFile.xml and ListToolsFile.xml files in the editor. You can also send them to clientservice@telerik.com and post a notification here to check for the e-mail.

Kind regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sumit Kumar
Top achievements
Rank 1
answered on 13 Jun 2011, 11:37 AM
Dear Rumen,

I've mailed the required files.

Thanks,
Sumit
0
Suthep
Top achievements
Rank 1
answered on 14 Jun 2011, 09:47 AM
I also face this problem. According to above,
Can you estimate the release date of  this function?
 I want this funtion implement immediatly because it is my big problem that I am facing right now
By the way,  I want the source code of the control, How can I open an official support thread ?
(please give a link)..

Thank you .
0
Rumen
Telerik team
answered on 15 Jun 2011, 03:13 PM
Hello guys,

Sumit: I examined and tested the provided files and was unable to reproduce the problem which leads me to believe that you are using an older version of RadEditor for SharePoint. My recommendation is to upgrade to the latest RadEditorSharePoint.dll v.6.1.5 (Q1 2010 SP2) one where the problem should not exist.


Suthep: I cannot provide a firm estimate when the requested feature will be implemented.

You can obtain the source code of RadEditor for MOSS only if you open an official support ticket from your account and request it. You cannot open currently a support ticket because your support has expired on 25th of March 2010. We will make an exception for you this time and send you the source code via e-mail. Please, send your request to clientservice@telerik.com.

Best regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sumit Kumar
Top achievements
Rank 1
answered on 16 Jun 2011, 11:39 AM
Hi Rumen,

Thanks for your reply. Things are much better after the upgrade. We still have an issue when we click on MossInsertTable button:

The command MOSSInsertTable is not implemented yet.

And icon is also missing only for this button.

Thanks,
Sumit
0
Stanimir
Telerik team
answered on 16 Jun 2011, 12:15 PM
Hello Sumit,

There is no definition of MOSSInsertTable command in RadEditor for SharePoint 2010 (version 6.x.x). You need to use InsertTable or TableWizard commands. So modify the ToolsFile.xml and ListToolsFile.xml files and replace:
<tool name="MOSSInsertTable" />
with
<tool name="InsertTable" />



Kind regards,
Stanimir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
WebParts for SharePoint
Asked by
Chris Badger
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Chris Badger
Top achievements
Rank 1
Sumit Kumar
Top achievements
Rank 1
Rumen
Telerik team
Suthep
Top achievements
Rank 1
Share this question
or