User bio
404 bio not found
Member since May 1, 2023
Posts:
Replies:
Hi Gautam,
As it stands your class is not an object class (https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...).
In order to instantiate an object, make sure the class inherits from %RegisteredObject or a subclass of it.
We do this in ObjectScript as follows:
Class Sample.Header Extends %RegisteredObject
{
/// your code
}
Open Exchange applications:
Certifications & Credly badges:
![Managing InterSystems Servers Training](https://images.credly.com/images/22bc6230-efb1-4abf-aaa8-b720ee8d18c0/image.png)
![Developing Healthcare Integrations Training](https://images.credly.com/images/0c061213-6d3b-493e-a1b2-f526e3c0a1a9/image.png)
Global Masters badges:
![Reporter Badge](https://community.intersystems.com/sites/default/files/badges/reporter_badge_0.png)
![DC Author](https://community.intersystems.com/sites/default/files/badges/dc_author_0.png)
![DC Commenter](https://community.intersystems.com/sites/default/files/badges/dc_commenter_1.png)
![Bronze Commenter](https://community.intersystems.com/sites/default/files/badges/295959100-c193c40f-0952-4935-bea7-4317f796fbb7_0.png)
![InterSystems Certified Specialist](https://community.intersystems.com/sites/default/files/badges/certified_specialist_small_0.png)
![InterSystems Developer of the Year 2023](https://community.intersystems.com/sites/default/files/badges/developer_23.png)
![Breakthrough 2023](https://community.intersystems.com/sites/default/files/badges/breakthrough_23.png)
Followers:
Following:
Thanks!