Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sap.suite.ui.commons.ProcessFlow Error

Hi , I am using

sap.suite.ui.commons.ProcessFlow

I have  made a simple javasript view

createContent : function(oController) {

                       

                     return new sap.suite.ui.commons.ProcessFlow({

                          nodes : [

                                   new sap.suite.ui.commons.ProcessFlowNode({

                                       nodeId: "01",

                                       laneId: "01",

                                       title: "Sales Order 1",

                                       titleAbbreviation: "SO 1",

                                       isTitleClickable: true,

                                       state: sap.suite.ui.commons.ProcessFlowNodeState.Positive,

                                       stateText: "OK status",

                                       focused: true,

                                       texts: ["Sales Order Document Overdue long text for the wrap up all the aspects", "Not cleared"]

                                   })

                                   ],

                          lanes : [

                                   new sap.suite.ui.commons.ProcessFlowLaneHeader({

                                       laneId: "01",

                                       icon: "sap-icon://order-status",

                                       label: "In Order",

                                       position: 0

                                       }),

                                   ]

                      })

    }

there is nothing in the controller

but still i am not getting the desired results

Output :

    

I am not getting the lane Header

I tried the XML view from  SAPUI5 Explored

It worked perfectly

is there anything i am missing ?

Tags:
Not what you were looking for? View more on this topic or Ask a question