New command: Create crawled properties for SharePoint online using CLI
Usage
m365 spo search add crawlproperty [options]
Description
It helps to configure & mapping crawled properties for SPO Search eventually which would be used in query and the conditions.
Options
| Option | Description |
|---|---|
-i, --name <Name> |
The name of the crawled property |
Additional Info
Thanks for the suggestion, @SekThang. Do you have any more information about the underlying API to use for this command to complete the spec?
For the name, we should put the add verb at the end to match our naming convention, like spo search crawledproperty add. For the options, we should align the short name with the long name, so rather than having -i, --name, we should use -n, --name. Also, the property name between angle brackets should match the long option name, like --name <name>
Sure @waldekmastykarz I will check about API and other specifications.👍
Could you please give me some time?
Of course! Thank you!
Hi @SekThang, did you find time to dig into this? Or do you know if or when you will be able to pick it up? Just checking in!
Resetting as available for picking due to lack of response
What is the context of this issue? As far as I know, you cannot create a crawled property since these get automatically created by the index? 🤔
That was exactly my question. If that's not possible, then I suggest we close this issue
It would be interesting however to be able to set managed properties programmatically. (Ie RefinableString01 etc)