Skip to main content
1-Visitor
September 30, 2014
Solved

Open file in sandbox view via CLI with file selected

  • September 30, 2014
  • 2 replies
  • 2155 views

Hello

I am looking for a CLI command to open a file in the sandbox view with the file selected.

The command "si viewsandbox --gui" opens the sandbox view but I could not find a way to get a specific file selected with all the other files visible.

si viewsandbox --gui $file will only display $file.

The option --selectionFile seems not to work.

Many thanks

Kind Regards

Thierry

    Best answer by mrump

    Hi Thierry

    as far as I know that is not possible.

    The option --selectionFile is (similar to other CLI commands) only an alternative way to enter your selection to the command; in this case the sandbox(es) in question.

    HTH Matthias

    2 replies

    mrump16-PearlAnswer
    16-Pearl
    September 30, 2014

    Hi Thierry

    as far as I know that is not possible.

    The option --selectionFile is (similar to other CLI commands) only an alternative way to enter your selection to the command; in this case the sandbox(es) in question.

    HTH Matthias

    5-Regular Member
    September 30, 2014

    HI Thierry.

    This is not currently possible in the sandbox view using the CLI invocation you are using.

    You can make use of the --filter=file:expression

    ...option to specify a membername to narrow down the members visible in the resulting sandbox view, but the membername still won't be preselected within the view.

    You likely want to open a Support case to ask for a future RFC to be considered. (That won't help you now unfortunately though)

    Also, we do have an RFC logged for the ability for member selection to be done by starting to type a membername, if that would assist in your use-case somehow.