Default template on lazy loaded screens

I created the template to automatically add the role to Business partner on record creation.
<xsl:template match="/">

<xsl:apply-templates select=“ROOT”/>


	<xsl:template match="ROOT">
			<Id><xsl:value-of select = "AS:GenerateId()"/></Id>

The screen works preetty well until I add the default template on it.

After that I get the “Object reference not set to an instance of an object” error message.

Because the screen does work by this way too,

I suspect it can be caused by the combination of lazy loaded screen with the default template.

Fixed in the latest builds.

1 Like