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

Usage of Customize Client

Highlighted
Newbie

Usage of Customize Client

I am trying to create a custom action to open windows explorer in my current sandbox location. I can't see to figure out how to specify the sandbox path in the Custom Action view. Is this possible?

Tags (2)
2 REPLIES 2

Re: Usage of Customize Client

Hi Steve,

We did the following:

- code a custom Java Application and start it via a custom Button. It must not be in Java, any language you like will do, but due to the Integrity Java API I think JAVA suits best ;-)

- In the Application or scrip you have to read the process's environment Variables to get the current selection from the GUI. This gives you among others the Files System Path of the selected sandbox.

- if you have Files System Path simply call an Explorer or what ever tool you like

HTH

Re: Usage of Customize Client

We wrote a batch and then we called this batch without any parameter in a custom action:

set WIN=%MKSSI_WINDOW%

set SUBPROJECT=%MKSSI_SUBPROJECT1%

set SMEMBERPATH=%MKSSI_MEMBER1_SANDBOX%

set SBOXPATH=%MKSSI_SUBPROJECT1_SANDBOX%

set NMEMBER=%MKSSI_NMEMBER%

set NSUB=%MKSSI_NSUBPROJECT%

set NFILE=%MKSSI_FILE%

if %WIN%==sandbox GOTO P0

Smiley Tongue0

if %NMEMBER%==0 GOTO P1

if %NMEMBER%==1 GOTO P2

Smiley Tongue1

if %NSUB%==1 GOTO P3

if %NSUB%==0 GOTO P4

Smiley Tongue2

set x=%SMEMBERPATH%

set x=%xSmiley Tongueroject.pj=%

echo %x%

explorer.exe %x%

GOTO END

Smiley Tongue3

set x=%SUBPROJECT%

set x=%x:/=\%

set x=%xSmiley Tongueroject.pj=%

echo %x%

explorer.exe %x%

GOTO END

Smiley Tongue4

set x=%NFILE%

set x=%xSmiley Tongueroject.pj=%

echo %x%

explorer.exe %x%

GOTO END

:END

kind regards, Jens