Forum Replies Created

Page 6 of 20
  • Aditya

    Member
    August 30, 2020 at 6:32 am in reply to: How to gets len characters from the middle of a String in Apex?

    public with sharing class StringToDateConversion { public static Date ParsedDate (String DateString) { String values; String month; String year; String day; for(integer i = 0; i < DateString.length(); i++) { if(i<4) { year = DateString.substring(0,4); } if(i>=4 && i<=5) { month = DateString.substring(4,6); } if(i>=6 && i<=7) { day = DateString.substring(6,8); } } Date mydate = Date.newInstance(integer.valueOf(year),integer.valueOf(month),integer.valueOf(day)); return mydate; }}

  • Aditya

    Member
    August 30, 2020 at 6:27 am in reply to: Whats is the entry sources in Journey Builder?

    The Audience Studio entry source in Journey Builder lets you choose an audience from your Audience Studio account, then admit contacts from that audience into a journey in a batch. Configure the filter to control which contacts enter, or admit all contacts in the audience.

  • Aditya

    Member
    August 30, 2020 at 6:17 am in reply to: How to show field error in JS Controller in Salesforce?

    <div>

    1. *errorHandlingController.js*/
    2. {
    3. doAction : function(component) {
    4. var inputCmp = component.find("inputCmp");
    5. var value = inputCmp.get("v.value");
    6. // Is input numeric?
    7. if (isNaN(value)) {
    8. // Set error
    9. inputCmp.set("v.errors", [{message:"Input not a number: " + value}]);
    10. } else {
    11. // Clear error
    12. inputCmp.set("v.errors", null);
    13. }
    14. }
    15. }

    <button data-clipboard-text="/*errorHandlingController.js*/ { doAction : function(component) { var inputCmp = component.find("inputCmp"); var value = inputCmp.get("v.value"); // Is input numeric? if (isNaN(value)) { // Set error inputCmp.set("v.errors", [{message:"Input not a number: " + value}]); } else { // Clear error inputCmp.set("v.errors", null); } } } "></button>
    When you enter a value and click Submit, <samp>doAction</samp> in the contro

    </div>

  • Aditya

    Member
    August 22, 2020 at 10:07 am in reply to: where we can use vlookup function in salesforce?

    VLOOKUP lets you find data on a custom object in a formula. It takes three arguments: The first is which field from the custom object to return, the second is which field on the custom object to search by, and the third is the search key.

  • Aditya

    Member
    August 22, 2020 at 10:06 am in reply to: How to fetch OpportunityLineItem from Opportunity in Salesforce?

    when we query from parent -> child (i.e. from Opportunity to OpportunityLineItem), we don't store field information from the OpportunityLineItem on the Opportunity object. They are stored on the OpportunityLineItem object, and because an Opportunity can have more than one line item, they are stored in a List.

  • Aditya

    Member
    August 22, 2020 at 9:54 am in reply to: How to enable “floating report header” in Salesforce?

    Represents an opportunity line item, which is a member of the list of Product2 products associated with an Opportunity.

  • Aditya

    Member
    August 22, 2020 at 9:53 am in reply to: What is OpportunityLineItem in Salesforce?

    Represents an opportunity line item, which is a member of the list of Product2 products associated with an Opportunity.

  • Aditya

    Member
    August 22, 2020 at 9:36 am in reply to: What is benefit of PartnerPortalCommunity in Salesforce?

    A community allows your partner users to log in to Salesforce through a separate website and access data you've made available only to them. In a partner community, you can: Extend Salesforce to securely expose CRM data with partners. Recruit, onboard, and educate partners (training and certifications).

  • Reactor is not just a 1.0 to 2.0 Salesforce Marketing Cloud account migration tool, or even a business unit-to-business unit migration tool – though it is all of these things. ... Or, conversely, it can consolidate a number of Enterprise 2.0 accounts into a single Advanced account.

  • You can reduce your API usage by allowing your developer console session to "idle". Once idle, you'll only incur one API call per incident (such as saving a class, running a test). While not idle, the current implementation polls the server once every 6 seconds, or 10 API calls per minute while doing absolutely nothing.
    Also, using the Force.com IDE will drastically reduce your API calls, because you won't suffer from the "monitoring" API calls. Believe it, it makes a big difference.

  • Aditya

    Member
    August 19, 2020 at 8:48 pm in reply to: What is IdeaStandardController in Apex?

    deaStandardController objects offer Ideas-specific functionality in addition to what is provided by the StandardController .

  • Salesforce SharePoint Integration Using Microsoft Azure Service. The best cloud app platform Azure, and leveraging it to interact with SharePoint. If you'd like to use permission sets for managing user permissions, then go to In AppID you need to fill in the client ID that you generated when you configured SharePoint.

  • Aditya

    Member
    August 18, 2020 at 7:27 pm in reply to: How to parse JSON into apex in Salesforce?

    We can use the JSONParser class methods to parse JSON-encoded content. The methods of JSONParser class enable to parse a JSON-formatted response that's returned from a call to an external service, such as a web service callout

  • `%%[
    /* 101 */ Var @memid, @fname, @lname, @prefname, @address, @zip, @mempref, @plat
    Set @memid = MemberID
    Set @fname = FirstName
    Set @lname = LastName
    Set @prefname = PrefName
    Set @address = Address
    Set @zip = Zip
    Set @mempref = MemPref
    Set @plat = Plat
    /* 101 */
    ]%%%%= v(@fname) =%%, below are your account details
    First Name:%%= v(@fname) =%%Last Name:%%= v(@lname) =%%
    Preferred Name:%%= v(@prefname) =%% Address Address:%%= v(@address) =%%
    Zip:%%= v(@zip) =%% Member Preferences Shopping Preference:%%= v(@mempref) =%%
    Platinum Member:%%= v(@plat) =%%`

  • Aditya

    Member
    August 16, 2020 at 7:18 pm in reply to: What is Apex code similar to?

    Apex cover the syntax of Java so it is similar to java

  • Aditya

    Member
    August 16, 2020 at 7:16 pm in reply to: How to find the distance between two locations in Salesforce?

    Hi,
    We can find the distance between to location like distance shipping address and customer.
    <pre id="ext-gen39">DISTANCE( GEOLOCATION( BillingLatitude , BillingLongitude ), GEOLOCATION( Branch_Assigned__r.GeoLocation__Latitude__s , Branch_Assigned__r.GeoLocation__Longitude__s ) , 'mi')

  • Aditya

    Member
    August 16, 2020 at 7:07 pm in reply to: Can we access one JavaScript helper method on another helper method?

    helper function can be called from any JavaScript code in a component's bundle. To call another function in the same helper, use the syntax: These are standard parameters and you don't have to access them in the function

  • Aditya

    Member
    August 16, 2020 at 6:36 pm in reply to: In Salesforce Marketing Cloud, how to verify sender profile?

    Use the specified information - Enter the information manually in the From name and From email fields. The status automatically changes to verified when a From address matches the accounts SAP domain. To start the domain verification process, select Verify.

  • Aditya

    Member
    August 12, 2020 at 2:58 pm in reply to: What are the steps to be followed for SOAP Integration in Salesforce?

    Use of the SOAP API in Salesforce:
    create a WSDL file in org
    Install SoapUI for creating Projects from WSDL file
    Login Trailhead playground in SOAP API
    Insert Account by SOAP API

  • Aditya

    Member
    August 12, 2020 at 2:53 pm in reply to: What are the steps to expose SOAP services in Salesforce?

    <div>Expose a Class as a SOAP Service
    Making your Apex class available as a SOAP web service is as easy as with REST. Define your class as global. Add the webservice keyword and the static definition modifier to each method you want to expose. The webservice keyword provides global access to the method it is added to.
    </div>

  • Aditya

    Member
    August 12, 2020 at 2:52 pm in reply to: What are the steps to be followed for SOAP Integration in Salesforce?

    <div aria-level="3" role="heading">Use SOAP API
    <div>

    1. Generate a WSDL file for your org.
    2. Use SoapUI to create a SOAP project from the WSDL file.
    3. Log in to your Trailhead Playground using SOAP API.
    4. Create an account using SOAP API.

    </div></div>

  • Aditya

    Member
    August 12, 2020 at 2:51 pm in reply to: What are the Business Unit Filters in Salesforce Marketing Cloud?

    A filter, defined by the admin for each business unit, controls access to the subscribers for child accounts. The filter selects subscribers for a business unit based on values in the subscriber attributes. Note In an Enterprise 2.0 account, you can create subscriber attributes only in the parent account.

  • Aditya

    Member
    August 10, 2020 at 8:09 pm in reply to: How Can we migrate Code from one org to another org in Salesforce?

    we can migrate Code from one org to another org in Salesforce by using ANT Migration tool

  • You can't create a master-detail relationship if the custom object already contains data. You can, however, create the relationship as a lookup and then convert it to master-detail if the lookup field in all records contains a value.

  • Junction object records are deleted when either associated master record is deleted and placed in the Recycle Bin. If both associated master records are deleted, the junction object record is deleted permanently and can't be restored.

Page 6 of 20