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

Remote Views from external servers in Mist

2 Answers 36 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
DC
Top achievements
Rank 1
DC asked on 06 Jan 2014, 06:36 AM
Hi,

I'm not sure if I'm doing something unsupported, but it looks like you cannot preview remote views from 3rd party servers in Mist. The aim is to generate Kendo UI markup on a server and then render as part of the client app.

It works correctly in Icenium Ion on IOS 7.0 (It successfully loads the remote Kendo code)


Example code (last link)

<div data-role="footer">
            <div data-role="tabstrip">
                <a href="#tabstrip-home" data-icon="home">Home</a>
                <a href="#tabstrip-login" data-icon="contacts">Login</a>
                <a href="#tabstrip-location" data-icon="search">Location</a>
        <!--        <a href="#tabstrip-weather" data-icon="globe">Weather</a>-->
                <a href="http://external-server/custom_code.htm"  data-icon="globe">Remote File</a>
            </div>
        </div>


When clicking the link in Mist, it comes up with the below error : 

Possible CORS error!
  • Tips:
  • -Check your request url
  • -Use Graphite
  • -Debug on device


2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Jan 2014, 12:46 PM
Hi,

You would have this error only in Mist as it is a browser based i.e. your requests are coming from icenium.com and CORS issues would arise. For more information refer to this forum post.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Iva Koevska
Telerik team
answered on 17 Apr 2014, 03:03 PM
Hello,

If you're using the in-browser client in Chrome, you can get the Telerik AppBuilder Helper for Chrome which enables Ajax CORS requests for the device simulator to spare you the CORS errors.

You can get it from here. The team plans to bring more improvements in the Helper in the future, so keep an eye on it.

Regards,
Iva Koevska
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
Report a bug
Asked by
DC
Top achievements
Rank 1
Answers by
Steve
Telerik team
Iva Koevska
Telerik team
Share this question
or