cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Get projectType through CLI

lmazzon
1-Newbie

Get projectType through CLI

Hello,

I need to know the projectType of projects in a sandbox, (meaning if they are build or normal etc.)

Until now I could use the command "si sandboxinfo --sandbox=... --xmlapi"

With Integrity 10.7 --xmlapi has been discontinued and using the same command without --xmlapi doesn't seem to give me the projectType.

Which command should I use for this matter?

Thanks in advance,

Luca.

1 ACCEPTED SOLUTION

Accepted Solutions
tketz
4-Participant
(To:lmazzon)

Hi,

you are right, the --xmlapi is no longer present in 10.7 (why)

For your case there is a simple solution, you don't need the --xmlapi.

Look in the first line of output from si sandboxinfo:

for normal sandbox: Sandbox Name:

for Variant sandbox: Variant Sandbox Name:

for Build Sandbox: Build Sandbox Name:

i hope that helps

alternative you can use the java api....

View solution in original post

1 REPLY 1
tketz
4-Participant
(To:lmazzon)

Hi,

you are right, the --xmlapi is no longer present in 10.7 (why)

For your case there is a simple solution, you don't need the --xmlapi.

Look in the first line of output from si sandboxinfo:

for normal sandbox: Sandbox Name:

for Variant sandbox: Variant Sandbox Name:

for Build Sandbox: Build Sandbox Name:

i hope that helps

alternative you can use the java api....

Top Tags