ChewCheeLim

AFElementTemplate.FindElementTemplate failed with Null exception

Discussion created by ChewCheeLim on Mar 23, 2012
Latest reply on Mar 26, 2012 by ChewCheeLim

I have this line of code to find a specific AFTemplate. I only have the GUID or Template Key but nothing else.. Hence, this is what I am doing. Any idea? Thanks.

 

AFElementTemplate

 

 

.FindElementTemplate(m_afDb.PISystem, new Guid("512cfe1d-54ab-4610-b2b2-cc7acffa8b21"));

Outcomes