UiPath Documentation
apps
latest
false
旧版 Apps 用户指南
重要 :
有关 Studio Web 中的应用程序项目文档,请参阅 Studio Web 文档中的“应用程序项目”一章:https://docs.uipath.com/zh-CN/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web。 请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

日期选取器

常规

  • “值绑定”- 将日期选取器绑定到 RPA 流程参数或应用程序字段。可以在运行时动态解析此属性。
  • “提示文本”- 配置在运行时显示的控件帮助文本。
  • 默认日期- 配置控件的默认日期
  • 标签- 要在控件旁边显示的文本。如果“验证”部分的“必需”属性设置为=true,则文本后也会有一个星号*
  • 必需- 如果设置为=true ,则此控件为必需控件。还会在运行时配置的标签文本后添加星号*
  • 必需的错误消息- 当“必需”属性设置为=true并且控件留空时要显示的文本。
  • “工具提示”- 要在日期选取器上显示的工具提示。使用此选项可提供有关控件的其他信息。
  • Hidden- If selected, hides the control in the runtime.
  • “已禁用”- 如果选中,则在运行时禁用该控件。
备注:

当日期从 Apps 运行时发送到机器人流程自动化 (RPA) 流程时,应用程序服务会将所选日期转换为 UTC 时区,然后再将其发送到流程。因此,在流程中,应使用“日期时间”数据类型的ToLocalTime参数将收到的日期转换为本地时区。否则,可能会导致用户在 Apps 运行时选择不同的日期。

Events

  • “值已更改”- 配置在值更改时会发生的情况。

样式

  • Control Alignment - By default, inherits the parent alignment. A different alignment other than the parent can be set. To default to Parent's alignment, toggle the selected alignment icons to switch off the specific alignment.

    备注:

    Alignment is dependent on Parent's layout (Vertical vs. Horizontal).

  • 标签放置” - 默认情况下,标签设置为“行”并显示在控件的左侧。您也可以通过选择行对齐方式将其放置在控件上方。

  • Label font family - Sets the font of the label. Font family, size, color, and style (Bold, Italic and Underline) can be configured in this section. By default, the control inherits the font family of its immediate parent container which is indicated by the keyword 'inherited'.

  • Input font family - Sets the font of the input text. Font family, size, color, and style (Bold, Italic and Underline) can be configured in this section. By default, the control inherits the font family of its immediate parent container which is indicated by the keyword 'inherited'.

  • Margin- Sets the margin of the control. By default 4px margin is set. Top/Bottom and Left/Right margin properties are combined. These properties can be unlinked using the unlink button on the right side of the Margin section heading.

  • “大小”- 可以在“大小”部分中设置控件的宽度和高度。默认情况下,大小设置为“自动”。

    “最小宽度”/“最小高度”和“最大宽度”/“最大高度”可在“大小”部分的“更多”(…) 下找到。

  • “背景颜色”- 设置日期选取器的背景。

特定于位置的格式

要在 Google Chrome 中以特定于您的语言环境的格式查看日期,请按照以下步骤操作:

  1. 在 Google Chrome 中转到以下地址: chrome://settings/languages

  2. 添加缺少的语言。

  3. 将语言移至所列语言的顶部。

  4. 重新启动 Google Chrome。

  5. 重新打开您的应用程序并进行预览。

  6. 在“日期选取器”控件中选择日期。日期现在应以特定于您的语言环境的格式显示。

  • 常规
  • Events
  • 样式
  • 特定于位置的格式

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新