Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I like to build a custom sandbox workflow action. The action must read a taxonomy field and give me the full path (like id;#value1:value2). Input for this sandbox workflow action is the field value:

< RuleDesignerSentence="Taxonomyfield"> < FieldBind Field="Input" DesignerType="TextArea"Text=" Input " Id="1"/> < FieldBind Field="Output" DesignerType="ParameterNames" Text="Output" Id="2"/> < /RuleDesigner>

Class with code:

public Hashtable WFTest(SPUserCodeWorkflowContext context, string Input) {

Hashtable result = new Hashtable(); TaxonomyFieldValue value = (TaxonomyFieldValue)item[Input]; result["Output"] = value.Label; return result; }

Can you please help me by the class code?

Tanks Stefan

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.