Create Custom Modification Form In VS 2012-Part1

Step1.Add EventHandlingScope Activity Under OnWorkflowActivated

Step2.Add SequenceActivity In EventHandlingScope Activity

Step3.Add EnableWorkflowModification Activity

  a.Bind [ContextData] to a new field

  b.Set [Colorrelation Token] as "Modification" and [OwnerActivityName] as " your workflow name"

  c.Generate guid for [ModificatiomId]

  d.Bind a method to [MethodInvoking]

  

Step 4.Switch to View Event Handles mode of EventHandlingScope

  

Step 5.Add Event Driven Activity in View Event Handles mode of EventHandlingScope

Step 6.Add OnWorkflowModified Activity in Event Driven Acticvity

  a.Bind [ContextData] to the field we create at step3

  b.Keep [Colorrelation Token]  and [OwnerActivityName]  same as step3

  c.Keep [ModificatiomId] same as step3

  d.Bind a method to [MethodInvoking]

  e.Bind [User] to a new field.

  

  

Step7.Modify Element.xml of the workflow

  

    a.Replace the guid string in Modification node

Step8.Verify

  

Create Custom Modification Form In VS 2012-Part1

时间: 2024-10-05 17:02:28

Create Custom Modification Form In VS 2012-Part1的相关文章

Create Custom Modification Form In VS 2012-Part2

1.SPWorkflowModification ContextData is XMLSerialized as String. 2.Get SPWorkflowModification ContextData in modification page protected void GetContexData()        {            SPWeb currentWeb = SPContext.Current.Web;            string strWorkflowI

Using Controls in a Form Design [AX 2012]

Using Controls in a Form Design [AX 2012] This topic has not yet been rated - Rate this topic Updated: January 27, 2012 Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynam

[转]How to Create Custom Filters in AngularJs

本文转自:http://www.codeproject.com/Tips/829025/How-to-Create-Custom-Filters-in-AngularJs Introduction Filter in Angular JS is a way that will help you to represent your data in View in a certain format. There are many inbuilt filters provided by Angular

解决Sharepoint 2010 custom display form 不显示附件的问题

sharepoint 2010用designer添加自定义的 display form默认是不会显示附件的. 需要添加如下代码才会显示附件: <tr> <td width="190px" valign="top" class="ms-formlabel"> <H3 class="ms-standardheader"> <nobr>Attachment</nobr> &

java中如何创建自定义异常Create Custom Exception

9.创建自定义异常 Create Custom Exception  (视频下载) (全部书籍) 马克-to-win:我们可以创建自己的异常:checked或unchecked异常都可以, 规则如前面我们所介绍,反正如果是checked异常,则必须或者throws,或者catch.到底哪个好,各路架构师大神的意见是50对50.见我本章后面的附录.sun公司开始说,checked异常可以使你的系统异常语义表达很清楚.但很多人经过一段时间的实践后,马上表示了异议.checked异常是java独有的,

[Angular2 Form] Create custom form component using Control Value Accessor

//switch-control component import { Component } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR, NG_VALIDATORS, Validators} from '@angular/forms'; @Component({ selector: 'switch-control', templateUrl: './switch-control.componen

[Angular] Create custom validators for formControl and formGroup

Creating custom validators is easy, just create a class inject AbstractControl. Here is the form we want to validate it: form = this.fb.group({ store: this.fb.group({ branch: ['', [Validators.required, StockValidators.checkBranch]], code: ['', Valida

Part 20 Create custom service in AngularJS

Whenever the case changes from lower to upper, a single space character should be inserted. This means the string "AngularVideoTutorial" should be converted to"Angular Video Tutorial". Let us first see, how to achieve this without usin

[Angular] Custom directive Form validator

Create a directive to check no special characters allowed: import {Directive, forwardRef} from '@angular/core'; import {AbstractControl, NG_VALIDATORS, Validator} from '@angular/forms'; @Directive({ selector: `[formControl][no-special-chars], [formCo