Skip to main content
Solved

To give port Number from Command Line in Smallworld


I need to Dynamically change the Port Number in Workbench from Command Line before starting the FME workbench based on the Smallworld session

Best answer by erik_jan

You can publish the parameter that contains the port number (right click the parameter and create user parameter) and then use the parameter on the command line, like:

fme.exe myworkspace.fmw --portparameter 3000

View original
Did this help you find an answer to your question?

4 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • March 22, 2018

You can publish the parameter that contains the port number (right click the parameter and create user parameter) and then use the parameter on the command line, like:

fme.exe myworkspace.fmw --portparameter 3000


  • Author
  • March 22, 2018
erik_jan wrote:

You can publish the parameter that contains the port number (right click the parameter and create user parameter) and then use the parameter on the command line, like:

fme.exe myworkspace.fmw --portparameter 3000

Thanks,

 

Is there any chance to define the Port number from CMD line like mentioned below

 

fme.png

 


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • March 22, 2018
vioarx wrote:
Thanks,

 

Is there any chance to define the Port number from CMD line like mentioned below

 

fme.png

 

Sorry, but never seen that notation.

 

An option is fme.exe myworkspace.fmw --portparameter %1

 

This will prompt for a value.

 

 


  • Author
  • March 23, 2018
erik_jan wrote:
Sorry, but never seen that notation.

 

An option is fme.exe myworkspace.fmw --portparameter %1

 

This will prompt for a value.

 

 

Thanks for update

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings