Payal Nair

Payal Nair

  • NA
  • 79
  • 0

Retrieving xml nodes from a custom config section with nested collect

Feb 23 2021 12:30 PM
Hi,
 
I need help on retrieving element values of the following custom Section in the configuration .
  1. <SecurityAttributeCustomMetadata>  
  2. <attribute displayName="Security : projectname">  
  3. <add collectionTypeName="BasicExperiment" sectionTypeName="Title" fieldName="Metadata" propertyName="ProjectName"/>  
  4. </attribute>  
  5. <attribute displayName="Security : projectNumber">  
  6. <add collectionTypeName="BasicExperiment" sectionTypeName="Title" fieldName="Metadata" propertyName="ProjectNumber"/>  
  7. </attribute>  
  8. <!-- Fields from two section type can be combined together and configure as a single security attribute in the SNB -->  
  9. <attribute displayName="Security : customName">  
  10. <add collectionTypeName="BasicExperiment" sectionTypeName="Title" fieldName="Metadata" propertyName="userName"/>  
  11. <add collectionTypeName="MyExperimentType" sectionTypeName="MySectionType" fieldName="MyFieldName" propertyName="MyPropertyName"/>  
  12. </attribute>
Please help.
Thanks

Answers (1)