function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RajnisfRajnisf 

e.force:createRecord works different in lightning component

Hi Guys,
I am trying to call standard create new group (CollaborationGroup) action in lightning component for experience builder (Community)
In standard new button once we put group name, access type etc it ask for "Save and Next" button and next page ask to upload group image whereas when i use e.force:createRecord in lightning it display only one screen group name etc and just save button does not show next page to upload group image.

 NewGroup : function (component, event, helper) {
    var createRecordEvent = $A.get("e.force:createRecord");
    createRecordEvent.setParams({
        "entityApiName": "CollaborationGroup"
    });
    createRecordEvent.fire();



Thanks
RajnisfRajnisf
In lightning component snapshot:
In lightning component there is no next screen

Standard new button snapshot:

User-added image
 
rob will 5rob will 5
Online surveys are very popular at present. The McDVoice mainly aims at knowing the feeling of its customers when they have visited one of the stores or restaurants of McDonald's. McDVOICE Survey gives you a chance to enjoy the free meals at McDonald's and is a customer satisfaction survey. https://mcdvoice.win