StyleBooks grammar 编辑

StyleBooks grammar

You can design your own StyleBooks, import them to Citrix ADM, and then use them to create configurations either by using the Citrix ADM GUI or by using APIs. To be able to create your own StyleBooks, you must first understand the grammar and syntax of the different constructs and attributes you can use.

This document describes the different constructs and references you can use while creating StyleBooks.

Click a section, construct, or reference name in the following table to view the details.

  
HeaderImport StyleBooks
ParametersParameters-default-sources construct
SubstitutionsComponents
Optional propertiesHelper components
Properties default sourcesNested components
Condition constructRepeat construct
Repeat-condition constructOutputs
Nested repeatsParent reference
Parameter referenceSubstitutions reference
Components referenceOperations
Variable referenceAlarms
AnalyticsBuilt-in functions
ExpressionsDependency detection
In-place interpolations 

Note

While defining repeat-item, repeat-index, or arguments to substitution functions, do not use the following reserved words to name a user-defined variable, $<var-name>

  • StyleBook, parameters, substitutions, components, properties, outputs, parent, self, operations, analytics, alarms
  • repeat-item, repeat-item-0, repeat-item-1, repeat-item-2
  • repeat-index, repeat-index-0, repeat-index-1, repeat-index-2
  • default
  • roles, role, targets, target
  • context, parent-context, parent_context

For information and examples about how to design your own StyleBooks, see How to Create Your Own StyleBooks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:92 次

字数:6375

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文