Dear All,
I have repeating table and i added contact selector inside it, now i want to access the accountid please advise how can i?
In repeating table there will multiple rows and each row have different user selected using contact selector.
My code is :
XPathNavigator AnalysisSubmitted = this.MainDataSource.CreateNavigator();
//for contact selector
XPathNodeIterator
AnalysisRowsContactSel = AnalysisSubmitted.Select("/my:myFields/my:group10/my:AnalysisDetails/my:gpSelectorAnalysis/my:gpContactSelector/my:Person", NamespaceManager);if(AnalysisRows.Count > 0)
{
//foreach (XPathNavigator Node in AnalysisRows)
while(AnalysisRows.MoveNext())
{
string AnalysisAccountID = AnalysisRowsContactSel.Current.SelectSingleNode("my:AccountId", NamespaceManager).Value;
string AnalysisAccName = AnalysisRowsContactSel.Current.SelectSingleNode("my:DisplayName", NamespaceManager).Value;
}
Above code is giving me error..please advise how to resolve this..