Hi
Have just updated qRules from 4.2 to 5.2
I have used the SubmitToSharepointList in 5-6 solutions with no problem.
After installing the new version I cannot submit to Sp List.
Error message:
Action: SubmitToSharePointList. Arguments: submit: ShPSubmit mapping: mapping1 . Details: Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.. Stack: at Qdabra.Tools.RulesLibrary.Commands.PerformSubmitToSharePointList() at Qdabra.Tools.RulesLibrary.Commands.RunCommand(String commandName) at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()
Mapping:
<?xml version="1.0" encoding="UTF-16"?>
-<myFields schemaVersion="5.2">
-<Mappings mappingName="Work Placement Offers">
<ListCollection ListName="Work Placement Offers" useName="false">{1EEC48CB-DD79-408D-8874-7330CEE5766F}</ListCollection>
<IsRepeating>false</IsRepeating>
<RepeatingGroup/>
-<Relationships>
<RelatedList/>
<RelatedListId/>
</Relationships>
-<Mapping>
<FormField IsDate="false" IsAttachment="false" IsId="false" IsRichText="false">my:myFields/my:Title</FormField>
<SharePointColumn>Title</SharePointColumn>
</Mapping>
-<Batch OnError="Continue">
-<Method Cmd="New" ID="1">
<Field Name="Title"/>
</Method>
</Batch>
</Mappings>
<SharePointListURL>https://studienet.via.dk/sites/uddannelse/dtb/herning/placement</SharePointListURL>
</myFields>
Kind Regards
/Michael