Constructors
NSUserDefinedFieldInfoAgent()
Methods
ChangeFieldType(NSUserDefinedFieldInfo,Integer,Bool)
Creates a UserDefinedFieldInfo based on a owner-entity IDCreateDefaultUserDefinedFieldInfo()
Sets default values into a new NSUserDefinedFieldInfo.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateUserDefinedFieldInfo(Integer,Integer)
Creates a UserDefinedFieldInfo based on a owner-entity IDDeleteUserDefinedFieldInfo(Integer)
Deletes the NSUserDefinedFieldInfoDetectColumnIdChanges(Integer)
Detects columnid changes to the admin version (for determining publish warning)DetectUnpublishedChanges(Integer)
Detects changes to the admin version (unpublished)FigureOutListIdFromListTableIdAndUDListDefinitionId(NSUserDefinedFieldInfo)
Kind of the reverse of SetListTableIdAndUDListDefinitionIdFromSelectedListIdGetChangedPageOneFields(Integer,Integer)
Gets which page-one fields have changed from the current versionGetCustomFieldInfo(String,String)
Returns information about a particular custom field (user-defined + extra) on a particular tableGetCustomFieldInfoList(String,Bool)
Returns information about all the custom fields (user-defined + extra) on a particular tableGetPublishedUserDefinedFieldFromFieldLabel(String,Integer)
Returns information about the given user defined field identified by the owner and the field label.Field labels are fuzzy. Leading and trailing spaces and punctuation are ignored.
GetPublishedUserDefinedFieldFromProgId(String,Integer)
Return information about the given user defined field identified by the owner and the prog-id.The prog-id is used as the key in the entity carriers.
GetPublishedUserDefinedFieldList(Integer)
Return information about all the user defined fields on a particular owner type (project, contact, person, etc).GetPublishedUserDefinedPageOneFields(Integer,Integer)
Gets a list of page one fields for given Udef type and current user groupGetUserDefinedFieldFromFieldLabel(String,Integer)
Return information about the given user defined field identified by the owner and the field label.Field labels are fuzzy. Leading and trailing spaces and punctuation are ignored.This may be different than the currently published fields.
GetUserDefinedFieldFromIds(Integer[])
Returns an given array of user defined field identified by the IDs.GetUserDefinedFieldFromProgId(String,Integer)
Returns information about the given user defined field identified by the owner and the prog-id.The prog-id is used as the key in the entity carriers. Note this may be different than the currently published fields.
GetUserDefinedFieldFromProgIds(String[],Integer)
Return an given array user defined field identified by the owner and the prog-ids.The prog-id is used as the key in the entity carriers. Note this may be different than the currently published field layout.
GetUserDefinedFieldInfo(Integer)
Gets an NSUserDefinedFieldInfo object.GetUserDefinedFieldList(Integer)
Return information about all the user defined fields on a particular owner type (project, contact, person, etc).Note this may be different than the currently published fields.
GetUserDefinedPageOneFields(Integer,Integer)
Gets a list of page one fields for given Udef type and current user groupIsAnyPublishEventActive()
Checks if any publish events are activeIsPublishEventActive(Integer)
Checks if the publish event is active for the given type.Publish(Integer)
Publish changed Udef fields for the given owner typeRevert(Integer)
Revert changed Udef fields for the given owner type. All unpublished changes will be lostSaveUserDefinedFieldInfo(NSUserDefinedFieldInfo)
Updates the existing NSUserDefinedFieldInfo or creates a new NSUserDefinedFieldInfo if the id parameter is 0SaveUserDefinedFieldInfos(NSUserDefinedFieldInfo[])
Saves an array of user defined fields. This will update the unpublished layout.SetListTableIdAndUDListDefinitionIdFromSelectedListId(NSUserDefinedFieldInfo,Integer)
Makes stuff similar to what happens in the win clientSetPageOneFieldGrouping(Integer,Bool)
Sets the Page One Field grouping for a specific entitySetPublishStartSystemEvent(Integer)
Sets the start flag for udef publishing. Must be called before PUBLISH, or PUBLISH will fail.Start flag is removed when publish process completes.