Skip to main content
Solved

To give port Number from Command Line in Smallworld

  • Mar 22, 2018 2:40 PM UTC
  • 4 replies
  • 74 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

View original
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+26
  • Contributor
  • Best Answer
  • Mar 22, 2018 2:47 PM UTC

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
  • Mar 22, 2018 2:58 PM UTC

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+26
  • Contributor
  • Mar 22, 2018 3:19 PM UTC
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
  • Mar 23, 2018 5:12 AM UTC
Sorry, but never seen that notation.

 

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

 

This will prompt for a value.

 

 

Thanks for update