SuccessFactors
BTP Configuration
HTML5 Application Registrations
9min
this section will demonstrate how install the html5 applications into the btp sub account that has been integrated into the successfactors system in the previous section sap web ide full stack service if not already enabled, sap web ide full stack service must be enabled in the sub account to enable this, in the sub account navigate to 'services' and then select the tile/option 'sap web ide full stack' and then click ' enable ' security permissions note this section will require the btp command line interface (cli) if you do not have this installed please see the sub section 'btp command line interface' first, permissions must be given to allow configuration of the btp sub account and web applcations to enable security for the web applications, navigate to security >authorizations enter the s user id and click 'show assignments' click 'assign' and then select subaccount 'sap web ide xxx' application di role diadministrator click 'assign' and then select subaccount 'sap web ide xxx' application featurediscovery role devxadministrator next, navigate to the 'members' section of the btp sub account in the members section, click 'add members' enter the user id and select the permissions you want this user account to have the btp sub account next, upload the html5 applications to the btp sub account these applications are supplied in a zip format navigate to applications >html5 applications in the btp sub account and click 'import from file' in the dialog, select the 'sfmydocuments zip' , enter the version number 1 and click 'import' follow the same procedure as above for 'sfdocumentsearch zip' once completed the applications should be listed in the html5 applications screen enable application access note this next step required the btp command line interface (cli) if you do not have this toolset installed, see the sub topic 'btp command line interface (cli)' note the following examples are shown on windows but can be adapted for any other command line/shell open a command prompt/shell and navigate to the 'tools' directory of the btp tools installation setup a properties file (e g config properties ) with the information that will be required for the connection this will make the process easier note for a list of btp host values/locations https //help sap com/docs/sap web ide/825270ffffe74d9f988a0f0066ad59f0/975b3207acf94599a9a48beb36257ebc html account = the id of your btp sub account application = name of the application be registered this process will be done twice, once for sfdocumentsearch and once for sfmydocuments note use one of these values, run the command below, then alter this value and run the command again user = your sap user account if you have a sap universal id you will want to specify your s id, otherwise you can use the email associated with your s id with the command prompt btp cli tools, execute the following command (use your properties file name) neo bat hcmcloud enable application access config properties note if you are not using the properites file method, the full command would be neo hcmcloud enable application access application \<my application> application type java account \<my extension subaccount> user \<user id> host us1 hana ondemand com next, modify the config properties file so that application=sfmydocuments to allow registration of the sfmydocuments application with the command prompt btp cli tools, execute the following command (use your properties file name) neo bat hcmcloud enable application access config properties after registration example register odata connection finally, using the cli register an odata connection (only one required for both applications) edit the config properties file and comment out the application and edit out the application application type properties \#application=sfdocumentsearch \#application type=html5 add a new value for the name of the connection name=sfapps odata neo bat hcmcloud create connection config properties set odata connection in html5 applications for the next step, return to the btp cockpit and navigate to the btp sub account > applications > html5 applications and click the sfdocumentsearch application under 'required destinations' set the 'mapped subaccount destination' next, click the 'versioning' section, under 'history' section select the 'versions' and set the 'mapped subaccount destination' next, register the second html5 application sfmydocuments return to the btp cockpit and navigate to the btp sub account > applications > html5 applications and click the sfmydocuments application under 'required destinations' set the 'mapped subaccount destination' next, click the 'versioning' section, under 'history' section select the 'versions' and set the 'mapped subaccount destination'