GetEntry
Returns the specified entry.
Parameters
EntryName. Specifies the entry name to be returned from the EntryGroup.
Return value
One of the following:
- CRMEntryBlock object if the specified entry exists.
- Nil object if the specified entry does not exist.
Examples
ThisPersonId = CRM.GetContextInfo('Person','Pers_PersonId');
ThisPersonRecord =
CRM.FindRecord('Person','Pers_Personid='+ThisPersonId);
PersonBlock = CRM.GetBlock('PersonBoxShort');
FirstName =
PersonBlock.GetEntry('Pers_FirstName');
FirstName.ReadOnly = true;
CRM.AddContent(PersonBlock.Execute(ThisPersonRecord));
Response.Write(CRM.GetPage());
Retrieves the pers_fistname entry from the PersonBoxShort EntryGroup and sets the entry to read-only.