Default 要素 (WorkflowActions)
最終更新日: 2015年3月9日
適用対象: SharePoint Foundation 2010
この記事の内容
属性
子要素
親要素
Default 要素はその他の要素のコンテナであり、定義可能な属性はありません。
注意
Default 要素は既定の WSS.ACTIONS ファイルからのみ読み込まれ、カスタム .ACTIONS ファイルで上書きできません。
<Default>
<RuleDesigner>
<FieldBind>
<Option>…</Option>
</FieldBind>
</RuleDesigner>
</Default
属性
なし |
子要素
親要素
コメント
SharePoint Designer 2010 などの宣言型の、コードなしワークフロー エディターを使用してワークフローを作成する場合、サーバーにインストールされた .ACTIONS ファイルが項目の単一のリストに結合され、ワークフロー エディターに表示されます。その後、Microsoft SharePoint Foundation 2010 が既存のワークフローの条件を検索します。SharePoint Foundation 2010 が .ACTIONS ファイルのエントリにない条件を見つけた場合、Default 要素文がその条件として表示されます。
例
以下の XML は、Default 要素をワークフロー エディタで表示できるように構築する方法を示します。
<WorkflowInfo Language="en-us">
<Conditions And="and" Or="or" Not="not" When="If" Else="ElseIf">
<Condition
AppliesTo="list"
Assembly="MyWorkflowProject.Workflow1
PublicKeyToken=71e9bce111e9429c,
Version=1.0.0.0,
Culture=neutral"
ClassName="MyWorkflowProject.Workflow1.MyClass"
FunctionName="IsOrderComplete"
Name="Check if item in %1 is a complete order"
Type="Custom"
UsesCurrentItem="True">
<RuleDesigner>...</RuleDesigner>
</Condition>
<Default>
<RuleDesigner Sentence="the file type is %1">
<FieldBind ID=1 Field="_1_" Text="specific type" DesignerType="Type">
<Option></Option>
</FieldBind>
</RuleDesigner>
</Default
</Conditions>
</WorkflowInfo>
関連項目
概念
その他の技術情報
Conditions 要素