Skip to Content

 

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

 

To report this post you need to login first.

5 Comments

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

  1. 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

    (1) 
      1. 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

        (1) 
  2. 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

    (1) 
    1. Wouter Lemaire 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

      (0) 

Leave a Reply