• GAURAV SETH
  • NEWBIE
  • 80 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 39
    Questions
  • 28
    Replies
Hi,
Can some one please suggest any Free AppExchange tool which can be used to export description of the fields from Standard and custom objects from Salesforce Org ?
I am able to search few of them but they have paid version to export description fields.

Thanks in advance
Hi Everyone, I have a requirement where we need to make more than 100 API calls in real time. As we all know that will hit governor limits.
We can't use Batch to call the API's . What is the best way to handle such situation ?
I am calling Java RestAPI from Salesforce Apex but getting that error :

System.HttpRequest retrying request in response to handshake failure: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I am using Self Signed Certificate as I don't have CA signed certificate.

When I hit the RestAPI from Postman, it works fine after adding Refered in the header but when I use it in Apex, it fails.
I know it is failing because the certificate should be uploaded on the receiver end.
Do we have any workaround for this ?
like adding below code. getting cookie from Postman session.

request.setHeader('Cookie', 'JSESSIONID=0000fDH4iAwQjy18Gxy6cu4OP7N:-1; LtpaToken2=cvh4vP20P/VAggVRbJrmzgHkvEpJ52tcnbJIxJ3hPX99+otkx4t8dkUC/5Wozd37jPfMv2I5+GMs+//1Dqo3vJU81SymbRIQBaftyv1Z5nILXoC44zZ0Q9CT2mvRsFj8IdLC0mMs2bK70jhSSv/AS38QyQZbXDFDc4h8OxVpyyTe5vlTQfjdM336i6tJ5SinnBSuMmCvCk/SvOa6qiVXMkT/Bq3oqvGKztjeDXnyFw1EOO3/FpoekvvdFNrD2T0wePAogFaP1AEWsQiqG5bOAgWkUwScF/8830GUTPKIej9uSGHv6GX8c8e1bOw/p4dYFAu1hOXOK2RoV8YGsAV3S7nsypv+tFxnbFzdgS5M/D7D2OijHWVPzjkmK8Od23HAa7Gi3AoEsxcKpia/fED4MbmVsE78SAdl0lRDzXL2W2Kr95baxh1CZyGfa9n/mNdlRh0UwmxIsyYlChnwhnIXW+AzFFSP1e0fJZbhOFxZVfNAfoakwWA/wslZQWmQy8YW//DXSSvePaEDsYjgOBl5ulI9NCG2YN322bo1xQk4W0c8HkWEuSgD/BuhV5XwDJNvmcehdL3MDVccVNbD611bC/PoIMs8t2leWKfqi6gTHnNxXpK/6Q2ezsUR7kETnEk+p7Bl7p4wEEaDSCQPz8lJeu38/rCKXvXggnaJN1VsvWAAOSBsTmkwCo8dksAsG2jEXhEpoYGkwBKHMxqV0W5sUA==')

I need it urgently. I will appreciate
When a status field for the  LDV (Large Data Volume) object is set to "Complete" data from the object and fields from related lookup objects needs to be sent to an on premise system. What are options and considerations for integration to the external system? 
I know best way to integrate LDV object is using Bulk API but should we do the same in the above scenario?
Hi ,
Can someone please tell me how many types of notifications exists in Salesforce like Email etc.?

Is there any link where I can read about all notifications which are allowed and details about them ?

Thanks,
Gaurav Seth
Universal containers is migrating to Salesforce from a legacy system with existing SMTP-based integrations.
What Salesforce platform capability should an Integration Architect consider?
A. Custom Apex class with webservice methods that implement the SMTP protocol.
B. Custom InboundEmailHandler to process the messages.
C. Lightning connect with an oData/SMTP interchange.
D. Custom Apex batch job to check for SMTP message

Can someone please help?
I need to migrate Einstein Bot from one of my Dev Org to Gitlab so that other developers can work .
Can someone please assist me how to achieve this ?
Can I do it using package.xml ?

Thanks,
Gaurav
I need to mark some fields mandatory in lightning component.
I am using required="true" but it is making field assignment wrong.

