sap-cloud-platform

Capture IDP User attributes in SAP cloud foundry app via SDK UserAccesor API

僤鯓⒐⒋嵵緔 提交于 2020-08-26 04:51:25
问题 I wanted to capture user attributes coming from SAP IDP(Identity & Authentication tenant service like department,salutation ,company etc ,via UserAccessor SDK api,but although those attributes are set and has value in IDP user and all the integration with IDP and sub account is in place post authentication ,user attributes object is empty ,i am only able to retrieve specific attributes like first names ,last name,email address ,user groups etc via JWT and UserAccessor api ,but no luck with

SFSF OData call: Failed to convert response into ODataFeed: An 'EdmSimpleTypeException' occurred

心已入冬 提交于 2020-03-05 06:06:33
问题 Following the problem from question: Generate VDM for SFSF using Java in SAP Cloud SDK: Generated URI is wrong I generated a Virtual Data Model from a metadata file from SFSF using the Maven plugin and SAP Cloud SDK for Java. The generator works correctly, however the URI generated is not what SFSF is expecting: Generated URI: /odata/v2/SFODataSet Expected URI: /odata/v2 or /odata/v2/JobRequisition (SFODataSet entity does not exist, and SFSF gives an error when trying to access it). Anyway, I

Generate VDM for SFSF using Java in SAP Cloud SDK: Generated URI is wrong

徘徊边缘 提交于 2020-03-03 06:58:26
问题 I'm trying to build an app that reads info from SFSF. For this, I'm using the Virtual Data model generator tool (the maven plugin) with SFSF OData metadata to be able to access the system. I'm following these steps: Get a project via archetype (with powershell): mvn archetype:generate "-DarchetypeGroupId=com.sap.cloud.sdk.archetypes" "-DarchetypeArtifactId=scp-cf-tomee" "-DarchetypeVersion=RELEASE" Add the following to the application\pom.xml In dependencies: <dependency> <groupId>org

UsingjQuery.sap.includeScript().then() in HCP Firori Launchpad

被刻印的时光 ゝ 提交于 2019-12-29 09:49:26
问题 I'm trying to include googlemaps in sapui5 jQuery.sap.includeScript({ url: "https://maps.googleapis.com/maps/api/js?key=XXXX", promisify: true }).then(function() { ... } ) This Promise works fine when I run in hanatrial webide, But when I deploy it to hana cloud platform it is not working. The error message it gives me is : InterceptService.js:1 Uncaught (in promise) TypeError: u.indexOf is not a function(…) sap.ushell.cloudServices.interceptor.InterceptService._invokeFilters @

Fiori Launchpad HCP launch shell plugin before create component

我怕爱的太早我们不能终老 提交于 2019-12-25 08:41:32
问题 Introduction I am running a testshell project as "Shell plugin" in the HANA Cloud Platform Fiori Launchpad . When I visit the Launchpad in the default front page (with all the tiles), the shell plugin is loaded right. My shell plugin modifies some things in the navigation URL's, so I must ensure, that the shell plugin is loaded before the applications ' Component.js is loaded. Problem But, when I start the Fiori Launchpad with a specific intent (for example https://HCP_URL/hrtest#requestleave