Skip to Content
Author's profile photo Sergio Guerrero

Splash application imported into (trial) HCP

Hello all… This is my second blog of the year and I wanted to share some steps to show you how to import a Build application into the SAP Web IDE.

This blog assumes you have :

1) an account to the Build/Splash tool

2) you have already created and published a Build application

3) a HCP or trial HCP account

First and foremost, thank you for the time to read this blog. Also, there are some pre-reqs which we need to set up on our HCP account in order to be able to import a Build project into our HCP account.

1) Log in to your HCP account (or trial account)

2) click on the Destinations (left panel)

3) Add 2 destinations as shown below

/wp-content/uploads/2016/01/1_864612.png

then

/wp-content/uploads/2016/01/2_864613.png

once these 2 Destinations, please log off and wait 5-10 mins so that your account settings are refreshed by the system. Again, after 5-10 mins log back in.

The next steps once you have logged in is to

1) open the SAP Web IDE.

2) Click on create new project from template

/wp-content/uploads/2016/01/3_864629.png

3) On the template section, select Build Project ( this option will only appear if the 2 Destinations were entered correctly and your account settings were refreshed by the HCP)

Note: if you do not see the Build project option, verify the destinations and also make sure you have published the build project you want to import.

/wp-content/uploads/2016/01/4_864630.png

/wp-content/uploads/2016/01/5_864631.png

The two projects that I can import from below are in fact the 2 projects from my Build account. This validates again that the 2 Destinations were set up correctly on my HCP account.

step3.JPG

/wp-content/uploads/2016/01/7_864634.png

After you have selected finish, then the application will be imported into your HCP SAP Web IDE.

Personally, I verified that I get an index.html file, at least 2 xml views (Page 1 and Page 2 from my build project) and the Component.js file that will contain my router – Actions I set up on the Build project

/wp-content/uploads/2016/01/8_864635.png

Before I look into any of the files, I clicked on Run just to see if my Build application is at least visually working. As I am able to see the same application from Build here, then I went ahead and clicked on my list items just to make sure the router was set up correctly.

/wp-content/uploads/2016/01/9_864636.png

Then, on this image I am validating, that the views were imported correctly ( in the views folder) and also project.json file contains the application settings.

/wp-content/uploads/2016/01/10_864637.png

/wp-content/uploads/2016/01/11_864638.png

The view was created with a unique id, which to me this is the main view as I had added a list control.


/wp-content/uploads/2016/01/13_864640.png


Then the next view is the Page 2 as I noticed the icon toolbar as one of the controls in the view. Again, this is just for me to verify that the views were created correctly.


/wp-content/uploads/2016/01/12_864639.png

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Martin Gerritsen
      Martin Gerritsen

      Nice blog! I've managed to setup the configuration and imported a BUILD project into WEBIDE.

      There was only one step you didn't describe (or i didn't follow your procedure 😉 ). After creating both destinations, i've waited for 10 minutes and logon to my WEBIDE environment. While creating a new project from template, i didn't see the BUILD template button. I needed to go within the WEBIDE to tools -> preference -> plugins -> optional plugins -> repository WEB_IDE_PLUGIN (same as created destination) -> enabled the import_build_prototype plugin. After refreshing the browser, the BUILD template came available 🙂 .

      PS: Do you also get a "peer not authenticated" failure while checking the WEB_IDE_PLUGIN connection? I've notice that you have to authenticate your self while importing the BUILD project within WEBIDE.

      Author's profile photo Sergio Guerrero
      Sergio Guerrero
      Blog Post Author

      HI Martin,

      I may not have stated the 10 min wait but I did mention to log off completely and back on after a few mins. If I skipped the step on preferences, sorry about that.

      Regarding the peer not authenticated step.. I do not remember if that happened or not. I may have happened once but after a second time it was alright. I didn't know if it was issues w caching / too early or just happened.

      glad you were able to follow and get some help from the blog. awesome!