on 04-10-2020 2:30 PM
Hi Experts,
We are using portal service in a cloud platform. Now we want to build a SAP UI5 application (Master Detail page) to get the roles using oAuth authentication from below API URL.
Roles should be displayed in master page and when we click on any role, assigned users should be displayed in Detail page.
Also we would like to assign/un-assign users to the roles from this UI5 application.
I am able to get the data from postman using oAuth(Client ID, Client Secrete) and above API.
Please guide me to develop an UI5 application.
Regards,
Vamshi Krishna.
Hi,
we have similar requirement. we were able to pull the roles and users , but we also wanted the details of applications mapped against the roles. same like master-details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much karsten.voigt
It worked for me. I would like to display roles in SAP UI5 application. How can we get this done in controller.
Regards,
Vamshi krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi karsten.voigt,
Still I am unable to resolve this error. If you find the solution please share.
Regards,
Vamshi Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I acheive it using Ajax calls in controller?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lemaire,
I have created Destination and it showing below error. And I am unable to give this destination while creating application using templates in WEB IDE.
Failure reason: "Unexpected Token Service response code. No response body was returned by Token Service. Check the configuration or contact Token Service owner." Received status code: "401"Regards,
Vamshi Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Start by creating a destination for this api like in this tutorial but with the oauth info: https://developers.sap.com/tutorials/hcp-create-destination.html
Use this destination to generate a master detail app in the SAP Web IDE:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.