Error Occurs When Triggering an Action Button

How Can We Help?

< Back

Issue

Object reference not set to an instance of an object. Even tried to remove and recreate the command options button in XMDesigner.

Resolution

The cause is the name change of the activity: From TAB_TE20Test to TE20Test.

When changing the activity name make sure the following are changed:

  • Dynamic Description method name must be [ActivityName]_DynamicDescription() i.e. TE20Test_DynamicDescription(), which can be found in Activity Properties window > Identification > Dynamic Description

  • Activity OnLoad / OnRefresh method name must be [ActivityName]_OnLoad() / [ActivityName]_OnRefresh() i.e. TE20Test_OnLoad(), which can be found in Activity Properties window > Content Definition > Managed Activity

Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X