Skip to main content
Solved

To give port Number from Command Line in Smallworld

  • March 22, 2018
  • 4 replies
  • 18 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • 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
  • 5 replies
  • 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

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+22
  • Contributor
  • 2179 replies
  • March 22, 2018
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
  • 5 replies
  • March 23, 2018
Sorry, but never seen that notation.

 

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

 

This will prompt for a value.

 

 

Thanks for update