简体   繁体   English

在 Palantir Foundry 的 Workshop 中,如何清除之前保存的默认 Workshop 变量值?

[英]In Palantir Foundry's Workshop, how do I clear the default Workshop variable values I saved earlier?

Palantir Foundry's Workshop allows us to save default values for variables using the "save and publish with current variable values as default" button. Palantir Foundry 的 Workshop 允许我们使用“以当前变量值作为默认值保存和发布”按钮来保存变量的默认值。 Can these default values be cleared out or reset?这些默认值可以清除或重置吗?

保存并发布当前变量值作为 Workshop 中的默认按钮

If you want just to change the default to something else, you can choose another option and save with current variables - that will not clear the default, just change it.如果您只想将默认值更改为其他内容,您可以选择另一个选项并使用当前变量保存 - 这不会清除默认值,只需更改它即可。

To reset the default:要重置默认值:

  1. Go to variables转到变量
  2. Choose the dependency graph选择依赖图
  3. Search for the variable搜索变量
  4. Open Debugger on the top right打开右上角的调试器

打开调试器

  1. Clear the value清除值

清除值

  1. Save again with current variables (which will clear the default)使用当前变量再次保存(这将清除默认值)

This is useful if you saved a dropdown list to a value for consistent debugging while developing, and now want to release with the first item in the list, which will chosen by default (if it is clear).如果您在开发时将下拉列表保存到一个值以进行一致的调试,并且现在想要发布列表中的第一个项目,这将默认选择(如果明确),这将非常有用。

Note : Simply using Save and publish will still retain the older default value, so above steps are necessary.注意:简单地使用Save and publish仍然会保留旧的默认值,因此上述步骤是必要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM