Announcement Announcement Module
No announcement yet.
Using remote endpoint/proxy as simple integration Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using remote endpoint/proxy as simple integration

    I want to do a quick and dirty integration using an iframe in an Alfresco Share page. Of course the user browsers will be more happy if I could use the proxy feature of Spring Surf.
    So if I define
    (not the actual site I'm going to connect to)
    <config evaluator="string-compare" condition="Remote">
    <name>Loftux - unauthenticated access</name>
    <description>Access to Loftux</description>

    I can use /share/proxy/loftux to load data into the iframe.
    That all works well, except for that all hyperlinks will be wrong, they are all relative (or absolute depending on web site) to the endpoint-url.
    So navigation "breaks" when following links in the iframed page.

    Is there a way to re-write hyperlinks returned from the remote endpoint?
    The site in question I want to integrate is very simple, and just have to co-exist with Alfresco for less than a year. It doesn't have a public api, so doing a real integration isn't an option. That why I wanted to try a simple iframe "integration".