Closed mkm17 closed 18 hours ago
@mkm17 I wonder if we need a separate command for that. Seems like additional proprties that could be retrieved as part of model get
command? What if we would have some additional option like --listPublications
flag that when specified in the model get
would retrieve this as an additional output. That way this separate command won't be needed.
I am very interested in your opinion on that? I wonder if it will be 'visible' and easy to find functionality for others 🤔 a sperate command if for sure always easier to find than an setting/option in an existing command 🤔
@pnp/cli-for-microsoft-365-maintainers what do you think?
@Adam-it good idea, we can merge both commands into one :) then we can just close this issue.
@Adam-it good idea, we can merge both commands into one :) then we can just close this issue.
awesome. Lets update the model get
command that with new option.
I will close this issue then 👍
Usage
m365 spo stx model publications list [options]
Description
Retrieves information about a model and the library where it has been applied.
Options
-u, --siteUrl <siteUrl>
-i, --uniqueId [uniqueId]
-t, --title [title]
Examples
Gets information about a model and the library where it has been applied, using the model’s UniqueId:
Gets information about a model and the library where it has been applied, using the model’s Title:
Default properties
Additional Info
This endpoint should be used -> https://learn.microsoft.com/en-us/sharepoint/dev/apis/syntex/rest-getmodelandlibraryinfo