Retrieve the custom property bag value using a search query

How can I get the value of the property bag with search RestAPI query.
I tried indexing the properties bag and doing the crawl:

$web.IndexedPropertyKeys.Add("sitetitlelabelkey")
$web.Update()

and when to try:

web.IndexedPropertyKey | Format-List

I see the property "sitetitlelabelkey" as indicated in the search.

But I could not find the search scheme. Not in managed property or crawled property.
and when executing the search query:

https://devd.mm/_api/search/query?querytext=%27(contentclass:STS_Site)%27&rowlimit=500

I found the value of my property bag for the HitHighlightedSummary key, but not for all sites. For some websites, the value is even very high. The key is as follows or has a different text.
Enter image description here

How can I use a search query to determine the value of my web property bag? Use RESTAPI.

sharepoint online – Use tagged content to retrieve all documents with a managed property value

I want to configure the highlighted content web part on a hub site to recover all documents that have a specific value set in a managed properties column.

I can configure a filter or CAML when I point to a single library, but what if I need to integrate all the document libraries into the hub site family

Here I have set up my managed property

Enter image description here

Next, I will configure my HCWP

Enter image description here

Nest I cry when nothing gets fetched :-(. I wonder if this restriction in HCWPs .. Is there a way to see the final query?

Javascript – An attempt is made to retrieve an Excel document via Ajax. This causes asynchronous problems

I'm adding JavaScript to a SharePoint and trying to write a function that retrieves an Excel document or the data it contains from a library. I've already figured out how to do that, but the files in question are too big to be returned. I considered manually setting the size limit for Ajax, but I found no way for Plan B to send a query for each row

$("#button").click(function() {
            readFileRow(libraryUrl, "FileName.xlsx", "Sheet1", 1, "E", ())
            .done(function(cells) {
                console.log(xmlToJson(cells.documentElement));
            });
        });

/**
     * Reads a file in SharePoint Library via ExcelRest and returns the document
     *
     * @params string libraryUrl
     * @params string fileName
     * @params string sheetName
     * @params int rowNum
     * @params string lastColumn
     * @params string()() finalResults
     *
     * @returns string()()
    **/
    function readFileRow(libraryUrl, fileName, sheetName, rowNum, lastColumn, finalResults) {
        var fileUrl = libraryUrl + "/" + fileName + "/Model/Ranges('" + sheetName + "!A" + rowNum + "|" + lastColumn + rowNum + "')?$format=atom";

        return $.ajax({
            url: fileUrl,
            type: "GET",
            error: function (request, status, error) {
                console.log(error);
            },
        }).done(function(data) {
            jsonData = xmlToJson(data.documentElement);
            cells = serializeRange(jsonData);

            if(cells) {
                finalResults.push(cells);
                rowNum++;
                finalResults = readFileRow(libraryUrl, fileName, sheetName, rowNum, lastColumn, finalResults);
            }

            return $.when(finalResults);
        });
    }

As you can see, I'm trying to work around the async problem by calling the function recursively when the request comes back with data, meaning it needs to be executed further. When I place a console.log () just before returning, I can see that it compiles the results the way I need it. However, the readFileRow () call is returned before the process completes and consists of the response of the very first Ajax query, which apparently did not run through the .done () function. I tried to remove the return before the Ajax call, but this results in only one exception, since the return is no longer executable and therefore has no .done () function.

Can someone recognize what's wrong with this feature? Asynchronous functions are not my strength and I am quite at a loss.

Retrieve specific data in Firestore / Firebase (Web / Javascript)

The Firebase / Firestore documentation explains how to read ALL data in a collection.

Enter image description here

However, I have not found a place to explain how to get a particular document from a data collection.

How can I get a specific document from a collection?

For example:
If there are two documents in the User Data collection, User1 and User2, and for each document, they are stored: Name, Last Name, Email Address.

If I only want from the user_data collection of the user2 document, I just bring the name. How would I do that?

How to Retrieve Bitcoin Applications in Production UTXOs

AFIK, UTXO an address can not be retrieved with Bitcoin-Core, without importing the address into the wallet.

  1. How can an application in production receive UTXO?
  2. Does the entire application use indexed databases like Insight or Abe to get UTXO?
  3. Is there a way to retrieve UTXO from the Bitcoin core without importing the address into the wallet?

python – Kivy error: Can not retrieve text provider

I tried to use Kivy for the first few times and I'm testing this code to make it work

import kivy
from kivy.app import App
from kivy.uix.label import Label
class Test(App):
    def Build(self):
        return Label(text='This is code')

if __name__ == "__main__":
    Test().run()

And I get these errors:

(CRITICAL) (Text        ) Unable to find any valuable Text provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ImportError: DLL load failed: The specified module could not be found.
  File "C:UsersThismDocumentsCodingPythonProjectsvenvlibsite-packageskivycore__init__.py", line 63, in core_select_lib
    fromlist=(modulename), level=0)
  File "C:UsersThismDocumentsCodingPythonProjectsvenvlibsite-packageskivycoretexttext_sdl2.py", line 13, in 
    from kivy.core.text._text_sdl2 import (_SurfaceContainer, _get_extents,

pil - ModuleNotFoundError: No module named 'PIL'
  File "C:UsersThismDocumentsCodingPythonProjectsvenvlibsite-packageskivycore__init__.py", line 63, in core_select_lib
    fromlist=(modulename), level=0)
  File "C:UsersThismDocumentsCodingPythonProjectsvenvlibsite-packageskivycoretexttext_pil.py", line 7, in 
    from PIL import Image, ImageFont, ImageDraw

(CRITICAL) (App         ) Unable to get a Text provider, abort.

I've found other people with this problem and tried to reinstall cushions and other dependencies
pip install kivy.deps.glew or pip install kivy.deps.angle
but they have not worked, can anyone help? Thank you very much. 🙂

Algorithms – retrieve the alphabet – Huffman code

Keep in mind that it is necessary to use the Huffman algorithm to obtain the encoding of the alphabet {p, q, r} with the frequencies fp, fq, fr. In each of the following cases, give an example of the frequencies fp, fq, fr that would yield the given code. If you can not get the given code, what is the reason?

        (a) p = 0, q = 10,  r = 11          
        (b) p = 0, q = 1,  r = 00 
        (c) p = 10, q = 01,  r = 00

uri – NOTE: Attempting to use property & # 39; nid & # 39; to retrieve a non-object

In Drupal rsvplist Form RSVPForm-> buildForm () I wrote the following to get the current NID:

$node = Drupal::routeMatch()->getParameter('node');
$nid = $node->nid->value;

I get this error:

Note: An attempt is made to use the property & # 39; nid & # 39; of a non-object in retrieve
Drupal rsvplist Form RSVPForm-> buildForm () (line 30 of
modules custom rsvplist src Form RSVPForm.php).

I am a new module developer. How do I get the current NID in Drupal 8?

PHP – Implement AJAX to retrieve pages or posts in a custom WordPress design

I like using Ajax to get the content of a WordPress page in my custom templates. I have read that it is necessary to forward the entire call to retrieve or retrieve data about admin-ajax.php from WordPress. I am a bit confused as to how to proceed. For example, if I want to retrieve the content of a post because I want to display it, I need to set up a call to admin ajax or a call to a function file that contains the post content. PHP Query? Someone leads me.

Sorry for the stupid question, I've never used Ajax in my custom themes or in WordPress in general.
first I try to use that get_template_part() Function to load custom HTML code and WP loops, but not suitable for certain themes or app themes where Ajax is smoother and more user-friendly.

An example of my code:







// here fetch the content inside a div instead of using the loop directly



Is the REST API a good approach?