1

SO I Have the list or libraru URL. Now i am trying to get the title of the list or library. not all the time the URl has the same title has the list or library has here is my example

 https://example.org/siteone/subsiteone/subsitetwo/Lists/ED/DispForm.aspx

here the list url is "ED"

but the list name is Employee Details how do i get the name using rest or jquery

i need to dynamically get the list name

1 Answer 1

0

Try this.

/_api/web/lists?$expand=RootFolder&$select=Title,RootFolder/ServerRelativeURL&$filter=substringof('List1',RootFolder/ServerRelativeURL) eq true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.