Skip to Content
Author's profile photo Wouter Lemaire

Create your own SAP Web IDE template – Share your template

 

Finally, share your template. You have two options, you can share your template only with your team or with everyone that’s using the SAP Web IDE.

The first option will be the most common one. You deploy the template to your SAP Cloud Platform account as an UI5 app and create a destination in the same account to that app.

You could also share your template with everyone that’s using the SAP Web IDE. Therefore, you need a special SAP Cloud Platform account. For this kind of SCP account’s, you need to contact the SAP Web IDE team. In this scenario, you need to deploy the template to this special SCP account as a UI5 app. Other developers can create a destination to the template in that SCP account and use it.

Depending on the type of template, the deployment process is a little different. For MTA template:

Build and deploy

https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/54b865d25425437a8215d903f3a434be

Create destination

https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/b309319775964d47a35c8c151401b21d

 

Same for non-MTA features:

Deploy

https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/12cee42c6db9413f9ff3df3686a8ec7e

Create destination

https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/67ec19e337a946439b65ca8e78c95266

 

Want to use my template? Create destination and use the following settings:

URL: https://s0007226202trial-trial-dev-templatesapui5withrouting.cfapps.eu10.hana.ondemand.com/

Description=My Own UI5 Template
Type=HTTP
Authentication=NoAuthentication
WebIDEUsage=feature
Name=MyOwnUI5Template
WebIDEEnabled=true
CloudConnectorVersion=2
URL=https\://s0007226202trial-trial-dev-templatesapui5withrouting.cfapps.eu10.hana.ondemand.com/
ProxyType=Internet

Activate the feature in the SAP Web IDE Full stack:

https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/1023cff60c0e4831b5bff7b4a5f45b92

Enjoy my template!

 

Greetings,

Wouter

 

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Hans Verreydt
      Hans Verreydt

      Hi Wouter,

      Very nice blog!! And very helpful!! Yet, I've following question:

      In my case, I want to use .tmpl files in my generated template (so, after I create a new project, with my own template, I want to use a .tmpl file).

      But, all .tmpl files are "renamed" so the extention .tmpl is removed from the file.

      Can I somewhere exclude some files who are not renamed after the generation that you know?

       

      Thx!

       

      Regards,
      Hans

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      You want to create a template to create templates? try using two times .tmpl for example "file.tmpl.tmpl"

      Author's profile photo Hans Verreydt
      Hans Verreydt

      Almost 😉

      I've a template (from JSDoc) inside my own template. (for customer documentation, in this case, I can create my documentation always with the customer specific documentation template)

      But this template also contains .tmpl files.

      I currently managed this, inside the onAfterGenerate, to create the .tmpl files again, with the content from the existing files (without .tmpl). Afterwards, I removed the existing files from the JSZip. And this works. (because renaming files in JSZip was not so easy)

      2 times .tmpl.tmpl didn't work.

      Regards,
      Hans

      Author's profile photo Hans Verreydt
      Hans Verreydt

      Also another question

      Do you know if it's possible to add a new tab inside the "create project with a template flow" after the "template customization" to have a new screen for customer specific settings?

      Or did you always put everything in that 1 screen?

      Regards,
      Hans

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Not tried yet but it should be possible, some templates have more steps then others. You should be able to do the same. Here you have more documentation about adding your own step: https://sdk-sapwebide.dispatcher.hana.ondemand.com/index.html#/topic/3077337abe2c42b885af557d3ddbedba

      Author's profile photo Hubert Falkowski
      Hubert Falkowski

      Hello Wouter,

       

      I am facing the  issue with newest version of SAPWebIde. When I am testing template on DEBUG mode it is fine, but I can't see my template anyway in productive version in plugins (to activate) or in templates. I tried different WebIDEUsage values, but unsuccessfully. Can you help somehow?

      Best Regards,

      Hubert

      Author's profile photo Melanie Saldua
      Melanie Saldua

      Hi,

       

      I'm having problems with sharing the template. I have downloaded Wouter's project and is trying to build and deploy the extension to NEO. When executing the command for the MTA builder, I'm always having error

      SAP Multitarget Application Archive Builder 1.1.19
      Merging extension descriptor neo-mtaext.yaml
      ERROR: MTA descriptor neo-mtaext.yaml not found

      Hope someone can help.

      Regards,

      Melai