Skip to Content

In this blog, I am going to share my experience on extending SuccessFactors using SAP Cloud Platform. Over the last few weeks, I had several queries on this topic – Which services in SAP Cloud Platform are required for SuccessFactors extension, where does the extension app get deployed, how do we setup trust between SAP Cloud Platform and SuccessFactors. I myself had couple of questions on how to go about creating a HTML5 based extension app. These questions seemed to be very basic, but for some reason I couldn’t find a comprehensive blog which covers these topics. I will try and explain this in simple terms assuming that people with either SuccessFactors or SAP Cloud Platform knowledge would want to know more about this approach.

Before I get started, here are some useful links to bookmark.

There are also couple of tutorials published in GitHub which show how to build an extension app using Java/SAPUI5.

When you go through the above links, you will notice that they are more relevant when building Java based applications. This would require installing the Command Line Interface which would be used to deploy the app, create destinations in SAP Cloud Platform cockpit and even to create tiles in SuccessFactors homepage.

There are few limitations of using HTML5 apps as compared to Java apps. This is documented in the overall process.

I was dealing with a customer’s requirement that was very simple. Create a HTML5 app which consumes SuccessFactors OData APIs and integrate it within the SuccessFactors homepage. The customer didn’t want to use Java application and hence there was no need to setup Command line interface.

Here are the steps which I have followed. If you plan to do all these steps, you would need access to a SAP Cloud Platform account as well a SuccessFactors tenant for which you have all the relevant admin roles.

Creating and configuring SuccessFactors extension subaccount

 

Navigate to the SAP Cloud Platform global account. In the below screen capture, the name of my Global account is “Trivia”. There is one subaccount with the same name too.

Click on “Integration Tokens” from the menu. By default there would be no entries.

Click on “New Token” to generate an integration token. Make a note of it.

Navigate to the SuccessFactors Provisioning interface and select the Company name.

Navigate to the “Extension Package Configuration” as shown below. You would need to provide the integration token generated earlier. This will trigger the provisioning process.

In few minutes, you will see the status of an extension SAP Cloud Platform subaccount which has been created

If you switch back to the SAP Cloud Platform global account, you will notice that a new subaccount has been created for you. It contains the Company name by default. You can use the pencil icon to change the name of this subaccount.

When you select this particular subaccount and navigate to the cockpit, you will notice that Trust configuration with SuccessFactors tenant has already been defined.

In the Application Identity Provider, SuccessFactors tenant has been registered as the Identity Provider. This means, if I try to launch any application or even SAP Cloud Platform services, it will authenticate me using SuccessFactors credentials.

Next thing which needs to be done is to navigate to SAP WebIDE service and select “Configure Service” link. You need to ensure that you assign the predefined role “Everyone” to WebIDEPermission permission. Only after doing this step, you will be able to launch SAP WebIDE.

Finally, we need to create a destination which will be used by the extension application.

Below are the values I have provided for the above destination.

URL https://apisalesdemo2.successfactors.eu:443/odata/v2
Token Service URL https://apisalesdemo2.successfactors.eu:443/oauth/token
Proxy Type Internet
Audience www.successfactors.com
Client Key <oAuth API Key>
assertionIssuer <oAuth API Key>
companyId <COMPANY NAME>
nameQualifier www.successfactors.com
WebIDEEnabled true
WebIDESystem SuccessFactors
WebIDEUsage odata_gen

The oAuth API key can be obtained from SuccessFactors. I will show you how to obtain the API Key from SuccessFactors in the next part of this blog series.

Part 2 – Creating a HTML5 based extension application using SAP WebIDE

Part 3 – Configuring a Portal site based on SuccessFactors extension template

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Catherine LaCroix

    Hi Murali, I’m Catherine from the Community Experience team. I’ll be including this blog series in the Community Voice  newsletter coming out on Wed., Dec 13 this week. I’d like to suggest you add the links to your other two blogs in the series to this first blog.  You could add the links at the end so readers can find your other two blogs easily.  Thanks again for writing this great blog series. Regards, Catherine

    (0) 

Leave a Reply