Question

1
Replies
239
Views
Close popover
Michael Chandler (PAMC001)
Blue Cross Blue Shield of Florida Inc

Blue Cross Blue Shield of Florida Inc
US
PAMC001 Member since 2018 7 posts
Blue Cross Blue Shield of Florida Inc
Posted: March 20, 2019
Last activity: March 20, 2019
Closed
Solved

Extending components in Pega Robotics

I'm trying to extend the DiagnosticsLog component from Pega Robotics Advanced. I've added the DiagnosticsLog component to my global container and selected "Create Type Extension" which created the extension. I can add methods to the extension and they show up as methods on the component that I can use in my automations. What I need to do is access the properties and existing methods on the diagnosticsLog (e.g Log method and Category property). I can't get to work from the extension. Using the Object Browser and looking at the OpenSpan.ExpressTranslators.ExpressExtensionBase there are two properties; Control and NativeControl that I should have access too. Reading some documentation I found NativeControl may not be available since this is not an extension of an Adapter control but the document says Control should always be available (see below).

Creating UI Connectors

Building extensions

All extensions have a Control property. Use this property to access the extended control. Additionally, extensions associated with adapter controls have a NativeControl property. Use this property to operate against the associated native control.

When I try to use the Control property I get a compile error "The name 'Control' does not exist in the current context".

What am I doing wrong?

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.