RadEditor ImageManager - View Different Site Collection

17 posts, 0 answers
  1. Chris Badger
    Chris Badger avatar
    8 posts
    Member since:
    Jan 2007

    Posted 20 Apr 2011 Link to this post

    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
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 25 Apr 2011 Link to this post

    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.


  3. Chris Badger
    Chris Badger avatar
    8 posts
    Member since:
    Jan 2007

    Posted 25 Apr 2011 Link to this post

    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
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 28 Apr 2011 Link to this post

    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.

  5. Chris Badger
    Chris Badger avatar
    8 posts
    Member since:
    Jan 2007

    Posted 28 Apr 2011 Link to this post

    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
  6. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 02 May 2011 Link to this post

    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.

  7. Sumit Kumar
    Sumit Kumar avatar
    5 posts
    Member since:
    May 2011

    Posted 06 May 2011 Link to this post

    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
  8. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 11 May 2011 Link to this post

    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.

  9. Sumit Kumar
    Sumit Kumar avatar
    5 posts
    Member since:
    May 2011

    Posted 12 May 2011 Link to this post

    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
  10. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 May 2011 Link to this post

    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.

  11. Sumit Kumar
    Sumit Kumar avatar
    5 posts
    Member since:
    May 2011

    Posted 07 Jun 2011 Link to this post

    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
  12. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 09 Jun 2011 Link to this post

    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.

  13. Sumit Kumar
    Sumit Kumar avatar
    5 posts
    Member since:
    May 2011

    Posted 13 Jun 2011 Link to this post

    Dear Rumen,

    I've mailed the required files.

    Thanks,
    Sumit
  14. Suthep
    Suthep avatar
    2 posts
    Member since:
    Jan 2009

    Posted 14 Jun 2011 Link to this post

    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 .
  15. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 15 Jun 2011 Link to this post

    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.

  16. Sumit Kumar
    Sumit Kumar avatar
    5 posts
    Member since:
    May 2011

    Posted 16 Jun 2011 Link to this post

    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
  17. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 16 Jun 2011 Link to this post

    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.

Back to Top