You are creating a custom workflow action to be used in Microsoft SharePoint Designer reusable workflows.
The action programmatically creates a SharePoint site named Site1 at a specific URL. The workflow actions schema file contains the following code segment.
<WorkflowInfo>
<Actions Sequential=”then” Parallel=”and”>
<Action Name=”Create Site”
ClassName=”SPDActivityDemo.CreateSite”
Assembly=”SPDActivityDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a4a7a2c3215a71b”
AppliesTo=”all”
Category=”Test”>
<Parameters>
<Parameter Name=”Url” Type=”System.String, mscorlib” Direction=”In” />
<Parameters>
</Action>
</Actions>
</WorkflowInfo>
You need to ensure that users can specify the URL property of the action in SharePoint Designer.
What should you add to the schema of the action?
A.
<xml version=”1.0″ encoding=”utf-8″>
B.
<Option Name=”equals” Value=”Equal”/>
C.
<Parameter Name=”Url” Type=”System.String, mscorlib” Direction=”Out” />
D.
<RuleDesigner Sentence=”Create site at Url %1.”>
<FieldBind Field=”Url” Text=”Url of site” Id=”1″ DesignerType=”TextArea” />
</RuleDesigner>
Explanation:
MNEMONIC RULE: “SharePoint Designer = RuleDesigner”RuleDesigner Element (WorkflowInfo)
http://msdn.microsoft.com/en-us/library/bb897951.aspx