Here are the code:

 <div class="slds-form__item" role="listitem" >
                          <div class="slds-form-element slds-form-element_horizontal slds-is-editing">
                            <label class="slds-form-element__label" for="single-form-element-id-02">Start Date</label>
                             <div class="slds-form-element__control">
                              <lightning:input type="Date" aura:id="hearingStartDateId"
                                         name="hearingStartDate" min="{!v.MinDate}"
                                         value="{!v.newScheduleHearing.Start_Date__c}"
                                          required="true"    />
                              </div>
                          </div>
                        </div>
                         
                         <div class="slds-form__item" role="listitem" >
                              <div class="slds-form-element slds-form-element_horizontal slds-is-editing">
                                <label class="slds-form-element__label" for="single-form-element-id-02">End Date</label>
                            
                                <div class="slds-form-element__control" >
                                    
                                      <lightning:input type="Date" aura:id="hearingEndDateId"
                                         name="hearingEndDate" min="{!v.MinDate}"
                                         value="{!v.newScheduleHearing.End_Date__c}"
                                         />
                                </div>
                           </div>
                         </div>
                      </div> 
                       
                        <div class="slds-form__row">
                            
                            <div class="slds-form__item" role="listitem" >
                              <div class="slds-form-element slds-form-element_horizontal slds-is-editing">
                                <label class="slds-form-element__label" for="single-form-element-id-02">Location Code</label>
                                <div class="slds-form-element__control" >                                    
                                  <lightning:select name="hearingLocationCode" aura:id="hearinglocation"
               value="{!v.newScheduleHearing.Location__c.Location_Code__c}" label=""
                                                    required="true" >
                            <option value="">Choose One</option>
                            <option value="AHM">AHM</option>
                            <option value="ANA">ANA</option>
                            <option value="BAK">BAK</option>
                            <option value="EUR">EUR</option>
                            <option value="FRE">FRE</option>
                            <option value="GOL">GOL</option>
                            <option value="GRO">GRO</option>
                            <option value="LAO">LAO</option>
                            <option value="LBO">LBO</option>
                            <option value="MDR">MDR</option>
                            <option value="OXN">OXN</option>
                            <option value="POM">POM</option>
                            <option value="RDG">RDG</option>
                            <option value="RIV">RIV</option>
                            <option value="SAC">SAC</option>
                            <option value="SAL">SAL</option>
                            <option value="SBR">SBR</option>
                            <option value="SDO">SDO</option>
                            <option value="SJO">SJO</option>
                            <option value="SRO">SRO</option>
                            <option value="STK">STK</option>
                            <option value="VNO">VNO</option> 
                            <option value="WCK">WCK</option>                            
                        </lightning:select>  
                                </div>
                             </div>
                        </div>
                            
                            <div class="slds-form__item" role="listitem" >
                              <div class="slds-form-element slds-form-element_horizontal slds-is-editing">
                                <label class="slds-form-element__label" for="single-form-element-id-02">Type of Hearing</label>
                                <div class="slds-form-element__control" >
                                    
                            <lightning:select name="hearingType" aura:id="hearingType" 
                                          value="{!v.newScheduleHearing.Type_Of_Hearing__c}" label="">
                            <option value="">Choose One</option>
                            <option value="Expedited Hearing">Expedited Hearing</option>
                            <option value="Lien Conference">Lien Conference</option>
                               </lightning:select>
                                    </div>
                                </div>
                              </div>
                        </div>


mandatory field
Above image shows that Start date and Location code is not coming correctly. If I remove required="true" ,then it is visible correctly.

Thanks,
Gaurav Seth
I need to change the disabled checkbox in lightning.
Here is my code:

<td width="20">
                            <div class="slds-checkbox slds-truncate"/>
                            <aura:if isTrue="{!innerMap.Value[0]==false}">
                                <ui:inputCheckbox  aura:id="EightAM" value = "EightAM" change="{!c.selectoptionvalue}" />
                                <label class="slds-checkbox__label" for="checkbox">
                                    <span class="slds-checkbox_faux"></span>
                                    <span class="slds-form-element__label">8AM</span>
                                </label>
                                <aura:set attribute="else">
                                    <ui:inputCheckbox aura:id="checkbox1" class="dark-checkbox" value = "" disabled="true"/>
                                    <label class="slds-checkbox__label" for="checkbox">
                                        <span class="slds-checkbox_faux"></span>
                                        <span class="slds-form-element__label">   8AM    </span>
                                    </label>
                                </aura:set>
                            </aura:if>
                        </td>

Here is my css

.THIS .dark-checkbox{
    background-color: red;
}

But is not affecting.What am I missing?

Thanks,
Gaurav Seth
Hi,

I am creating a event object using apex trigger

if(eightAM == 'true') {
                                                      DateTime startDateTime = kstartDate;
                                                    DateTime ednDateTime = kendDate;
                                                        Event eventObject = new Event();
                                                        eventObject.OwnerId = userID;
                                                        eventObject.Location = location; 
                                                        eventObject.StartDateTime = startDateTime.addHours(8);
                                                        eventObject.EndDateTime =startDateTime.addHours(9);
insert eventObject;
}

If it is 8 AM, I am adding 8 hours to create event entry and it is getting inserted but Calendar always show time 4 hours less.

I have check the settings , my time zone and company profile time zone is same.How can I resolve this issue ?

Thanks,
I created a event record for 2 PM-3 PM but it is showing 10 AM on calendar.When I am running SOQL, it is showing the correct time.
DO we have to do some settings to fix that ?

Thanks,
Gaurav Seth
Missing Tile Menu images in migrated community. I can see those images in contentassets folder but not able to see in community.When I naviate to navigation item and went to Tile Menu-then can not see those images.

Can someone please help ? I am using package.xml for migration.
Need Help to migrate Communities , Roles, profile from Developer Edition org. We are using VS code and able to migrate all custom Objects, custom fields, visual force pages, apex classes etc using unmanaged package. Then we are using scratch orgs for development.
But Roles and communities are not a part of unmanaged package.
Can someone please tell me how to migrate these items so that we have all items?

What is the best way to accomplish that ?

Thanks,
Gaurav Seth
List<Event> lstevt =[Select Subject,StartDateTime, EndDateTime,Description from Event  where StartDateTime!=null  and StartDateTime = EndDateTime]
        This is not working , i need to select all event records where startdatetime=enddatetime