Sharepoint online: Search the query API to get the birthday date

I am trying to use the sharepoint REST API to get all users' birthdays.

So I am using a tracked property People: SPS-Birthday with managed property RefinableDate00.

Yesterday 08/15/2019 (Thursday) it was working fine, but today when I search for users using the query:

_api/search/query?querytext=*&selectproperties='PreferredName,PictureURL,AccountName,RefinableDate00'&sourceid='b09a7990-05ea-4af9-81ef-edfab16c4e31'

the RefinableDate00 it is empty.

I don't know why this happens, did anyone face this kind of thing before?

Sharepoint online: how to see an item in the list and its linked items in the simplest way?

In SharePoint 2013 and earlier versions, you could have used a URL parameter to filter the web part of the project list by the client ID, but currently, Modern SharePoint does not have the web elements or functionality to do so.

However, you could use an integrated PowerApp. Use the Client as a data source, use a drop-down menu to select the client, then use the Projects as another data source, filter by the selected customer ID and display the results in a gallery.

sharepoint online – error "The object is used in a different context than the one associated with the object". while assigning permissions to the item in the secondary site

I am working on assigning permission groups to the list item that is at the secondary site level.

The same code works well for the top-level site, but an error appears at the secondary site level.

SetPermissionsToDocSet function
{
param ($ context, $ docSetobject, $ groupName, $ role)
try
{

    $groupObj=$context.Site.RootWeb.SiteGroups.GetByName($groupName)
    $context.Load($groupObj)
    $context.ExecuteQuery()


    $roleObj=$context.Web.RoleDefinitions.GetByName($role)
    $roleDefBinding=New-Object Microsoft.SharePoint.Client.RoleDefinitionBindingCollection($context)
    $roleDefBinding.Add($roleObj)

    #Assign permissions 

    $context.Load($docSetobject.RoleAssignments.Add($groupObj,$roleDefBinding))
    $docSetobject.Update()
    $context.ExecuteQuery()

}

catch
{
    Write-Host $_.Exception.Message


}

}

The above code works fine if $ context is the context of the root site. Getting the above error if $ context is the context.unable subsite to add a group to the element of the subsite level list.
Provide the solution as soon as possible.

Restore collection of sites in SharePoint online give error

I want to restore a collection of root sites from the recycle bin in SharePoint online, I get the following error:

I tried using the command below the SharePoint online administration shell

 Restore-SPODeletedSite -Identity https://TheSiteName.sharepoint.com/

I tried using the interface, it didn't work either and it gave me the following error:

Sorry, something went wrong
There is no site in the current site subscription matching the HiddenSiteSelection control's value.

sharepoint online: the Copy link button on the default form does nothing

I have created a list on an SPO site and I want to allow taxpayers to add it using a form. My organization has PowerApps and InfoPath disabled and does not allow site owners to use any type of code, so I cannot customize forms directly

After a lot of tweaks to hide the Title column, the correct columns appear with the correct controls when I click on the "New" button in the list view. However, the "Copy link" button on the form panel does not copy anything. I've tried both Google Chrome (current) and Internet Explorer 11. When you click on the button, the angle brackets "<>" appear superimposed on the gray screen below the button, but no URL is copied.

enter the description of the image here

I have also tried to paste in several applications in addition to browsers in case it could be a problem of type of content, it is not.

So why would "Copy link" stop working?

Is there a known way to manually build the URL when this happens?

Thank you.

css: custom menu width in Sharepoint Online

Battery exchange network

The Stack Exchange network consists of 175 question and answer communities, including Stack Overflow, the largest and most reliable online community for developers to learn, share their knowledge and develop their careers.

Visit Stack Exchange

Sharepoint online: change the date as an information path through JavaScript

I have a 2019 sharepoint site.
On this site I want to change the value of the date in the date field that is built with infopath.

I can do this with JavaScript and apparently everything is fine.
but when I press the save button nothing changes, even when I write the date manually.
while when I choose the date of datePicker and press Save, everything works correctly.

please help me: how can this change?

// dtcontrolId is input date id that use datePicker      

var newDate = pyear + "-" + pmonth + "-" + pday;
$("#" + dtcontrolId).val(newDate);

// after it i call OnClilck event

Sharepoint online: list all folders, subfolders and files by name and path

I am using python with the sharepy module to make requests to sharepoint. I would really like to know how to get all the folders, subfolders and files of a sharepoint site through an http request. I can list folders and files like this:

r = s.get(spo_site + """_api/web/GetFolderByServerRelativeUrl('""" + root_folder + """')/Folders""")

But you need to delve into the folder structure to get the URLs and relative names of the files and folders. I think this would be possible considering that most sites have a button to export to Excel. The reason I want to do this with code is because I need to visit a lot of sites. Please help.

EDIT
Mike Smith's answer answered my question. My code is like this:

r = s.get(spo_site + """_api/web/lists/getbytitle('Documents')/items?$select=FileLeafRef,FileRef&$top=5000)

This works very well, but the limit is 5000 items. I will need much more than this. Is there any solution for this?

Sharepoint server: what happens to the extracted elements when an orphan user is deleted?

So we are in the process of cleaning old orphaned users who are sent email alerts. Is there any inconvenience in removing these orphaned users from a site?

What happens to unprotected / created files by that user? Is there a problem migrating to different versions of SharePoint?

A great list of tasks in Office365 SharePoint online

I want to use SharePoint to manage projects. Logically, this means creating a project site by project, but I also need to show all the tasks of the individual projects on the home page of the main site. I want to be able to define a view in the project task list and use that view on the main site.