• MeetaGulati
  • 5 Points
  • Member since 2011

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
  • 10
Our pardot sync queue from Salesforce connector keeps blowing up and chokes up .... Does anyone know how to control the feed through the queue so it doesn't choke up ? 
In Field service lightning is it possible to configure an email having URL that allows customer to change / update their appointment without logging in with a username/password ?



We have a list of records showing up in the first screen of a flow in a multi-select checkbox... based on the selection user makes on this screen we need to dynamically create Next screens of the flow processing each selected record one by one.. ... Is this possible?


I have been seeking help from both Salesforce and Pardot. I need to have Salesforce set up to only filter new leads into Pardot. The conversation got to the point with Salesforce and Pardot where they have asked me to put post my query here so that a developer can assit me. 

I look forward to receiving your help.

Salesforce has recommended the following:

1) If you only want to transfer certain Leads or Contact into Pardot from Salesforce, we need to write a trigger to delete the ObjectChangeLog (OCL) that are trying to create and are contacts.
2) ObjectChangeLog – this is the custom object installed with Pardot’s AppExchange package. Its primary purpose is to auto-create prospects in Pardot when new leads or contacts (or person accounts) with an email address are created in Salesforce, or when they are updated to add a new email address (not change an existing one) at some point after the initial creation. It is also responsible for marking prospects [[CRM_Deleted]] when their corresponding CRM record is removed in Salesforce. The Pardot AppExchange package in Salesforce uses triggers (LogLeadChange, LogContactChange, and LogAccountChange) to create an ObjectChangeLog record every time a creation event occurs in Salesforce. The ObjectChangeLog record is then read by the Pardot connector, deleted, and a new prospect is created in Pardot based on the information from that record.
3) As informed by Pardot support in-order for certain Contacts not to sync in Pardot from Salesforce CRM user should also not have access to that record in Salesforce for which they advised to create a sharing rule, according to below pardot article link
Article link: http://help.pardot.com/customer/en/portal/articles/2127279-when-do-leads-sync-with-the-crm-
"Leads and Contacts with the same email address: If there is a lead and a contact in SugarCRM or Salesforce, the prospect in Pardot will sync with the contact by default."
However we checked that you only have 3 users in your system and 2 are system admins so by making Contact private and creating sharing rule may not help as system admins will have View all permissions and they will be able to view all Contacts records and as they able to view on Salesforce it will automatically sync in Pardot.
As suggested earlier by Pardot this may be possible by creating a trigger to delete the ObjectChangeLog (OCL) that are trying to create and sync contacts/prospects, which needs developer intervention. So, I suggested you to post a question under developer forum.
Developer support is currently available only to our premier customers and partners. We apologize for any impact this may be having on you. As you have Standard support, we will close the case at this time.
We support our standard customers and partners through the developer support boards at https://developer.salesforce.com/.
If you have a developer support question, are looking for technical documentation, best practices, code samples and other ways to speed your development time the developer forums are the place for just that. We have dedicated support agents that work the boards to answer questions and review questions to ensure that you get a response.
The developer discussion boards can be accessed directly at https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS
To log into the developer forums you can use your salesforce username and password.
There are also many other great resources for developers such as:
1. Developer Workbooks can be accessed directly at http://developer.force.com/workbooks
2. Code Samples and Best Practices can be found here http://developer.force.com/cookbook
3. Salesforce.com Developer Documentation can be found here: http://wiki.developerforce.com/page/Documentation
4. Salesforce live streaming channel: CodeTalk Live : http://developer.force.com/codetalk
Rakhi Bais
Success Agent
Technical Support
Challenge - Create a form to enter new items and display the list of items entered. To make our camping list look more appealing, change the campingHeader component to use the SLDS. Similar to the unit, style the Camping List H1 inside the slds-page-header. Modify the campingList component to contain an input form and an iteration of campingListItem components for displaying the items entered.
The component requires an attribute named items with the type of an array of camping item custom objects.
The component requires an attribute named newItem of type Camping_Item__c with default quantity and price values of 0.
The component displays the Name, Quantity, Price, and Packed form fields with the appropriate input component types and values from the newItem attribute.
The JavaScript controller checks to ensure that the Name, Quantity and Price values submitted are not null.
If the form is valid, the JavaScript controller pushes the newItem onto the array of existing items, triggers the notification that the items value provider has changed, and resets the newItem value provider with a blank sObjectType of Camping_Item__c.

