cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

New command: Create crawled properties for SharePoint online using CLI

Open SekThang opened this issue 4 years ago • 5 comments

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

SekThang avatar Dec 16 '21 12:12 SekThang

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>

waldekmastykarz avatar Dec 16 '21 12:12 waldekmastykarz

Sure @waldekmastykarz I will check about API and other specifications.👍

Could you please give me some time?

SekThang avatar Dec 18 '21 14:12 SekThang

Of course! Thank you!

waldekmastykarz avatar Dec 21 '21 11:12 waldekmastykarz

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!

martinlingstuyl avatar Jul 15 '22 20:07 martinlingstuyl

Resetting as available for picking due to lack of response

waldekmastykarz avatar Sep 05 '22 17:09 waldekmastykarz

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? 🤔

nicodecleyre avatar Apr 21 '23 22:04 nicodecleyre

That was exactly my question. If that's not possible, then I suggest we close this issue

waldekmastykarz avatar Apr 22 '23 13:04 waldekmastykarz

It would be interesting however to be able to set managed properties programmatically. (Ie RefinableString01 etc)

martinlingstuyl avatar Apr 22 '23 18:04 martinlingstuyl