Re: fetch record fields property name (775 Views)
Reply
Valued Contributor
DongZ
Posts: 35
Registered: ‎03-12-2013
Message 1 of 4 (815 Views)
Accepted Solution

fetch record fields property name

Hi, 

 

I've found there are two column of record available for search which are:

 

Container Title 

Internet Media Type

Is a Container

 

I need to add three column into SpecificationProperty. 

 

How can I get the property name of them? I tried using ListProperty("record"), but it doesn't return the three column fields.

 

Thanks.

Valued Contributor
DongZ
Posts: 35
Registered: ‎03-12-2013
Message 2 of 4 (775 Views)

Re: fetch record fields property name

Worked it out. Here is a list of all about record property: 

 

record property
-------------------------
attachedLabels
dateLastUpdated
uri
url
recAccessControl
recAccessionNumber
recActions
recAddressee
recAllContacts
recAllExternalAuthorities
recAllHolds
recAllMeetings
recAllParts
recAllVersions
recAlternativeContainer
recAlternativeContainers
recAlternativeContents
recArchiveInterimDate
recArchiveLocalDate
recArchivePermDate
recArchiveSystem
recAssignee
recAssigneeStatus
recAttachedKeywords
recAuthor
recAuthorityItemCount
recAuthorityItemsDestroyed
recAuthorityItemsURL
recAuthorityLogFolder
recAuthorityLogRecordType
recAutoRenderStatus
recBarcode
recBlueprintTitle
recBypassRecordTypeAccessControls
recCheckedOutOn
recCheckedOutPath
recCheckedOutTo
recClassification
recClassOfRecord
recClient
recConsignment
recContainer
recContents
recCreator
recCurrentAction
recCurrentVersion
recDateAssigned
recDateClosed
recDateCreated
recDateDue
recDateFinalized
recDateImported
recDateInactive
recDateModified
recDatePublished
recDateRegistered
recDeleteAuthoriser
recDeletesNeedsAuthorisation
recDestructionDate
recDisposition
recDispositionChangedDate
recDispositionSchedule
recDocumentAttachPending
recDocumentDetails
recDocumentSize
recDocumentStatus
recDocumentType
recEnablerFlags
recESource
recEStore
recEStoreId
recExtension
recExternalReference
recFilePath
recFinalizeOnSave
recFolderOrigin
recForeignBarcode
recFullClassification
recGeneratedTitle
recHasEmailAttachments
recHasHold
recHasLinkedDocuments
recHistory
recHomeLocation
recHomeLocationStatus
recHomeSpace
recHomeSpaceNumber
recIdolMetadataXML
recIsCheckedOut
recIsContainer
recIsElectronic
recIsEnclosed
recIsInPartSeries
recIsRootOfPartSeries
recIsSigned
recJurisdictions
recKeywords
recLastActionDate
recLastPartRecord
recLatestVersion
recLongNumber
recMakeInactiveDate
recManualDestructionDate
recMediaType
recMeeting
recMimeType
recMovementHistory
recNbrPages
recNeedsDataEntryForm
recNewPartCreationRule
recNextPartRecord
recNextTaskDue
recNotes
recNumber
recOriginatedFrom
recOriginatedFromRun
recOtherContact
recOverdueActions
recOwnerLocation
recPreserveHierarchyOnDataEntry
recPrevPartRecord
recPrimaryContact
recPriority
recRecordsAuthorityID
recRecordType
recRedactedFrom
recRedactionsOf
recRelatedRecord
recRelatedRecs
recRenditionCount
recRepresentative
recRequests
recRetentionSchedule
recReturnDueDateTime
recReviewDate
recRevisionNumber
recRootPartRecord
recSecurity
recSecurityLocks
recSeriesRecord
recSpFarmGUID
recSpGUID
recSpListItemCount
recSpListType
recSpSiteCollectionGUID
recSpType
recSpURL
recSuggestedFileName
recTitle
recTopLevelActions
recTypedTitle
recViewPaneId

Occasional Advisor
Mehul Mehta_1
Posts: 6
Registered: ‎02-03-2009
Message 3 of 4 (605 Views)

Re: fetch record fields property name

Excellent work, very handy and helpful.

Thanks.

Regular Advisor
Ralf_Wegener
Posts: 131
Registered: ‎08-21-2010
Message 4 of 4 (557 Views)

Re: fetch record fields property name

[ Edited ]

TRIMSDK.NET is slight different as per below example.

 

PropertyOrFieldDef[] propOrFields = PropertyOrFieldDef.GetDataGridPropertiesOrFields(trimDatabase, BaseObjectTypes.Record); // A few overrides to choose from.

 

e.g:

 

For Records

 

- RecordAddressee

- RecordTypedTitle

- RecordAuthor

 

For Location

- LocationSortName

- LocationLogsInAs

 

object objPropValue= TrimObject.GetProperty(propertyOrFieldDef.PropertyId) // not stock properties.

 

 

Cheers

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.