Skip to main content
Nintex Community Menu Bar

Web Request Control to get Maximum ID from a list

  • Jun 18, 2020 9:36 AM UTC
  • 3 replies
  • 182 views
  • Translate All

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
  • Jun 23, 2020 8:12 PM UTC
Try this

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

 

Translate

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

Forum|alt.badge.img+4
  • Jun 24, 2020 4:11 PM UTC

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

May I know what is Path or Xpath.

Translate