Skip to main content
Nintex Community Menu Bar

Web Request Control to get Maximum ID from a list

  • June 18, 2020
  • 3 replies
  • 156 views

Forum|alt.badge.img+1

Hello Folks,

 

Has anyone used a web request to get item from a list? I have had very little success with the Web Request control and I need to make another run at it.

I am confused with xpath for value & xpath for display -

Path for value : //

XPath for display : //

I want to use rest api url to get item ID.

3 replies

Forum|alt.badge.img+4
  • June 23, 2020
Try this

http
://SP/_api/web/lists/getbytitle('YourListName')/Items?$top=1&$orderby=ID desc

 


Forum|alt.badge.img+1
  • Author
  • June 24, 2020
that is ok..url i can manage...
but i m concerned about
Path for value : //
XPath for display : //

Forum|alt.badge.img+4
  • June 24, 2020

The URL gives Json Format and it comes all the item property values .

May I know what is Path or Xpath.