on 09-17-2014 7:24 PM
Hello,
I am trying to display a dashboard from my custom app via an OpenDocument link. The dashboard can be displayed with no problems. The question is how can I avoid the login screen?
The user is already logged in to my app, no need to show the login page for the SAP BO Mobile Server. I have seen solutions for it that use the Java SDK (CrystalEnterprise.getSessionMgr().logon) but I am wondering how I can do the same from an iOS device.
Thanks,
Guven.
In other words, how can I retrieve the 'token' or the 'serSes' values so that I can pass them as parameters in the OpenDocument URL?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Guven,
I can think of two scenarios
One - When you have username and password and you want to use API to logon. And then get the token and use the same session to logon.
In this case you can get IEnterpriseSession of BOE using following API
ISessionMgr mgr = CrystalEnterprise.getSessionMgr();
IEnterpriseSession es = mgr.logonEx(username, password, cmsServer, authType, logonInfo);
Second - You don't have username/password however you have the session token, and you want to use that to logon.
In this case you can get IEnterpriseSession of BOE using following API
ISessionMgr mgr = CrystalEnterprise.getSessionMgr();
IEnterpriseSession es = mgr.logonWithTokenEx(token, logonInfo);
Once you have token you need to add that to http session object.
httpSession.setAttribute("boe_session", es);
After this, your open document link should work.
Regards,
Ashutosh
Hello Ashutosh,
The BO REST API would be a very good solution, I hadn't heard of that before.
I have looked around for any documentation and come across this link: http://scn.sap.com/docs/DOC-38841. Unfortunately, I am not authorized to view this page.
Do you have any pointers for the REST API?
Thanks,
Guven.
Hi Guven,
I'm trying to embed Webi view in my iOS application with the latest SAP IB SDK (MOBSBOPIOSSDK600_3-80000036). However, it always report getDocumentFailed with the message "Document with given CUID does not exist". I double checked that CUID exists and the corresponding webi report supports mobile.
Here's the code and any suggestions are highly appreciated:
[_mobiOperation getDocumentView:@"DacD254GGjtVDs7DCI1HXY67" type:WebIntelligenceDocument additionalProps:@{REPORT_INDEX: @"0"}];
Can you help me?
Thanks in advance!
Regards,
You can have a look at section 3.3.1
https://help.sap.com/businessobject/product_guides/boexir4/en/xi4_bip_rest_ws_en.pdf
Hope that helps.
Regards,
Ashutosh
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.