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
then
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
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.
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.
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
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.
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.
The view was created with a unique id, which to me this is the main view as I had added a list control.
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.
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.
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!