forms web requests xpath result gives duplicates

  • 24 August 2021
  • 0 replies
  • 15 views

Badge +5

Hello, I am using a web request control to mimic the 'related items' section as this is no longer possible after our 2013 -> 2019 migration.

 

The query is working fine, I am receiving the correct results, only after adding the XPath expression the results display double.

 

The setting to the web request:

19398i88B3089979DC3FD2.png

 

When running the request it shows the proper XML outcome

19399i21429CA40AC46426.png

 

When adding the XPath expression it shows the correct values, I guess.
(Sum is a calculated column)

19400i4CF2F0214501C7C9.png

Only on the form itself everything shows up double:

19402iB2E057A8E9C6705A.png

When changing "XPath for display" from "//z:row/@ows_Sum" to "//z:row/@ows_Title" I get ever stranger results on the form:

19401i2FAFDC41D1BE7AAF.png

 

Should I change my XPath expression or is something else incorrect? I need it to be like image 4 and without the duplicate data.

 

Thank you.


0 replies

Be the first to reply!

Reply