New answers tagged

1

Your request should be using GetByName instead of GetByTitle So your request should be: https://mycompany.sharepoint.com/sites/testsite2/_api/web/sitegroups/getbyname('TestGroup')/users/getbyemail('john.theuser@mycompany.com') Reference: https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn531432%28v%3doffice.15%...


0

How to update a person field using spHttpClient A few things to note: Before doing the actual update you must ensure the user Id of the user, this is what you will input as the field value. You must add Id to your field name. If the field name is Personyou should use PersonIdin the update body. private updatePeopleField(username: string, listname: string, ...


2

TextX, NumberX, .... are not available for reporting and - unfortunately - you can't even use it in a formula of an Enterprise Custom Field. From client, you are able to import a field like MyText1=[Text1] without error. But this formula will not work. https://social.technet.microsoft.com/Forums/en-US/32d910ae-dfac-405b-9580-b8cac20e4da0/query-fields-like-...


0

The Url of the designated "default" or "home" page is stored in a property named WelcomePage. To retrieve this value from a REST call, perform a GET "<<subsiteurlhere>>/_api/web/rootfolder?$select=welcomepage". Since it is a GET request, you can even test this in the browser, for example: https://xxxxx.sharepoint.com/sites/abc/subweb1/_api/...


Top 50 recent answers are included