2642873 - Error Message "The outport you've choosen, does not contain a stable anchor. Please select a different."

SAP Knowledge Base Article - Public

2642873 - Error Message "The outport you've choosen, does not contain a stable anchor. Please select a different."

Symptom

You are navigating on UI Designer and trying to add an EC (EC stands for Embedded Component) View to a Standard View. You use the Extensibility Explorer to properly add the EC to the view, but when you tried to apply the changes you receive the error message:

The outport you've choosen, does not contain a stable anchor. Please select a different.

Environment

  • SAP Hybris Cloud for Customer.
  • SAP Business By Design.

Reproducing the Issue

  1. Login on SDK (SDK stands for SAP Cloud Application Studio).
  2. Open Solution YABCD123_ (YABCD123_ stands for your custom solution).
  3. Click on tab Administrator and select Open UI Designer.
  4. Go to tab Configuration Explorer.
  5. Search or find the Standard UI View that you want to add the EC and double click on it to open.
  6. Click on tab Extensibility Explorer.
  7. Click on button Add View with embedded Component.
  8. In field Tab Title, provide any relevant name that you want.
  9. In field Embedded Component, click on the box with three dots [...] and select the EC that you want to add.
  10. In field Title, provide any relevant name that you want.
  11. Click on button Bind.
  12. Select an OutPort and an InPort that you want to use.
  13. Make the proper bind between OutPort parameters and Inport Parameters, by selecting then and clicking on button Bind.
  14. Click on button OK.
  15. Click on button Apply and you received the error message:

The outport you've choosen, does not contain a stable anchor. Please select a different.

ErrorMessage.png

Cause

The current OutPort that you selected during the Add EC wizard do not have a Stable Anchor. This means that the OutPort was not released by SAP to be used on custom implementation. You can only add UI components to Standard UI screens if the current section of the screen has a Stable Anchor for the respective action that you are trying to do (Change Properties, Add EC, Add Mashup, Add Extension Field). In the current situation, the OutPort do not have any Stable Anchor that UI Designer could use to bind the new EC to the OutPort. When dealing with Standard UI Screens you can only select and use Standard OutPorts where its name starts with "PublicOutport...". These OutPorts have Stable Anchors and can be used by partner on their implementations.

PublicOutPort.png

Resolution

Only use Standard's OutPorts where its name starts with "PublicOutPort..." as these are the only OutPorts with Stable Anchor provided.

See Also

More information can ben found on the SAP Community Blog: Embedded Component as a facet in the standard UI.

Keywords

UI Designer; EC; Embedded Component; Extensibility Explorer; Stable Anchor; Outport; Add; , KBA , AP-RC-UIF-RT , UI Framework Runtime , How To

Product

SAP Business ByDesign all versions ; SAP Hybris Cloud for Customer all versions