• Yash Kumar Gupta
  • NEWBIE
  • 60 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 12
    Questions
  • 7
    Replies
Hi All,
I have added standard report in the community and I have try to add CSS but I am not able hide it because that report is under <iframe> tag. Is there any workaround or solution to hide these button from standard report ?
User-added image
Hi All,
I have added standard report in the community and I have try to add CSS but I am not able hide it because that report is under <iframe> tag. Is there any workaround or solution to hide these button from standard report ?

User-added image   
Hi Guys, 
I have created custom field "Is_Created_From_Component__c" on Activity object. When ever I tried to use it in where clause salesforce throw me "internal error".
(SELECT Id FROM Task WHERE Is_Created_From_Component__c = true ) 

Hi all,

Can we check the given username is available to use in all existing salesforce orgs? 

if not possible, can provide me salesforce documentation around this.

thanks in advance !

Hi All,
There is way we can create folder in local system by using Aura/ LW component or using heroku. 
Hi All
I refere "https://help.salesforce.com/s/articleView?id=000321501&type=1" this article and they mention If your org is not on a Public Cloud instance and you would prefer not to allow Public Cloud IP ranges, you do not need to allow Public Cloud (Canada, Australia) IP ranges. And also they have mention 
Please be reminded that our best practice and recommendation is to allow the entire list of Salesforce IP ranges for seamless access.
Which create confusion so can you help me in this Do I need to mention IP range under APNIC, Australia (Public Cloud) and RIPE region even my instance is located at America region  ?
Hi All ,
Do we need to whitelist all IP Address APNIC, Australia (Public Cloud) and RIPE region even my instance is located at America region  ?

Hi All, 

