Question & Answer
Question
RCP: How to use YCDExtensionUtils.launchTaskInEditor
Answer
How to use “launchTaskInEditor”
method.
1. Open plugin.xml in Plugin Manifest
editor.
2. Go to Dependencies tab and add
com.yantra.pca.ycd.rcp plugin in the required plugin.
3. Import com.yantra.pca.ycd.rcp.exposed.YCDExtensionUtils class
file
4. Form input xml of for the
editor.
5. Launch editor by
passing editor name and input element
YCDExtensionUtils.launchTaskInEditor("YCD_TASK_ORDER_SEARCH",
inXml);
Restart the server and eclipse after
importing the YCDExtensionUtils plugin
[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
HTG2383
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21563210