New answers tagged

0

I don't think its directly possible. But one ope approach can be: Creating a new custom setting for that object and create fields(one for each record type of that object) Where we will store the value of the Last number lets say(0001). Same for other record types. Create a new Text field on the object(Make it read-only for all the users) and in before insert ...


0

You can use the recordTypeInfo.name follow this code import { LightningElement, api, track, wire } from 'lwc'; import { getRecord } from 'lightning/uiRecordApi'; export default class WireFunction extends LightningElement { @api recordId; @track record; @track error; @wire(getRecord, { recordId: '$recordId', fields: ['Account.Name'] }) ...


2

Generally speaking, no, record types do not add any significant processing time by themselves. They are not generally subject to record locks like many types of parent objects, nor do they do anything much beyond restricting available picklist values. I will not say that the performance difference is definitely exactly zero, but it's close enough that the ...


0

The form needs to reload in order to detect the change in record type: <apex:inputField value="{!Case.RecordTypeId}"> <apex:actionSupport event="onchange" /> </apex:inputField>


1

The only thing the administrator can do is to set only one active record type for the user. This would bypass the record type selection screen automatically. There's no way to access Personal Preferences via an API.


0

This can't be done as part of the leadConvert method, so you'll have to write separate automation on the Lead object that fires when the lead conversion is complete. You can then reference the ConvertedOpportunityId field in the Lead to find the opp and change the record type. See Lead Object documentation for info on IsConverted and ConvertedOpportunityId ...


3

If you ask the REST API to describe an object's schema, or perform a SOQL query or an object retrieve by Id, all fields are exposed to you. More precisely, a describe will tell you about all fields your authenticated user has permission to see, and you may in a query or retrieve specify any of those fields, all regardless of the record type. If you talk to ...


Top 50 recent answers are included