Installation Instructions

Start by opening Visual Studio Command Prompt


Then use gacutil tools to Add the copylistitem assembly in cache (figure 1).
  • gacutil /i copylistitem.dll


Gacutil.jpg
figure 1

Then copy below lines in WSS.ACTIONS :

The WSS.ACTIONS file is installed by default in the following location in Windows SharePoint Services 3.0:
%WSSRoot%\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\Workflow
<Action Name="CopyListItem"
        ClassName="CopyListItem.actCopyListItem"
        Assembly="CopyListItem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a21173324752133"
        AppliesTo="all"
        Category="GNCO">
        <RuleDesigner Sentence="copy From Source Site Url %1 Item %2 to %3 on %4 .">
            <FieldBind Field="SrcUrl" Text="Source Url" Id="1" DesignerType="TextArea" />
            <FieldBind Field="ListId,ListItem" Text="Item" Id="2" DesignerType="ChooseListItem" />
            <FieldBind Field="DestListName" Text="List Name" Id="3" DesignerType="TextArea"/>
            <FieldBind Field="DstUrl" Text="Site Name" DesignerType="TextArea" Id="4"/>
        </RuleDesigner>
        <Parameters>
            <Parameter Name="SrcUrl" Type="System.String, mscorlib" Direction="In" />
            <Parameter Name="DstUrl" Type="System.String, mscorlib" Direction="In" />
            <Parameter Name="DestListName" Type="System.String, mscorlib" Direction="In" />
            <Parameter Name="ListId" Type="System.String, mscorlib" Direction="In" />
            <Parameter Name="ListItem" Type="System.Int32, mscorlib" Direction="In" />
        </Parameters>
    </Action>


Then copy below line in web.config :

<authorizedType Assembly="CopyListItem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8a21173324752133" Namespace="CopyListItem" TypeName="*" Authorized="True" />


sample Files:
WSS.ACTIONS
web.config

Last edited Dec 25, 2007 at 4:21 PM by Amir_Mahmoudi, version 13

Comments

No comments yet.