I am trying to compile the list of System Owned Fields and display it. I am seeing an error which states Object required: 'entityDefObj.IsSystemOwnedFieldDefName(...)'.
changedcount = 0
set sessionObj = GetSession
entityDefName = GetEntityDefName
set entityDefObj = sessionObj.GetEntityDef(entityDefName)
' Get a list of the fields in this record type...
fieldnames = GetFieldNames
' Loop through the fields, showing name, type, old/new value...
if IsArray(fieldnames) Then
i = LBound(fieldnames)
Do While i <= UBound(fieldnames)
set FieldType = entityDefObj.IsSystemOwnedFieldDefName(fieldnames(i)) **** ERROR HERE ****
If FieldType = false Then
M = fieldnames(i) & ", "
U = fieldnames(i) & ", "
i = i + 1
M = "System Fields" & M
I have no idea what is the cause and the way out of it. Any help?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
2 replies Latest Post - 2013-02-13T06:37:03Z by jnbharadhwaj
Pinned topic System Owned Fields Listing - IsSystemOwnedFieldDefName
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-13T06:37:03Z at 2013-02-13T06:37:03Z by jnbharadhwaj