I’ve added a “Add New Case” button to a detail view.
The Button has actions to:
- Add new row to the case data model
- Update the case data model RecordTypeId to the SObject RecordType 18 char ID
(For this I made a model of the RecordType SObject, and “Case” as the Sobject Type Name which shows the record type name and record type ID)
(I tried this with an update model action hardcoded to the 18 char ID, and previously via a RecordType Model and a JS snippet)
Trying to save the record gives me a red error message saying “Could Not Match Reference to Record Type d:Record Type ID”
How do you pre-specify the record type? For us, the record type is not a user selectable item.
Thanks
Question
Specify Record Type when adding a new row to a model?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


