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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Get projectType through CLI

lmazzon
1-Visitor

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.

ACCEPTED SOLUTION

Accepted Solutions
tketz
12-Amethyst
(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
12-Amethyst
(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....

Announcements


Top Tags