Key Property

The Key property is available on all interrogated controls and it is null by default. When working with cloned controls (UseKeys set to True), the Key property is set to the GUID for the target. In the following automation, the CRM NewChild MDIChild window has the UseKeys property set to True since multiple instance of this window can be open and in use while the project is running. The following automations show:

Getting the Key property value

 

Setting the Key property value

 

Related information

Handle KeyNotFoundException

Identifying Targets on MDI Child Windows

Setting or Activating a Key

Using the Upstream Key/Override Key

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label