I am unable to debug (TypeError: Error in $A.getCallback() [a.hf.props[b] is undefined]
Callback failed: apex://ForemanDailyTimeCard_CC/ACTION$getYellowCardEquipmentSummaryRecord)
 error.
Can somebody explain why this issue occurred?

Hi all,  
I need to make a component which downloads the file. Which also work in salesforce mobile app.

I have already used the "sfc/servlet.shepherd/version/download/" which not working  in salesforce mobile app
Hi all, 
can anyone tell me how to show time in 24 hour format in 
lightning input "type DateTime" which also "EDITABLE" ? If not possible any another way to show it...
Hi All,
I have instance URL and access token of scratch org which is created on another matchine. Can anyone tell me how to open it with CLI command?
Hi All,
can any tell how to give enter inside between Hi and Every One
<text> Hi Every One </text>
 
Hi All,
I have added standard report in the community and I have try to add CSS but I am not able hide it because that report is under <iframe> tag. Is there any workaround or solution to hide these button from standard report ?
User-added image
Tempate:

<template>
<lightning-card title="New Connection Registration" icon-name="standard:investment_account">
<div>
<lightning-input label="Consumer Name" name="consumerName" type="text" value={formfields.Consumer_Name__c} onchange={changehandle}></lightning-input>
<lightning-input label="Father Name" name="fatherName" type="text" value={formfields.Father_Name__c} onchange={changehandle}></lightning-input>
<lightning-input label="Mobile Number" name="Phone" type="number" value={formfields.Mobile_Number__c} onchange={changehandle}></lightning-input>
<lightning-input label="District" name="district" type="text" value={formfields.District__c} onchange={changehandle}></lightning-input>
<lightning-input label="Mandal" name="mandal" type="text" value={formfields.Mandal__c} onchange={changehandle}></lightning-input>
<lightning-input label="Pin Code" name="pincode" type="number" value={formfields.Pin_Code__c} onchange={changehandle}></lightning-input>
<lightning-input label="Purpose of Supply" name="purposeofsupply" type="text" value={formfields.Purpose_of_Supply__c} onchange={changehandle}></lightning-input>
<lightning-input label="Address" name="address" type="text" value={formfields.Address__c} onchange={changehandle}></lightning-input>
<lightning-input label="Aadhar Number" name="aadhar" type="number" value={formfields.Aadhar_Number__c} onchange={changehandle}></lightning-input>
<lightning-input label="Contract Load" name="contractload" type="number" value={formfields.Contract_Load__c} onchange={changehandle}></lightning-input>
<br/>
<lightning-button label="Submit" onclick={handleSubmit} variant="Destructive" ></lightning-button>
</div>
</lightning-card>
</template>

Controller:

import { LightningElement } from 'lwc';
import { createRecord } from 'lightning/uiRecordApi';
import NEW_CONNECTION_OBJECT from '@salesforce/schema/New_Connection__c';
import Consumer_Name_FIELD from '@salesforce/schema/New_Connection__c.Consumer_Name__c';
import Father_Name_FIELD from '@salesforce/schema/New_Connection__c.Father_Name__c';
import Mobile_Number_FIELD from '@salesforce/schema/New_Connection__c.Mobile_Number__c';
import District_FIELD from '@salesforce/schema/New_Connection__c.District__c';
import Mandal_FIELD from '@salesforce/schema/New_Connection__c.Mandal__c';
import Pin_Code_FIELD from '@salesforce/schema/New_Connection__c.Pin_Code__c';
import Purpose_of_Supply_FIELD from '@salesforce/schema/New_Connection__c.Purpose_of_Supply__c';
import Address_FIELD from '@salesforce/schema/New_Connection__c.Address__c';
import Aadhar_Number_FIELD from '@salesforce/schema/New_Connection__c.Aadhar_Number__c';
import Contract_Load_FIELD from '@salesforce/schema/New_Connection__c.Contract_Load__c';
export default class NewRegistration extends LightningElement {
    formFields={
        Consumer_Name__c:'',
        Father_Name__c:'',
        Mobile_Number__c:'',
        District__c:'',
        Mandal__c:'',
        Pin_Code__c:'',
        Purpose_of_Supply__c:'',
        Address__c:'',
        Aadhar_Number__c:'',
        Contract_Load__c:''
    }
    changehandle(event){
        const {value, name} = event.target
        this.formFields={...this.formFields,[name]:value}
    }
    handleSubmit(){
        const fields = {};
        fields[Consumer_Name_FIELD.fieldApiName]=this.formFields.Consumer_Name__c;
        fields[Father_Name_FIELD.fieldApiName]=this.formFields.Father_Name__c;
        fields[Mobile_Number_FIELD.fieldApiName]=this.formFields.Mobile_Number__c;
        fields[District_FIELD.fieldApiName]=this.formFields.District__c;
        fields[Mandal_FIELD.fieldApiName]=this.formFields.Mandal__c;
        fields[Pin_Code_FIELD.fieldApiName]=this.formFields.Pin_Code__c;
        fields[Purpose_of_Supply_FIELD.fieldApiName]=this.formFields.Purpose_of_Supply__c;
        fields[Address_FIELD.fieldApiName]=this.formFields.Address__c;
        fields[Aadhar_Number_FIELD.fieldApiName]=this.formFields.Aadhar_Number__c;
        fields[Contract_Load_FIELD.fieldApiName]=this.formFields.Contract_Load__c;
       
        let recordInput={apiName:NEW_CONNECTION_OBJECT.objectApiName, fields};
        createRecord(recordInput).then(result=>{
            this.formFields={}
            console.log('New Connection Created Successfully', JSON.stringify(result.id))
        }).catch(error=>{
            console.error(error)
        })
    }
}


Error during LWC component connect phase: [Cannot read properties of undefined (reading 'Consumer_Name__c')]. I am getting this Error, Could you please help me on this
The field is populated with text that is semi colon (;) seperated values. I want to create a new task based on each delimited value. 

I am able to change the format of the data populating the field if needed. 
Hi All,
There is way we can create folder in local system by using Aura/ LW component or using heroku. 
Hi All ,
Do we need to whitelist all IP Address APNIC, Australia (Public Cloud) and RIPE region even my instance is located at America region  ?
what is the Impact of My Domain name change in Salesforce? will it change custom url's automatically after the domain name changes