Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

Breakout Smart Template....Add custom view (.xml and .js ) in Smart Template.. SAP WEB IDE

$
0
0

Hi All,

 

for creating standard SMART TEMPLATE  from SAP WEB IDE follow this blog.

 

Create Smart Template Project.........SAP WEB IDE

 

To enable some grid table and object view

 

Manage Smart Template (List View and Object View ) using Annotations file...

 

For adding some custom controls using Annotation.

 

Adding Controls on Smart template  using Annotations...SAP WEB IDE

 

 

Breakout Application in Smart Template by adding some custom view for adding some  custom controls using XML and JS code.


Step 1: create Smart Template from SAP WEB IDE

 

 

 

1.jpg

 

 

Step 2: Select Services

1.jpg

 

Step 3: Select Entity Set and click on finish.

1.jpg

 

Step 4: open your project folder in WEB IDE.

1.jpg

Step 5: Create a folder on ext and in side folder create again folder and add file same as highlighted in snapshot.

1.jpg

Step 6: open manifest.json and add extension code for routing .

1.jpg

Step 7: ext/controller/CustomFilter.fragment.xml .


               I am Adding FilterBar in List View.

1.png


Step 8: ext/controller/CustomFilter.Controller.js

1.png



Step 9: Save it and run project:

Untitled.png

SO its was the HOW TO ADD Breakout SMART Template PROJECT .


Thank you


Virendra Soni



Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>