0

I am trying to make a call to the REST service in Javascript to collect the 'DefaultNewFormUrl' for a specific list.

The property is "not returned with the resource" so I need to make a separate call for it but I cant figure out what the URL is that I require, can anyone help please, I have tried the below with no luck.

http://<Site URL>/<Web Name>/_api/web/List/<List Title>/DefaultNewFormUrl
2
  • First of all it's /Lists/, secondly what do you mean by <List Name>? You need to query for the list, e.g., with ID or Title
    – eirikb
    Commented Jul 1, 2015 at 8:57
  • I don't need all the lists I just need the property "DefaultNewFormUrl" from a single list. And sorry I wrote that wrong I am using the List.Title Commented Jul 1, 2015 at 9:27

1 Answer 1

0

I think you just got the URL wrong, try this:

_api/Web/Lists/GetByTitle('<List Title>')/DefaultNewFormUrl
0

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.