In XPages Design Definition how can I get the name of the custom control. I found
<%=this.viewName %>
but that doesn't work for me.
At this stage this is not possible based on the response above. I have to manually achieve this by typing in the name of the custom control.