Skip to Content

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

UWL system attribut configuration - defined in: UWLSystems.cc.xml

Hi,

I'm new on the UWL development and currently working on a custom connector. I have added new attributes to the UWLSystems.cc.xml (path in configarchive file: install\meta\lib\com.sap.netweaver.bc.uwl\systems\UWLSystems.cc.xml ) so that backend informations (host ip, port, router etc.) can be configured. After deployment these values can be set in the UWL Systems configurations view.

Here my UWLSystems.cc.xml

BPMConnector is my custom connector.

confHost,confPort,confRouter,confSessionTimeout are my new defined attributes

 <ConfigClass name="UWLSystems" configurable="com.sapportals.config.plugin.default_fs.Configurable">
  <attribute name="name" type="string" mandatory="true" /> 
  <attribute name="confSystem" type="string" mandatory="true" /> 
  <attribute name="connector" type="enum" values="WebFlowConnector,BPMConnector,ActionInboxConnector,AdHocWorkflowConnector,AlertConnector" mandatory="true" default="AdHocWorkflowConnector" /> 
  <attribute name="confGroup" type="string" mandatory="false" /> 
  <attribute name="confWDSystem" type="string" mandatory="false" /> 
  <attribute name="confHost" type="string" mandatory="false" /> 
  <attribute name="confPort" type="string" mandatory="false" /> 
  <attribute name="confRouter" type="string" mandatory="false" /> 
  <attribute name="confSessionTimeout" type="string" mandatory="false" /> 
  </ConfigClass>

Now my question: How can I access these attributes within the api or is there in other way to configure those data?

I hope anyone can help me to solve this problem.

Best regards

Matthias

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