Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. result-view {
  2. match: Metric (metric) {
  3. from-output: ListMetrics
  4. }
  5. message {
  6. template ("What data metrics are you looking for?")
  7. }
  8. render {
  9. layout {
  10. section {
  11. content {
  12. partitioned {
  13. content {
  14. for-each (metric){
  15. as (m) {
  16. title-area {
  17. slot1 {
  18. text {
  19. value ("#{value(m.metrics)}")
  20. style (Title_S)
  21. }
  22. }
  23. }
  24. }
  25. }
  26. }
  27. }
  28. }
  29. }
  30. }
  31. }
  32. }
  33.  
  34. result-view {
  35. match: Profile (profile) {
  36. from-output: GetProfiles
  37. }
  38. message {
  39. template ("What profile would you like?")
  40. }
  41. render {
  42. layout {
  43. section {
  44. content {
  45. for-each (profile){
  46. as (view) {
  47. title-card {
  48. title-area {
  49. halign (Start)
  50. slot1 {
  51. single-line {
  52. text {
  53. style (Detail_L_Soft)
  54. value ("Account: #{value(view.acctName)}")
  55. }
  56. }
  57. }
  58. slot2 {
  59. single-line {
  60. text {
  61. style (Detail_M_Soft)
  62. value ("Web property: #{value(view.webName)}")
  63. }
  64. }
  65. }
  66. slot3 {
  67. single-line {
  68. text {
  69. style (Title_S)
  70. value ("Profile: #{value(view.viewName)}")
  71. }
  72. }
  73. }
  74. }
  75. }
  76. }
  77. }
  78. }
  79. }
  80. }
  81. }
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement