Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to load the XML text values in a nfeed custom field from a XML locale file as datasource

Mamta Verma October 8, 2018

I have a XML locale file as data source with sample data as below:

<employees>
		<employee id="1">Johnny Dapp</employee>
		<employee id="2">Al Pacino</employee>
		<employee id="3">Robert De Niro</employee>
		<employee id="4">Kevin Spacey</employee>
		<employee id="5">Denzel Washington</employee>
		
	</employees>

I need to display the text values in my nfeed custom field i.e  Johnny Dapp, Al Pacino etc.

As per the nfeed documentation, providing the XPath: //employee/text() should solve the problem, but I'm getting the below error by the using that xpath

Error (undefined) occurred while contacting server: undefined

I'm able to populate the ids but not the text values..

Is there something I'm missing? Can someone help me with this!

Thanks in Advance

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events