Questions tagged [create-records]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Standard object page “not supported on mobile device” in Salesforce1

In a bit of a bind here. I have just created a new, totally standard custom object in my Spring'14 DE, and added three fields to it with no problem (lookup to contact, number, text). I assigned it a ...
4
votes
0answers
1k views

lightning:inputField as lookup missing “New Record” option

Is it just me or is the lightning:inputField component missing the "New Record" option when it's rendered as a lookup? Right now I have to type a value in the lookup field, hit enter, and wait for ...
1
vote
1answer
3k views

Callback after the record was created using e.force:createRecord

Are there a way to add callback after the user created a record and clicked the Save button? I am using a custom tab and custom components and open the Create a record modal window using e.force:...
0
votes
2answers
90 views

Create no more than one record of particular type per day

I've created a custom object for Leaves which allows the users under my org to apply for leaves. I've added three types of leaves such as Casual Leave, Sick Leave & Leave without Pay. I've used an ...
8
votes
4answers
16k views

How to retrieve or deploy Custom Metadata Records by ANT Migration Tool?

How to retrieve or deploy Custom Metadata Records by ANT Migration Tool? Is this possible? I guess it should be possible if this is available for packages and changesets but can't find a way ...
1
vote
1answer
170 views

How to insert a record via lightning compenent?

I am new in lightning and trying my hands on it,but get stuck where i simply want to insert a record after creating the page of app. here is my code :- Component` <aura:component implements = "...
0
votes
1answer
4k views

How to automatically create a new record in another object [closed]

Whenever a new Account record is created, automatically a new contact record should be created.Need to use the instance of contact object and you can populate the required fields and ignore the rest....
0
votes
2answers
301 views

How to create a business account with the REST API

I can create a person account using the REST API, but I can't seem to find any documentation on how to create a business account. I imaging that the post items you send need to include something extra ...
0
votes
1answer
2k views

force:createRecord - setting default values dynamically

I have a requirement where I need to set the defaultFieldValues dynamically (both field name & value). How can I achieve that? var createRecordEvent = $A.get('e.force:createRecord'); if ( ...
-2
votes
1answer
2k views

Prepopulate lookup field in e.force:createRecord

I am trying to complete Lightning Framework specialist superbadge in trailhead and under challenge 2, I came across the following If a Boat Type is selected, the new Boat record defaults to the ...