How do we link in our .jsp code so it runs inside a portal p

Posted by Rollbase User on 03-Aug-2011 15:59

We're trying to link in our .jsp pages using a portal page. Is there a way to link it in (without a 'click here URL') so that our page appears inside the portal page? We've tried with hosted files, but it's just displaying the actual java code, not running it. Once we've done this, we want to code our app to use one of the APIs to save and read information from rollbase... can you suggest which API would be better used here? Thanks, Earl

All Replies

Posted by Admin on 03-Aug-2011 16:33

You can create iframe withing Rollbase page and point source URL for that iframe to external page. Use ScriptComponent to do that.



Hosted files are not supposed to run external JSP code on Rollbase servers.

Posted by Admin on 04-Aug-2011 16:13

Thanks - that helped. We're on our way.



When using a portal page, is there a way to get the current user's session ID so we can use the REST API?



Do any of your sample Apps have something we can look at for this?



Thanks,



Earl

Posted by Admin on 04-Aug-2011 17:09

On portal (or regular) UI page you can use Rollbase client-side API which includes AJAX calls to backend. Please check out Chapter 7 for more info.

This thread is closed