My answer - 
<aura:component >
<aura:attribute name="items" type="Camping_Item__c[]"/>
<aura:attribute name="newitem" type="Camping_Item__c[]"  default="{ 'sobjectType': 'Camping_Item__c',
                   'Quantity__c'=0, 'Price__c'=0}"/>
        <ui:inputText value="{!v.newitem.name}"/>
        <ui:inputCheckbox value="{!v.newitem.Packed__c}"/>
        <ui:inputCurrency value="{!v.newitem.Price__c}"/>
        <ui:inputNumber value="{!v.newitem.Quantity__c}"/>

Error -

Challenge Not yet complete... here's what's wrong: 
The campingList component isn't iterating the array of 'items' and creating 'campingListItem' components.

Please share the correct solution.
Hi Folks,
          Can anyone give me the brief description about customer community plus license and how it differed from partner community license?
I have seen this site:https://help.salesforce.com/apex/HTViewHelpDoc?id=users_license_types_communities.htm&language=en_US
 But I cant understand what  they are telling between those two.

Thanks in advance



We have a list of records showing up in the first screen of a flow in a multi-select checkbox... based on the selection user makes on this screen we need to dynamically create Next screens of the flow processing each selected record one by one.. ... Is this possible?

Hello friends,


I have some understanding gap with customer portal role hierarchy.


I had read on wiki as below :

"When you enable a Customer Portal on an account, the system creates a role hierarchy for the account's portal users. The portal roles are unique for each account and include the account's name. For example, “Account A Customer User.” In your organization's overall role hierarchy, this account-specific hierarchy is directly below the account owner."


So lets say  Account A was created by a salesforce user having role 'YW'
So will customer portal role hirarchy created for account A will come under this role 'YW' or any salesforce role ??


Thanks You.



  • November 11, 2011
  • Like
  • 0

When redirecting to a page and passing the session as a parameter using UserInfo.getSessionId() I am getting invalid session id. This was working last week.

here is the apex code:

private String buildFP_URL()

        String serverUrl = 'https://' + ApexPages.currentPage().getHeaders().get('Host') + '/services/Soap/u/15.0/' + UserInfo.getOrganizationId().substring(0, 15);
        String sessionId = UserInfo.getSessionId();
        String oName = opp.Name;
        String encodedOname = EncodingUtil.urlEncode(oName , 'UTF-8');
        String fpServer = 'https://sbx.fpx.com';     
        return fpServer +'/login/connect.do?destination=quote"eName=' + encodedOname+ ' Quote&SfdcOpId=' + opp.Id + '&SfdcOpName=' + encodedOname+ '&SfdcServerURL=' + serverUrl + '&SfdcSessionID=' + sessionId;

is there a reason why the call UserInfo.getSessionId() would not return a valid session.

I have a formula field called 'Status' that assigns a Status to a record based on the value provided in a date field on the same record. Simply put the logic is: If Start Date is not null then Status equals 'Priority'. Otherwise Status equals 'Inactive'.

I have tested this pretty thouroughly  in the UI and haven't found any problems. 


I am using this object in a VF controller and I need to test both conditions...the records that are a Priority and the records that are Inactive. So my test inserts a bunch of records without a Start Date which means that none of them would be a Priority. I then try to update some of those records with a Start Date to test the other condition. Here is where I am running into trouble. For some reason, the formula is not evaluated. I have verified with system.debug that although there is a Start Date present on the records the Status field is still 'Inactive'. 


Does anybody know why the formula field would not fire in a test method?



Our client is looking to roll out 1100 iPad devices that will communicate with both internal web services and salesforce.com web services outside the corporate firewall with these additional specifications:

1. The salesforce service must be able to identify the end user to achieve data security requirements
2. It is desired to only require the user to enter/manage one set of credentials (EnterpriseWindows Active Directory)
3. It is desired to not require the user to go through the activation email process to confirm their identity
4. Current security requirements dictate that access to salesforce be restricted from any unknown/outside IP.

Delivering all of these requirements does not seem plausible given my understanding of the Salesforce API constraints. Any other folks out there have similar authentication challenges for enterprise customers?