4

Unfortunately NO, I did not come across any way to identify which value has caused 400 bad request error. Workaround is to remove column & respective input one by one and check the fields for which you need to make the input in proper format.


3

Try using below endpoint: http://<sitecollection>/<site>/_api/web/lists/getbytitle('Display name of List')/contenttypes OR http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes official documentation: SP.ContentTypeCollection object - REST resource endpoint. Update: Try using something like below to fetch the names ...


2

By default the rest api returns only 100 items. We can add $top=5000 in rest api to solve your issue. /_api/web/lists/getbytitle('Volunteer%20Master%20List')/items?$top=5000 If you have more than 5000 items, we can use the code like below. var url = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('Volunteer%20Master%20List')/items?$top=...


2

If "navB" is the column that is in list B but is a lookup to list A, you want something like this: /_api/web/lists/getbytitle('B')/items?$select=navB/Title,navB/Id,navB/OtherColumn&$expand=navB You want to select which fields from the lookup list that you want returned, then expand the lookup column in this list. If you want the value of the "navA" ...


1

As @Dylan said, when using $expand endpoint you need to mention the column name from List B in $expand and then you can select the column from List A in $select query like below: siteUrl/_api/web/lists/getbytitle('B')/items?$select=navB/navA,navB/Title,navB/Id&$expand=navB Adding to this answer, You cannot expand and select all the columns from List A ...


1

you can insert the below code in script editor to set a custom page as your default/welcome page : REST <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $(document).ready(function(){ SetDefaultPage(); }); function SetDefaultPage() { $.ajax ({ // _spPageContextInfo....


1

You need to use the Folders endpoint something like below: _spPageContextInfo.siteAbsoluteUrl + "/_api/Web/Folders/add('Communications/NewFolderName')" Note: You need to pass the ServerRelativeUrl inside the add method. Official documentation: Working with folders by using REST. Similar question: Creating Folder using REST and JavaScript


1

If you want to use JavaScript to stop workflow for item, we can use JSOM code to achieve it, the following function for your reference. function terminateWorkflow(listId, itemId, subId) { var context = SP.ClientContext.get_current(); var workflowServicesManager = SP.WorkflowServices.WorkflowServicesManager.newObject(context, context.get_web()); ...


1

There is no REST API available to terminate workflows unless you write an API using server code, host and use it in your scripts. Also, if the workflow has to be terminated using external code then it is supposed to be badly written workflow. There is Rest API to start the workflow and get instances but not to terminate a workflow as shown here. I would ...


1

You need to expand People or Group column to get the details associated with that column. Get all items https://site-url/_api/web/Lists/GetByTitle('listname')/Items?$expand=WRNo&$select= WRNo/Title Get specific item https://site-url/_api/web/Lists/GetByTitle('listname')/Items(ItemID)?$expand=WRNo&$select= WRNo/Title Where WRNo is the Person ...


1

You can get it per item: _api/web/lists/getByTitle('Plan')/items(<id of item>)?$select=WRNo/Title&$expand=WRNo/Id or all: _api/web/lists/getByTitle('Plan')/items?$select=WRNo/Title&$expand=WRNo/Id


1

Just as Trevor said, if you are using Office 2016 and later version, you can find the SharePoint Properties button in View tab. It is like this in Office 365 word Some information about it:https://sympmarc.com/2017/11/16/the-new-dip-the-sharepoint-properties-panel-arrives-in-word/


1

Word already has this built-in. Under the View tab in the ribbon, there is a SharePoint button that will retrieve all additional metadata as defined in your columns for the particular library.


1

Just using /_api/web/lists/GetByTitle('TestList')/items?$filter=Id eq '3' or Id eq '4' or Id eq '5'


1

Need to check the Group settings. I think it will work.


1

Goto group setting of 'Team WhatIf' and select everyone option for Who can view the membership of the group? and then try your above code.


1

I agree with Ravi that there isn't any way I know of to get more information, but there is a bit of information there. It mentions input string so one of the columns in the list is expecting a string and either you've mangled a string or your trying to pass a number, boolean, or other value. First instinct is usually to look at the data that is marked as ...


Only top voted, non community-wiki answers of a minimum length are eligible