Hi everybody.
Actually I’m
able to :
Fill a form
that will be saved to a different Library depending on the type of “name” I give
to the form.
So if the
formname is “NonConformity”, it will be saved in by example : http://atx-ee/cr/quality/NonCon
If the
formname is “Azioni Correttive” it will be saved in by example : http://atx-ee3/cr/quality/AC
If the
formname is “PCN” it fill be saved in by example : http://atx-ee3/ProductChangeNotification
Inside
every form there Is a repeated table that contains the Action Plan, so one or more
records that contains tasks that have to be performed by someone.
Those tasks
are actually saved in one place by example : http://atx-ee3/tasks
I have
created a mapping, with mappingname and so I’m able also to select another
place where to save those tasks.
Since I
have let say 10 subsites , one for each project .
The most
affordable ( for me ) solution could be to create a mapping with 10 different
mapping name and select the mapping name at submit time.
Another solution
could be :
Have a
dropdown list that retrieve the sub-site name ( with its GUID and related
informations )
Since the
mapping of the tasks is the same for every site, I could use one single mapping
… ?
Where I
change just the two highlined fields ?
How could I
perform this ?
Which are
the fields that should contain the highlined info or the command ?
<?xml
version="1.0" encoding="utf-16"?>
<myFields
schemaVersion="6.1">
<Mappings
mappingName="Attività">
<Properties>
<Level>0</Level>
<ParentMapping />
</Properties>
<ListCollection useName="true"
ListName="Attività">{90ABED44-BDBA-4ED8-987A-AF2B46326BA4}</ListCollection>
<IsRepeating>true</IsRepeating>
<RepeatingGroup>my:myFields/my:ActionItems/my:Actions</RepeatingGroup>
<Relationships>
<RelatedList />
<RelatedListId />
</Relationships>
<Mapping>
<FormField
IsRichText="false" IsId="false"
IsAttachment="false" IsDate="false"
IsParentId="false">my:ActionTitle</FormField>
<SharePointColumn>Title</SharePointColumn>
</Mapping>
<Mapping>
<FormField
IsRichText="false" IsId="false"
IsAttachment="false" IsDate="false"
IsParentId="false">my:ActionAssignedTo</FormField>
<SharePointColumn>AssignedTo</SharePointColumn>
</Mapping>
<Mapping>
<FormField IsRichText="false"
IsId="false" IsAttachment="false" IsDate="false"
IsParentId="false">my:ActionDescription</FormField>
<SharePointColumn>Body</SharePointColumn>
</Mapping>
<Mapping>
<FormField
IsRichText="false" IsId="false" IsAttachment="false"
IsDate="false"
IsParentId="false">my:ActionDueDate</FormField>
<SharePointColumn>DueDate</SharePointColumn>
</Mapping>
<Batch OnError="Continue">
<Method ID="1"
Cmd="New">
<Field Name="Title" />
<Field Name="AssignedTo"
/>
<Field Name="Body" />
<Field Name="DueDate"
/>
</Method>
</Batch>
</Mappings>
<SharePointListURL>http://atx-ee3</SharePointListURL>
</myFields>
Thank so
much for your help