none
Help with xml in RCDC RRS feed

  • Question

  • I have a xml datasource in the RCDC. Below is a sample.

    <findDepartments>
      <findDept Code="Department 1" Name="Department 1" />
      <findDept Code="Department 2" Name="Department 2" />
    <findDepartments>

    Here is the attribute reference. I have to rename Department 1 to Department 3 and that should modify the value of the users having Department 1 to Department 3.

    <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=FindDepartment1.Required}"/>
    <my:Property my:Name="ValuePath" my:Value="@Code"/>
    <my:Property my:Name="ItemSource" my:Value="{Binding Source=findDepartment, Path=/findDepartments/*}"/>
    <my:Property my:Name="SelectedValue" my:Value="{Binding Source=object, Path=FindDepartment1, Mode=TwoWay}

    Thanks in advance.


    • Edited by fim_sc Tuesday, December 3, 2013 3:47 PM
    Tuesday, December 3, 2013 3:10 PM

All replies

  • Hello,

    Changing the XML data will not automatically update users.

    To do that, you need to use set, worflow and MPR:

    • Create a Set with filter /Person[FindDepartment1="Department 1"]
    • Create an action workflow (with run on policy update), Choose Function evaluator and target to attribute "FindDepartment1" and choose string value "Department 3"
    • Create a Transit In MPR, with the set and WF created before

    Regards,


    Sylvain

    Tuesday, December 3, 2013 5:09 PM