Views:

Description

Opens an entity form for either an existing record or to create a new record.

Signature

OpenEntityForm('name', 'id', 'parameters')

Example 1

Open a specific account record

OpenEntityForm('account', '10124ac3-0f6f-40dd-be64-d8c0bc5dbfbd')

Example 2

Open a new account record setting the name field

OpenEntityForm('account', 'null', SetAttribute('name', 'North52'))

Example 3

Open a new contact with its Parent Customer set 

OpenEntityForm(
  'contact',
  'null',
  SetAttribute('parentcustomeridname', 'Mikes Account'),
  SetAttribute('parentcustomerid',
    '10124ac3-0f6f-40dd-be64-d8c0bc5dbfbd'
  ) ,
  SetAttribute('parentcustomeridtype', 'account' )
) 

Example 4

Open a specific account record with a specific form

OpenEntityForm(
  'account', 
  '10124ac3-0f6f-40dd-be64-d8c0bc5dbfbd', 
  SetAttribute('formid', '89124ac3-033f-55dd-b994-22c11c5dbfbd')
)

Parameters

Name Type Description Required
controlname xxxx xxxx xxxx
entitylogicalname xxxx xxxx xxxx
nameofview xxxx xxxx xxxx
FetchXml xxxx xxxx xxxx
LayoutXml xxxx xxxx xxxx
isDefault xxxx xxxx xxxx

Microsoft APIs

This North52 function relates to the following Microsoft APIs: