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
  • 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 Jul 1 '15 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 – Col.Cook Jul 1 '15 at 9:27
0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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