How to add tabs/sections on service portal view and make them dynamic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2018 12:07 PM
Hello there,
Can sections/tabs be added dynamically to show when select another field (Choice) in Service Portal. For example if there are multiple containers to be shipped then it will be two tabs and each tab will contain fields for each container to be filled/completed. Will greatly appreciate any input.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2018 11:13 PM
Bootstrap tabs can be added using code found here: https://getbootstrap.com/docs/3.3/javascript/#tabs
or here: https://angular-ui.github.io/bootstrap/#!#tabs
If your choice field data is bound to the model (i.e. using ng-model), you could use ng-repeat on the tabs to dynamically create based on your selected number. Depending on what content you need on each tab, you could repeat that as well. The important part is to link the tab to the tab content via the href="#messages" and the id="messages".